smju
04-09-2005, 10:29 AM
I am having a little problem and don't know what the solution is, if there is one.
I have a php program that has 2 parts. Part 1 displays a basic form asking the user to select a member name for reporting upon. This then passes the selected user back into the same php program that then runs part 2, that produces the report output.
In both cases I make use of a basic vBulletin base template in order to have the output display looking like part of the Bulletin Board.
Part 1, runs through and correctly displays the Bulletin Board {i.e. BB Header, ?my output?, BB Footer/Trailer}.
Part 2, however, displays the BB Footer / Trailer to the right of ?my output? instead of at the bottom.
A quick explanation of the main php file:
All the ?doing? is done inside the SWITCH statement. The first time through the DEFAULT is executed. The second time through, CASE 1 is executed. In Case 1, I have tried (with no difference to the output) putting Form and Body tags around the output report
Here be all the code:
This be the vBulletin Template (http://www.smjunwin.demon.co.uk/Development/temp/SMJU_Base_Template.htm)
This is the php code file (http://www.smjunwin.demon.co.uk/Development/temp/Site_Games_Member_List_v1a.php)
and here be screen shots of the results:
This is the correct result from the SWITCH, DEFAULT (http://www.smjunwin.demon.co.uk/Development/temp/ScreenShot012.png)
Incorrect display of SWITCH CASE 1 {left hand side of screen} (http://www.smjunwin.demon.co.uk/Development/temp/ScreenShot013.png)
Incorrect display of SWITCH CASE 1 {right hand side of screen} (http://www.smjunwin.demon.co.uk/Development/temp/ScreenShot014.png)
As mentioned above I have no idea why, if anyone has any suggestions as to how to fix ?Part 2?, I would be very greatful.
I have a php program that has 2 parts. Part 1 displays a basic form asking the user to select a member name for reporting upon. This then passes the selected user back into the same php program that then runs part 2, that produces the report output.
In both cases I make use of a basic vBulletin base template in order to have the output display looking like part of the Bulletin Board.
Part 1, runs through and correctly displays the Bulletin Board {i.e. BB Header, ?my output?, BB Footer/Trailer}.
Part 2, however, displays the BB Footer / Trailer to the right of ?my output? instead of at the bottom.
A quick explanation of the main php file:
All the ?doing? is done inside the SWITCH statement. The first time through the DEFAULT is executed. The second time through, CASE 1 is executed. In Case 1, I have tried (with no difference to the output) putting Form and Body tags around the output report
Here be all the code:
This be the vBulletin Template (http://www.smjunwin.demon.co.uk/Development/temp/SMJU_Base_Template.htm)
This is the php code file (http://www.smjunwin.demon.co.uk/Development/temp/Site_Games_Member_List_v1a.php)
and here be screen shots of the results:
This is the correct result from the SWITCH, DEFAULT (http://www.smjunwin.demon.co.uk/Development/temp/ScreenShot012.png)
Incorrect display of SWITCH CASE 1 {left hand side of screen} (http://www.smjunwin.demon.co.uk/Development/temp/ScreenShot013.png)
Incorrect display of SWITCH CASE 1 {right hand side of screen} (http://www.smjunwin.demon.co.uk/Development/temp/ScreenShot014.png)
As mentioned above I have no idea why, if anyone has any suggestions as to how to fix ?Part 2?, I would be very greatful.