Re: Why can't this code display my result?
| From: | John Meyer | Date: | Fri, 10 Aug 2001 05:16:51 +0000 |
| Subject: | Re: Why can't this code display my result? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62114@lists.php.net to get a copy of this message | ||
Could you please give us some error messages, please?
> <?php
> $connect = mysql_connect("localhost","user_name","password");
> $select_data = mysql_select_db("ardani_cd_collection");
> $query = "SELECT * FROM main where description = '$song_title'";
> $result = mysql_query($query);
>
> while($row = mysql_fetch_row($result))
> {echo "<table
>
> border='1'>","<TR>","<TD>",$row[1],"</TD>","<TD>",$row[2],"</TD>","<TD>",$ro
>
> w[3],"</TD>","<TD>",$row[4],"</TD>","<TD>",$row[5],"</TD>","</TR>","</table>
> ";}
> ?>