mysql-num-rows
Mysql error when counting rows
I have a problem when trying to count the rows in a table. The variable $username_me equals to the session username. None of them is in an if or else statement.[详细]
2023-04-13 05:36 分类:问答PHP mysql_num_rows() Returns error
I have a PHP login script. This is the part where the person can create a new user. My issue is I want to check if the user exists, and if the username does not exist the the table, than create the ne[详细]
2023-04-12 22:07 分类:问答How to check if mysql_query returned anything or not [duplicate]
This question already has answers here: Closed 10 years ago. Possible Duplicate: mysql_fetch_array() expects parameter 1 to be resource, boolean given in select[详细]
2023-04-08 15:07 分类:问答Select-Option num value vs SQL num_row
I have a big dilemma, I\'m generating data from MySQL into a form so, the problem is that while the first row generated by SQL is 0 the select option in the form is interpreting the first value as 1.[详细]
2023-04-04 17:40 分类:问答PHP mysql_num_rows() usage on INNER JOIN query
<?php $sql=mysql_query(\"SELECT * FROMtable_one INNER JOIN table_two ON table_one.id = table_two.field_id ORDER BY table_one.id ASC LIMIT 0 , 300\");[详细]
2023-03-29 19:07 分类:问答Strange Database problem! PHP MySQL Codeigniter
I am experiencing a strange problem with a simple query that returned the number of rows in a table. This was always working fine and correct.[详细]
2023-03-25 10:23 分类:问答problem with mysql_num_rows
Here is my code : $sql1 = \'SELECT * FROM login WHERE age= \"$age\", town = \"$town\" and ID != \"$id\"\';[详细]
2023-03-23 01:49 分类:问答while ($row=mysql_fetch_array($query)) is not working
What i try to do is check the user\'s Id by verifying in a cookie (called \"identification\"). thats my code:[详细]
2023-03-22 16:39 分类:问答Using array in php query?
i want to obtain number of rows in query using mysql_num_rows.the query itself contains 2 arrays. i want to store the number in array. Here\'s my code[详细]
2023-03-20 13:34 分类:问答error on mysql_num_rows
my code is following iam getting a error on \"Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource...\" help me to solve this[详细]
2023-03-15 17:45 分类:问答