Welcome Guest, Not a member yet? Register   Sign In
Put value to array
#1

(This post was last modified: 12-08-2016, 01:13 AM by Fraps900.)

Hi guys, I'm stuck on this:

Is there any possible to get the value from here:
Code:
$result = mysql_query("SELECT estimated_sum FROM burndown_snap WHERE project_id ='$sum1' AND name='$sum2'");
while($row = mysql_fetch_array($result))
{
 $variabele = $row['estimated_sum'] . ",";
    echo $variabele;     
}


And put the values here:

Code:
$actualArray = array(? , ? , ?);

It's not so simple as I thought. Cannot just put there $variabele it's dosent work.
Any suggestions?
Reply


Messages In This Thread
Put value to array - by Fraps900 - 12-07-2016, 02:51 PM
RE: Put value to array - by Paradinight - 12-07-2016, 09:36 PM
RE: Put value to array - by Fraps900 - 12-08-2016, 03:03 AM
RE: Put value to array - by Paradinight - 12-08-2016, 12:07 PM
RE: Put value to array - by PaulD - 12-08-2016, 03:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB