Jump to content

I have been trying to do this forever!!


ballhogjoni

Recommended Posts

$result = mysql_query("SELECT * FROM products WHERE Username = '{$Username}'") or die(mysql_error());
while($productCheck = mysql_fetch_array($result)) {
echo $productCheck['title'];
if ($Username == $productCheck['Username'] && $productCheck['title'] == $title) {echo 'Hello';} else { echo'123'; }
}

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.