Saturday, 17 August 2013

what is wrong with the below line of SQL?

what is wrong with the below line of SQL?

$sql=("SELECT * from batch where CourseID = '$batchcourseid'
AND BatchName LIKE %'$batchname'%");
this returns an error.can someone tell me what exactly is wrong with it?

No comments:

Post a Comment