Hi there,
I was really trying to avoid asking any stupid question, but I've been trying it for a while now.
This code works OK:
$sql = "SELECT projno, description FROM project_workdone WHERE projno LIKE '%".$projectnumber."%'";
projno = column
project_workdone = table
$projectnumber = input form field.
But I would like to do this instead:
$sql = "SELECT projno, description FROM project_workdone WHERE projno='$projectnumber'";
I've tried a view variables - by that I mean different ways of writing it, but it doesn't work.
Any help much appreciated.
Cheers,
Chris
background:
PHP: 5.2.0
MySQL: Client API version 4.1.21
MySQLi:
Client API library version 4.1.21
Client API header version 4.1.21