Thanks for your reply. I hope I entertain rather than exasperate. I am most appreciative of your assistance.
In the general idea of testing, is it that I should do some kind of test after everything? For example, should I have this page echo $locked_flag immediately after I define it?
When I did, I got null.
Then I copied your select statement. Still got null.
In the connection include, I check for connection like this:
<?PHP
$con=mysql_connect("localhost:8888","root","root")
or die("Err:con");
$rs=mysql_select_db("project",$con)
or die("Err:DB");
?>
So if the connection's bad, it should tell me.
It also plays nice with other pages in the app.
My question for dot concatenators is that I don't understand when you use them with the select statement. I've seen single uses of quotes, nested quotes, single quotes. I've been told that MySQL doesn't like single quotes, only double quotes. Some have dots and some don't.
In your example, do you mean that if you nest quotes, you should use the dots?
Thanks again for your help. I really hope something great happens to you this weekend,
Lee