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

No comments posted yet

Your Answer:

Login to answer
99 Like 10 Dislike
Previous forums Next forums
Other forums

Unable to customise toolbar in FCK
Getting rid of quotes when printing data
Hi Guys, I use the filter_var FILTER_SANITIZE_STRING to filter the textarea input. The function esca

Load file in PHP
I have 2 files. The first is a PHP generated XML file that's dependent by 2 inputs. The second is a

Check before inserting in DB ???
This is my code
---------------
if ( $_POST ['Submit'])
{{
$username = $_POST ['usernm

Something like an INI editor or a DelimitedText-Editor
Hi all,

Am very, very, very new to PHP and not sure if I should be posting this to a Javascri

PHP/PKI
I am trying to set up a web application that uses pki. does anyone have a good tutorial to set this

Warning: mysql_num_rows() expects parameter 1
When i add quote at the end of this link
example:http://localhost/articlemania/category.php?cid=3

Secure FTP
Hi experts,
There is no SFTP action in MII workbench.
This means it needs developing custo

Set Categories
I am creating a submission form for somebody to come in and submit products. These products are sep

Do something every fifth time?
I'm trying to write a loop, but I want it to do something different after every fifth instance. Like

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