Re: "global" variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Torsten,

Monday, March 1, 2004, 4:48:39 PM, you wrote:

TL> I build a small web interface to a database.

This should be on the PHP General list, not DB - but even so, I'll
answer your question:

TL> if(!isset($page_no))
TL>     {
TL>     $page_no = "login";
TL>     }

TL> I declared the $page_no in my
TL> #variables.php as
TL> $v_dec["page_no"] = $page_no.

You don't check $v_dec in your manage.php script though, you check to
see if $page_no is set which it never will be, because no-where do you
give it a value.

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux