I thought I had tried every possible permutation of quotes, fullstops, etc, but evidently not this one. Many thanks Daniel. Now fixed. I wish I had asked earlier...
Tim
I am a relative novice to PHP/MySQL, but this one really has me stumped.
The following statements work fine and return all the records from books where sector is IT.
$query = "select * from books where sector = 'IT' ";
$result = mysql_query( $query );
$numresults =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.