SQL ERROR

Codes here !

Moderators: macek, egami, gesf

Post Reply
User avatar
daveismyname
New php-forum User
New php-forum User
Posts: 26
Joined: Sat Oct 15, 2011 3:21 am
Location: Hull, East Yorkshire, England
Contact:

Re: SQL ERROR

Post by daveismyname » Thu May 16, 2013 3:35 am

sigridann wrote: $sql = mysql_query("select * from employee where fname like '%$term%'");
$result=mysql_query($sql);
your using mysql_query then again in the next line try this instead.

Code: Select all

$result = mysql_query("select * from employee where fname like '%$term%'");

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests