Confused with Loop


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

guys, i got confused with Looping...this is the case

I have 3 stocks, let say "Stock A", "Stock B", "Stock C" and the owner of each stock A --> Mr.James
stock B --> Mr.Barry
Stock C --> Mr. James

So A & B belong to Mr. James...and C belong to Mr Barry, now i want to display every stocks that belongs to Mr James and Mr Barry separately

How to do it using While?? really confused with this..thanks in advance

99 Like 10 Dislike
Previous php-forum Next php-forum
Other php-forum

Session login issue
I'm wondering how to fix a problem I'm having with a session-based login system

Say I go to h

apart from cron
I need to run a php file every one hour. Is there any other solution apart from cron job?

Get Total From While Loop
I'm trying to get the total for each product and add them for a Grand Total to list outside the loop

PHP Code To Change Font Color in Table Cell
I would appreciate help with the following snippet of my php code. I am just trying to change the f

php - xml what is the best way to do this.
IN essence I want to have a script calling the info from the database.. I have no problem thus far,

Just a white page
Okay so, my website, when I click SignUp on it it takes me to /join.php but its a complete white pag

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

9.99
9.99
9.99

Extract text from string
Hi folks,

I have a string that looks like this:

aaaaaaaaaa:
bbbbbbbbbb (ccccccccc)

mysql_real_escape_string making variable equal nothing
i post a form and i post the variable:
Code: $var = $_POST[variable];then i echo $var its what i

PHP Function Page Advice
Hi All, I am quite new to PHP and Javascript but have written an Online Shop (Mainly for Fun and edu

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