Jump to content

[SOLVED] Table doesn't exist? Pretty sure it does!


Clinton

Recommended Posts

if I echo $type I get 'MS NONEL' (which is correct) however when I do as done below it cuts it off:

 

<?

$result2 = mysql_query("SELECT * FROM $choice$type ORDER BY transactiondate") or die ('Error: '.mysql_error ());

?>

 

The result is then '5555MS' when it should be '5555MS NONEL'. But it's echoing correctly above so why would it not here?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.