This is a discussion on "Problem with script structure ???" within the PHP Forum section. This forum, and the thread "Problem with script structure ??? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Problem with script structure ???
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Problem with script structure ???
I am having a problem getting my script to continue processing after calling (request_once) another script.
There are three scripts involved. Main one (Homes_add.php) calls the second (a_picts.php) which is a form validating script - which ofcourse calls its form (a_picts_fm.php) Again - it is clear that the problem is not in returning from a_picts_fm back to a_picts - BUT the problem is returning from a_picts back to the main script ( homes_add script.) I wonder if there is a fundamental structural problem ? The main script (homes_add) calls ( require_once ) the a_picts which processes the form. The form itself on submisson re-runs the a_picts which when finshed should return to the main script (homes_add) and continue from where it left the off. To summarise the problem is that the a_pict.php stops at the last line afer executing this : echo " *** and got here"; IT DOESN'T RETURN TO HOMES_ADD.PRG - dont know why ??? I have stripped a lot of the code to try and make it clearer. HERE IS THE MAIN - HOMES_ADD.PHP SCRIPT IT CALLS THE PICTURE HANDLING SCRIPT
THIS IS THE SECOND SCRIPT THAT CALLS AND THEN PROCESSES THE FORM
AND THIS IS THE FORM THAT THE ABOVE REQUIRES
Last edited by Rob; Jun 9th, 2006 at 13:45. |
|
|
|
|||
|
Re: Problem with script structure ???
Are the files definately being included and do you definately have display_errors turned on in your php.ini file? If the screen is just white it could be that they are not being included and you have display_errors turned off.
|
![]() |
| Tags |
| problem, script, structure |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem with my form script? | GeekyBabe | PHP Forum | 4 | Jan 30th, 2008 23:10 |
| Problem with Action Script | shaza2007 | Flash & Multimedia Forum | 4 | Apr 5th, 2007 19:01 |
| Login Script Problem | Aaron1988 | PHP Forum | 5 | Nov 20th, 2006 06:15 |
| js/css problem-using the width&height values obtained with js to structure my layout | sanchopansa | JavaScript Forum | 0 | Jul 21st, 2006 20:13 |
| Pop-up Window Script Problem | James Lake | JavaScript Forum | 4 | Mar 24th, 2006 16:36 |