Search Help Board

PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help

C# Help

?Re: php - My SQL problems
Date:???03-15-03 10:03

try creating the sql outside the query and change the query to this

$sql="select count(*) from t_table where row_1=10 and row_2=132";

$result=mysql_query($sql) or die ("error is".mysql_error());

this will show you the error...it might just be simple problem with datatypes - no quotes around string entries or quotes around number entries...would need to see your code and data structure to be more helpful

?Topics Author? Date
?php - My SQL problems??new
Aleksandar 03-14-03 05:02?
?Re: php - My SQL problems??new
bastien 03-15-03 10:03?
Go to Top??|??Go to Topic??|??Flat View??|??Search?
New Topic
?Reply To This Message
?Your Name:
?Your Email:
Email replies to this thread, to the address above.

Provided By