Forum Moderators: coopster
$query = "SELECT id,name FROM upload";
$result = mysql_query($query) or die('bad select');
while(list($id, $pname) = mysql_fetch_array($result))
{
?>
//i do not knew how to build this part ?
<a href="?"><?php=$id;?><?php=$pvardas;?></a> <br>
<?php
}
thanks for any ideas.
while($row = mysql_fetch_array($result))
{
$tempName = $row['name']'
//im not sure what you really want to do but
echo("<a href=\"{$tempName}\">link</a><br>");
}
?>
Let's start with that I don't understand what php=$id and php=$pvardas are supposed to be. Give me some more detail.