having a small php error tha deals with the 'foreach'


Posted on 16th Feb 2014 07:03 pm by admin

Last night i was working on a script for a cart and it seemed to working good, until this morning. For some reason i'ts giving me the following error:

Warning: Invalid argument supplied for foreach() in /home/content/b/r/o/bronikov/html/cart/cart.php on line 29

Did you know?Explore Trending and Topic pages for more stories like this.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/content/b/r/o/bronikov/html/cart/cart.php on line 36

I've looked it over and over again and can't find out whats the issue. Whats weird about it is that it was working last night and i haven't changed a thing from it .

Anyway here is the block of code i'm having isues with. I hope someone here can point out what the issue is
No comments posted yet

Your Answer:

Login to answer
67 Like 9 Dislike
Previous forums Next forums
Other forums

Need help-Error istream header declaration
Hi Everyone ,

I am having issue with istream declaration. I am new to C programming.
can a

Else statement screws up all css
Does anyone know what goes wrong in the process with this php code?
This code seems to be causing

asp authentication problem
Hello all, I want to use the asp authentication (from asp.net configuration) in my web site. there

help with multi-update
Now sure how to ask this really....
10g database if that matters.

I have a customer

PHP4 to PHP5 Conversion
Hi Everyone,

I am working on a site that is built up on PHP4 and each page is being started f

user administration
Dear @all,

what I have to do to set the user defaults for new users. At the moment I woul

Loop column after 2 results
Hello All.

Here is what I have:

Client ID Company name Clien

If a form submits back to same page do you need to use $get
IM trying to pass page number and year that was selected back to the same page.

i have this c

article site help remaining text
Hi all hope you will be fine
I am creating a article site in this site i want to put some text on

Adding Different Numbers From MySQL
Basically I have a mysql database with a couple prices as the following:

9.99
9.99
9.99

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash