Code: Select all
<?php
$them=@mysql_query("select * username from users");
echo " <img src='http://blah.com/devil.gif'> <a href='whois/".$them.".htm' style='text-decoration:none'><font color=black>".$them."</font></a><br>";
?>Moderator: General Moderators
Code: Select all
<?php
$them=@mysql_query("select * username from users");
echo " <img src='http://blah.com/devil.gif'> <a href='whois/".$them.".htm' style='text-decoration:none'><font color=black>".$them."</font></a><br>";
?>Code: Select all
<?php
$them=@mysql_query("select * username from users") or die(mysql_error());
while($row = mysql_fetch_assoc($them))
{
echo '<pre>'.htmlentities(print_r($row,true),ENT_QUOTES).'</pre>';
echo " <img src='http://blah.com/devil.gif'> <a href='whois/".$row['someelement'].".htm' style='text-decoration:none'><font color=black>".$row['someelement']."</font></a><br>";
}
?>Code: Select all
"SELECT * username FROM users"Code: Select all
<?php
$them=@mysql_query("select * username from users") or die(mysql_error());
while($row = mysql_fetch_assoc($them))
{
echo '<pre>'.htmlentities(print_r($row,true),ENT_QUOTES).'</pre>';
echo " <img src='http://blah.com/devil.gif'> <a href='whois/".$rowї'someelement'].".htm' style='text-decoration:none'><font color=black>".$rowї'someelement']."</font></a><br>";
}
?>Code: Select all
<?php
$them=@mysql_query("select blah from bleb") or die(mysql_error());
while($row = mysql_fetch_assoc($them))
{
echo "
<img src='http://blah.com/devil.gif'>
<a href='whois/".$row['someelement'].".htm' style='text-decoration:none'>
<font color=black>".$row['someelement']."</font></a>";
}
?>