Battle Zone
We think you should log in. Don't you?

This is the site for everything and anything you want to talk about. Want to discuss the latest games? Done. Want to have fun? Done. This is THE place to have a great time.
HomePortalFAQMemberlistRegisterLog in

Share | 

 hey rain need help

View previous topic View next topic Go down 
Night Angel
Night Angel

Join date : 2010-03-10
Posts : 10

PostSubject: hey rain need help   Thu Apr 15, 2010 9:48 am

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="" lang="en" xml:lang="en">
      <title>Array 10
      <table border='1'>
                  foreach($y as $z){
                     echo "<tr><td>".$z."</td><td>".$y[$x]."</td></tr>";

i am thinking about not echoing the $z variable in the while statement would it work
Back to top Go down
Old Amsterdam
Bow Before Thy Master
Bow Before Thy Master
Old Amsterdam

Join date : 2010-03-04
Rank : Head Admin / Site Owner

Posts : 7269

PostSubject: Re: hey rain need help   Thu Apr 15, 2010 9:58 am

You really messed it up, I think....You should get rid of that WHILE Loop, and before you echo anything in the FOREACH Loop, do your

Deleat the $a completely and then...
I'd make it look like

foreach ($y as $x){
echo "<tr><td>".$z."</td><td>".$x."</td></tr>";

See what that does. That should fix it.

As authors, it is our Duty
To create lovable, enticing Characters
And do horrible, evil things to Them.

Back to top Go down

hey rain need help

View previous topic View next topic Back to top 

 Similar topics

» Jazwares MK & SF
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Battle Zone :: Extra! Extra! :: Random-
Jump to: