This is really strange folks. I've never run into anything like this before. Can you help?
MySQL query is mistaking the column name for the value!!! What's wrong?
The value of $apt is 12GH
The column name is 'apt'.
So, why on earth is "mysql_error())" giving me the following error?
Error: Failed at saving data: WHERE apt =12GH
Unknown column '12GH' in 'where clause'
Here's the query
$UPDATE_db="UPDATE `$S_TableName` SET
`admin_f_name`='$admin_f_name', `admin_m_name`='$admin_m_name', `admin_l_name`='$admin_l_name'
WHERE apt =`$apt`";
mysql_query($UPDATE_db) or die("L-83<BR/>
<font color=RED>Error: Failed at saving data: WHERE apt =$apt
" . mysql_error());