Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - scott111

Pages: [1]
1
General PHP Help /
« on: December 21, 2007, 10:20:12 AM »
The first one worked great, thanks!

2
General PHP Help / Help printing arrays
« on: December 20, 2007, 11:59:59 AM »
Hi, I am trying to print the following array:

Code: [Select]
print("<td id='cell1'>$itemArray[$count][transport])>");

but instead of it giving the expected output i get this:

Code: [Select]
Array[transport]


I know the array assignment is correct because it will print if I first assign the array element to a variable, then substitute the variable in place of the array.  It also works if I remove the double quotes on each side, but then I am unable to print the html code.  Can anyone tell me what I am doing wrong?

Pages: [1]