Re: [PHP-DB] i am lost (php warning)

2005-01-18 Thread Santa
it means mysql_query() filed. u must check it before using mysql_fetch_row() f.e. $query = "bla bla bla"; $result = mysql_query( $query ); if ( $result ){ while ( $row = mysql_fetch_row( $result ) ){ } } else { echo mysql_error( $db_connect ); exit; } -- PHP Database Mailing List (http://w

Re: [PHP-DB] Question regarding how-to stop the form inputting empty data at end of the form that is empty due to a carriage return

2005-01-11 Thread Santa
В сообщении от Среда 12 Январь 2005 04:52 Mike Millner написал(a): > 243 Query INSERT INTO tape_tracking_test > (media_id,retention,out_date,return_date,box_id) values > ('','7WK=%s','2005-01-11','2005-3-01','006455C5092800') > > > How can I get PHP to ignore that line that has empty data in

Re: [PHP-DB] php5 and mysql_connect

2004-12-06 Thread Santa
В сообщении от Воскресенье 05 Декабрь 2004 15:58 it clown написал(a): you must start ./configure with mysql enabled options example from my configure ./configure --with-apxs2=/usr/sbin/apxs2 --with-mysql=/usr --with-mysql-socket