|
RE: the new variables: msg#03563php.general
Do whatever you want, whatever is easier for you. I'd use $_GET['var'], personally, just because it's a waste of time and memory to assign it to another variable, plus you don't have to worry about passing variables to function, classes, etc... ---John Holmes... > -----Original Message----- > From: Tyler Longren [mailto:tyler@xxxxxxxxxxxxxxx] > Sent: Thursday, May 23, 2002 7:20 PM > To: php-general > Subject: [PHP] the new variables > > Hi, > > Just to prevent a bunch of non-helpful e-mails, I've already RTMF! > > Now, to the point. When using the new variables in php 4.2.x, how should > I > go about handling my variables? > > Should I just _print "$_GET[var]"_ every time I need to print $var to the > screen, or would it be better to just do this in an include file or at the > top of every page: > $var = $_GET[var]; > > Thanks! > tyler > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | publicfile, Casey Allen Shobe |
|---|---|
| Next by Date: | how to display a file's last updated time using php?, Rui Huang |
| Previous by Thread: | Re: the new variables, Philip Olson |
| Next by Thread: | publicfile, Casey Allen Shobe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |