PHP Arrays
Posted: Fri Mar 06, 2009 8:01 am
pickle | Please use [ code=php ], [ code=text ], etc tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:
Posting Code in the Forums to learn how to do it too.
I have code that looks like this
How many entries can I have in my array? I have heard that it depends on the menory_limit in the PHP.ini file. Is there any faster way to do this code?
pickle | Please use [ code=php ], [ code=text ], etc tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:
Posting Code in the Forums to learn how to do it too.
I have code that looks like this
Code: Select all
$wc202Array = array(
//in here I have around 150 entries
);
$sql = '';
foreach($wc202Array as $wc)
{
$sql .= "In here I have a select statment and unions the others as it loops through";
}
$sql = substr($sql, 0, -6); //get rid of last "union"
$stmt = OCIParse($connection, $sql);
OCIExecute($stmt);
pickle | Please use [ code=php ], [ code=text ], etc tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: