How would I get the results of this array into 1 variable which I could use.
Code: Select all
while($line = mysql_fetch_array($result))
{
extract($line);
}Moderator: General Moderators
Code: Select all
while($line = mysql_fetch_array($result))
{
extract($line);
}Code: Select all
while($line = mysql_fetch_array($result))
{
extract($line);
//write this to a .css file for each record in the table
#Property_'.$id.' {
position:absolute;
width:483px;
height:120px;
z-index:1;
left: 256px;
top: '.$plus.'2px;
background-attachment: scroll;
background-image: url(/pictures/'.$picture.');
background-repeat: no-repeat;
background-position: left top;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
color: #666666;
text-decoration: none;
text-align: left;
vertical-align: top;
margin-left: 120px;
padding-left: 120px;
}
}