RE: [PHP] What is the purpose of sessions extension?

2005-11-14 Thread Carlo Razzeto
unique session id's or identifying when a session has expired thus reducing code complexity and the DB load. Carlo Razzeto Programmer Mortgage Information Services Phone: (216) 514-1025 ex. 1212 -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Monday, November 14, 2

RE: [PHP] calling static method within class

2005-10-28 Thread Carlo Razzeto
If you're expecting the statement Echo Foo::getUs(); To echo "me& me" it will not because you never returned $us from the getUs() method. I'm assuming also that xxx is a variable to mean "some class library" correct? Carlo Razzeto Programmer Mortgage Informat

RE: [PHP] help with "ORDER BY" query

2005-07-29 Thread Carlo Razzeto
The following line: $query_r = mysql_fetch_array($query) Will pop off the first result from the query, you can avoid this problem by using mysql_num_rows instead: if( mysql_num_rows( $query ) > 0 )... Carlo Razzeto Programmer Mortgage Information Services Phone: (216) 514-1025 ex. 1