Jump to content


Photo

predefining an index?


  • Please log in to reply
1 reply to this topic

#1 Codeman0013

Codeman0013
  • Members
  • PipPip
  • Member
  • 20 posts
  • LocationCentral Illinois USA

Posted 21 September 2006 - 08:54 PM

Hey on one of my projects i keep getting undefined indexes because the user has to select a drop down value first how do i just give it a fake value like test or something ahead of time??
Remember to always look for those dang ; they can be a killer!

#2 Barand

Barand
  • Moderators
  • Sen . ( ile || sei )
  • 18,017 posts

Posted 21 September 2006 - 09:17 PM

www.php.net/isset
If you are still using mysql_ functions, STOP! Use mysqli_ or PDO. The longer you leave it the more you will have to rewrite.

Donations gratefully received






moon.png

|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users