[PHP] multiple variables

2002-03-15 Thread Ralph Jarvis
Hi; An obvious question for some, but I am stumped: I want to use multiple optins in an "if" statement... if(user($arbitraryVariable)==(1 or 2 or 3 or 4)) What would be the proper syntax for this? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

[PHP] Re: cursor focus

2002-03-03 Thread Ralph Jarvis
; This is not a php question. It is a JavaScript issue. You need to add this > code to the bottom of your page: > > > document.forms[0].text_box_name.focus(); > > > -- > Gaylen > PHP KISGB v4.0.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ > > "Ralph J

[PHP] cursor focus

2002-03-02 Thread Ralph Jarvis
This is really a newbie question, but here goes. I am running PHP4 with Apache on Redhat 6.2. I am sure I read this somewheres, but can't find it again. When I open a webpage in a small password application that I wrote, the cursor is not on the first text box I need to fill in, I need to cl