RE: [PHP] Global varialbes in functions

From: Date: Sat, 04 Oct 2003 16:11:56 +0000
Subject: RE: [PHP] Global varialbes in functions
Groups: php.general 
Request: Send a blank email to php-general+get-165040@lists.php.net to get a copy of this message
Sorry, I just figured it out. The third function was getting it's data from a form submit using post and I didn't include a hidden input field with the $_GET[''] variable as a value. Jeff > -----Original Message----- > From: Jeff McKeon > Sent: Saturday, October 04, 2003 11:35 AM > To: php > Subject: [PHP] Global varialbes in functions > > > I've got a page that is passed the global variable > 'ticketnumber' in the url. > > In my first two functions on the page I can call this > variable using $_GET['ticketid'] no problem. > > However on the third funtion I get an undefined index error > for 'ticketid' > > Anyone know why? > > Thanks, > > Jeff > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#165040) next »