View Single Post
Old 07-01-2007, 5:07 PM   #4
erichmj
 
erichmj's Avatar
 
Posts: n/a
My Photos: ()

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Help needed on explaining a bit about Classes and HTML forms

umm, you wouldn't be using globals in classes anyway, all the variables
are inherited. as for retrieving variables from a form(i am assuming you
are encoding them to a url?) use $_GET['variablenameminus$']; or if you
are posting them $_POST['asldka;lsdk'];

hope it helps.

+e
http://nodist.com/

Warstar wrote:
> hi there,
>
> I just started on the php classes and i was a bit wondering how can i
> get global variables from the form into the class?
> (hope someone gets what i mean)
>
> Thnx allready,
> warstar


  Reply With Quote