By what do you mean code should be readable ?

=look at the code you've quoted below. Is it easy to read - can you even easily 
distinguish where one
instruction ends and another begins?

=does it work now?

=what does the .cx TLD have to do with Kiwi Xtra?

-------Original Message-------

From: DL Neil
Date: Tuesday, 22 January 2002 8:09:02 a.
To: Barry Rumsey;
Subject: Re: [PHP-DB] theme header query

Tables should be opened and closed
- and (please) code should be readable!

----- Original Message -----
From: Barry Rumsey
Sent: 21 January 2002 17:54
Subject: [PHP-DB] theme header query

I'm trying toadd thefollowing codeto atheme:
."<td class=topmenu width='73' height='19' bgcolor='#ffffff'>\n"
."$sqlhostname = "localhost"; $login = "xxxx"; $password = "xxxx"; $base = "xplyrics"; 
$db_connect =
mysql_connect($sqlhostname,$login,$password); $base_selection = 
mysql_select_db($base,$db_connect);$query =
"SELECT COUNT(*) FROM xp_topics WHERE artist='artist' ORDER BY topicid DESC LIMIT 1"; 
$numartist =
mysql_query($query) or die("Select Failed!"); $numartist = 
mysql_fetch_array($numartist); <b>Total Artists:</b>
$numartist[0]<br>; </td>\n"
But when I try and load that page it comes back blank. Am I missing something or it 
just wont work.

  IncrediMail - Email has finally evolved - Click Here

PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to