Jump to content

Correct query


timmah1

Recommended Posts

That was a typo PFMaBiSmAd

 

 

I'm trying this, and it isn't working

 

$sql1 = "SELECT * FROM specials WHERE sport = 'ncaab'";
$q1 = mysql_query($sql1);	

while($a = mysql_fetch_assoc($q1)){ 

if($time > $a['start'] "AND" $time <  $a['end']){
	echo $a['name'];
}
else {
	echo Try Again;
}

Link to comment
https://forums.phpfreaks.com/topic/137463-correct-query/#findComment-718478
Share on other sites

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.