need help in mysql_num_rows()


Posted on 16th Feb 2014 07:03 pm by admin

please tell me what i am doing wrong in this query. it displays this error

Code: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in D:wampwwwdynamicquiz2.php on line 77
my query is
Did you know?Explore Trending and Topic pages for more stories like this.
Code: $namecheck = mysql_query("select * from cv where name = '$name',apply='$apply' and email='$email'");
$countname = mysql_num_rows($namecheck);

if($countname != 0)
{
die("You have already applied for this vacancy.");
}
No comments posted yet

Your Answer:

Login to answer
55 Like 39 Dislike
Previous forums Next forums
Other forums

Procedure with variable number of columns
Hi, I have a procedure that looks like this:

PROCEDURE PROC(p_cursor OUT sys_refcurso

While Problem
i am having a problem with a while statement here is the code
Code: [Select]<?php
sess

update post issues
I am trying to create an update to a post function, while the update does occur, the page routing an

SAP Treasury - Commodities
We are running SAP ECC 6.0 with Treasury Activated.
EA-FIN is also activated (SFW5).

MySQL Does not UPDATE- SQLString Problem
vb Syntax (Toggle Plain Text) 1. SQL = "UPDATE sampletable SET column1 = 'C1sample1'"

CHECH A STRING FOR ' " ' (DOUBLE QUOTES)
I am checking for delimiter (.!?) and if there is a " after a sentence then it should neglect a

PHP switch function help
Hi, I am trying to create a search function for a directory website. On the search function on html

value not going in data base
hello friends....
i am having a working javascript....when i am selecting any

need help to creat database
Hello Team, please guys i am stuck from three days with paypal issue for IPN but no luck yet now i w

Get word number x from string?
How can I use a function to loop through a string, and "have a look at" every word in the

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash