Test
WordPress |
||
Select |
$query="SELECT parent_id FROM cp_submit_to WHERE parent_id='".$article_id."' AND article_directory_name = 'Ezine'"; $rtn = mysql_query($query) or die(mysql_error()); $countrows=mysql_num_rows($rtn); if ($countrows == 0) { } $string = ''; if (mysql_num_rows($result) > 0){ while($row = mysql_fetch_object($result)){ $string .= "<b>".$row->name."</b> – "; $string .= $row->phone."</a>"; $string .= "<br/>n"; } }else{ $string = "No matches!"; } |
|
Leave a Comment
You must be logged in to post a comment.