Search Results

Search: Posts Made By: Neo
Forum: Programming 10-02-2011
6,761
Posted By Neo
Update: Working like a charm now :D
Update: Working like a charm now :D
Forum: Programming 10-01-2011
6,761
Posted By Neo
Progress... got what was needed with: ...
Progress... got what was needed with:

$info[$campaign_row['campaignid']] = array("name" => $campaign_row['campaignname'],"booked" => (int)$campaign_row['views'], "served" => $total , "remaining"...
Forum: Programming 10-01-2011
6,761
Posted By Neo
Brackets solves the immediate problem
OK, Yea! The solution was simple... only required the addition of some brackets, it seems (now testing next steps). This is the line now:
$info[] = array($campaign_row['campaignid'] =>...
Forum: Programming 10-01-2011
6,761
Posted By Neo
I am thinking to give up on an associative array...
I am thinking to give up on an associative array of multi-dimension for this code and move to numeric arrays; after searching the net fairly exhaustively, I've not found a similar example of a...
Forum: Programming 10-01-2011
6,761
Posted By Neo
I tried removing the single quotes; no error, but...
I tried removing the single quotes; no error, but the results were the same as the original post.

These complex associative arrays are hard :wall:
Forum: Programming 10-01-2011
6,761
Posted By Neo
So, you think this will work? $info =...
So, you think this will work?

$info = array("$campaign_row[campaignid]" => array("name" => $campaign_row['campaignname'],"booked" => (int)$campaign_row['views'], "served" => $total , "remaining"...
Forum: Programming 09-30-2011
6,761
Posted By Neo
I tried a number of things, and when I do this: ...
I tried a number of things, and when I do this:

$info = array("$campaign_row['campaignid']" => array("name" => $campaign_row['campaignname'],"booked" => (int)$campaign_row['views'], "served" =>...
Forum: Programming 09-30-2011
6,761
Posted By Neo
Populating Associate Arrays in PHP
I'm not very good at associative arrays; and working on this PHP code has got me a bit stumped. My goal is to populate a (multidimensional) associative array in a PHP while look after a MySQL query....
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 03:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy