Forum Moderators: coopster
$addy = array(
for ($x = 1; $x < count($add); $x++)
{
$add[$x];
}
);
the $add is coming from a database which I am not sure is putting what what I actually want it to but I will deal with that if I can get it to output the wrong info into the array. Anyone ever do this? Is it possibe?
[/edit] Currently if I have that code in the page it does not load =[
[php.net...]
It might be easier to do what you want with your query, or lacking that, to play around with moving the data from one array to the other.
Not really sure just what you are trying to accomplish, so this may not be of much help.
WBF
while ($row = mysql_fetch_array($results, MYSQL_BOTH))
{
$add = ($row["3"]);
$por = ($row["4"]);
}
$addy = array();
for ($x = 1; $x < count($add); $x++)
{
$addy[]= $add[$x];
};
Here it is with your change, still not getting data. But I know $por but its not giving me what I want. Actually just tested $add and its not either. Ill have to keep playing with them.