Matthew,
The convention I use goes as follows:
[ I am doing this without testing as I go so if something is wrong,
don't sue me :P ]
Lets say I have two tables...
PEOPLE
people_id (primary key)
people_namefirst
people_namelast
people_namemiddle
people_age
place_id (foreign key)
PLACE
Jon,
Try $REMOTE_USER
-Jeremy
Email: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
other options...] --with-ldap=/usr/local
-Jeremy Maziarz
Email: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
[1] bla bla bla $somevar[foo]$somevar[1]
bla;
?
-Jeremy Maziarz
Email: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Dhaval,
Without looking into this further, the one thing that stands out to me
(I am pretty sure) is the fact that mysql_num_rows() returns an int. So
testing for (empty string) is not going to work. Try instead:
...
if ($check != 0)
...
-Jeremy Maziarz
Email: [EMAIL PROTECTED]
--
PHP
5 matches
Mail list logo