well here is my code
$sql = "SELECT * FROM users where user='$name'";
$result = mysql_query($sql) or die(mysql_error());
while($arr = mysql_fetch_array($result))
{
$pics[] = $arr["add_picts"];
}
foreach($pics as $picid)
{
$table .= ''.str_replace(',','<br />', $picid).'<br />';
}
My goal is to be able to input some html into $table so i can format how it looks when it loops. LIke add an a href=url/$pidid or what not. See what i'm saying?
I guess my main prob is all the parse errors