Jump to content

Select from 2 columns


SkyRanger

Recommended Posts

Well you aren't selecting any columns.

 

Why don't you post your ACTUAL code. Including the mysql error and final query as demonstrated in my debugging your sql link.

 

Edit: Also, it appears you're trying to select a message that someone apparently sent to themselves.

$queryhd = "SELECT * from help where to_name='$loggedin' and fr_name='$loggedin' and opened IN ('y', 'n', 'r', 'c') order by 'time_sent' DESC";
$resulthd = $mysqli->query($queryhd) or die($mysqli->error.__LINE__);

 

No errors are reporting.

 

What I am trying to do is show messages sent and receied from a user.

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.