You are here: Array syntax « PHP Programming Language « IT news, forums, messages
Array syntax

Posted by GarryJones on 07/08/07 12:43

I have a problem with the syntax for arrays.

First I define an array and assign 65 values to it from a mysql
database. Using print_r (array_values($arr_anmref)) I can see all the
values and they are correct so no problem there.

I then need to process the information from a form when the users
clicks ok. (This is to update the records based on if the user has
checked or unchecked a checkbox).

When the user presses the OK button they are taken to a new page where
I want to process the form and show the results of the processed
information.

However in the code I need to use the values from the array but its
misfiring .

The array is now empty and

print_r (array_values($arr_anmref))

.....shows nothing

I have tried adding session_start() at the top of both pages but to no
avail.

Any help greatly appreciated.

Garry Jones
Sweden

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация