[PHP-DB] Re: Hi I am new

2004-04-24 Thread Jimmy Brock
Since you didn't mention what database you are using I'm assuming MySQL.
Here's a good place to start:

http://dev.mysql.com/tech-resources/articles/ddws/

Water_foul [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 I am new to databases and php and I was wondering if any one would point
me
 to a good guide
 anything would help :)
 thanks in advance,
 water_foul

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Re: Hi I am new to PHP

2004-04-15 Thread Shaun
It means there is a problem with your query,

if you send the query back to the group someone may be able to help.


Andy Amol [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 I have posted my problem at No: 33892 of this mailing list. I have
received 1 reply. No: 33897

 My exact problem with second file is as follows:

 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource on line 15


 Can you help me to solve problem, any help would be appreciated.

 Thanks.



 -
 Do you Yahoo!?
 Yahoo! Tax Center - File online by April 15th

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Re: Hi I am new to PHP

2004-04-15 Thread David Robley
[EMAIL PROTECTED] (Andy Amol) wrote in
news:[EMAIL PROTECTED]: 

 
 I have posted my problem at No: 33892 of this mailing list. I have
 received 1 reply. No: 33897 
 
 My exact problem with second file is as follows:
 
 Warning: mysql_num_rows(): supplied argument is not a valid MySQL
 result resource on line 15 
 
 
 Can you help me to solve problem, any help would be appreciated.
 
 Thanks.

Your sql syntax is probably wrong. Somewhere before line 15 you are 
presumably using mysql_query to submit your query. Try adding to that line

or exit( 'Error: ' .mysql_error() );

which will halt your script and return a useful error string from mysql if 
there is an error.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php