Forum Moderators: coopster
$sql="select name, profiles, telephone, email_address, email from contacts";
$array = array(); this is what i get so far onClick="popup = window.open('John Smith, Manager', 'height=200,width=500,resizeable=yes'); return false"> [1][edited by: eelixduppy at 1:12 am (utc) on Nov. 28, 2008]
if(mysql_query($sql))
{
$result=mysql_query($sql);
while($row=mysql_fetch_row($result)){
$array[] = "<a href=\"$row\">onClick=\"popup = window.open('$row[0]', 'height=200,width=500,resizeable=yes'); return false\"></a>"."<br>$row[2]</br>"."<a href=\"$row[3]\">$row[4]</a>";
}
}
(403)000-0000
email@example.com
[edit reason] specifics [/edit]
{
$result=mysql_query($sql);
while($row=mysql_fetch_row($result)){
$array[] = "<a href=\"$row[1]\">$row[0]<script>window.resizeTo(600, 300)</script></a>"."<br>$row[2]</br>"."<a href=\"$row[3]\">$row[4]</a>";