Jump to content

using foreach to loop over resultset from fetch_assoc();


Go to solution Solved by Barand,

Recommended Posts

  • Solution
1 hour ago, webdeveloper123 said:

So i'm a bit confused. Can you help please?

I showed you exactly how to do it in your previous topic. How do you still manage to keep screwing it up?

haha yes Barand! It's working. Honestly, I'm not even joking I was coming downstairs today thinking I am going to use $invoiceOutput in the condition for the do...while loop!

With regards to the code you wrote. I Know you went out of your way to do that & I appreciate it it's just that I was just trying to extract the php because I had something particular in mind for the css. And echoing large parts of HTML in variables etc I'm not too familiar with so I wanted to do it my way

Thank you!

 

Edited by webdeveloper123
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.