This is a discussion on Passing arrays through pages within the Coding Help forums, part of the Webmaster Help category; Hi I have created an array in one page, problem is i want to display it on another page. how ...
| |||||||
| Register | Forum Rules | FAQ | Donate | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi I have created an array in one page, problem is i want to display it on another page. how do you go about transfering arrays from one page to another? Have had various attempts at it but havent got close in any of them The array is $arrErrors = array(); Daryll |
| |||||
| in plain html - you cannot do it with javascript, php, asp or some other scripting language it is possible dare I ask, what language you are using? |
| |||||
| you could store the array in session. This way they are available everywhere on your website, but don't forget to reset them when you no longer need it.
__________________ :. Web Design & Development Web Design Ireland :. Search Engines Optimization Search Engines Optimization :. Directory Submission Directory Submission :. News & Press Release Ireland GiveItSocks.com :. Used Cars Ireland, Car Parts & Car Audio Cars For Sale, Car Parts & Accessories :. I Have 2 Find It Directory SEF Directory |
| |||||
| i wouldn't use session destroy, just in case it unsets a session that you might need. Instead I will use PHP Code: |
| Tags |
| arrays, pages, passing |
| Thread Tools | |
| Display Modes | |
|
|
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Successful Site in 12 Months with Google Alone | montyauto | Webmaster Articles | 11 | 18-02-2008 01:28 PM |
| Google.ie - 'The web' vs 'Pages from Ireland' | TheMenace | Search Engine Optimisation | 19 | 04-04-2007 01:51 AM |
| Website Validation | ph3n0m | Coding Help | 29 | 10-08-2006 10:04 AM |
| ||||||||
| | ![]() | |||||||