[PHP] Re: naming conventions

2001-07-27 Thread Jeremy Maziarz
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 place_id

[PHP] Re: .htaccess

2001-07-24 Thread Jeremy Maziarz
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]

[PHP] Re: Code works in reverse order...

2001-07-18 Thread Jeremy Maziarz
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] Re: Just like to know

2001-07-18 Thread Jeremy Maziarz
." bla bla bla ".$somevar["foo"].$somevar[0]." 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]

[PHP] Re: Just like to know

2001-07-18 Thread Jeremy Maziarz
la 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]

[PHP] Re: LDAP compile problem.

2001-07-18 Thread Jeremy Maziarz
to /usr/local): $ ./configure [...all 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]