![]() |
PHP not working completly in a mod I'm making..
Alright I was working on a mod (Just started moments ago and I'm almost finished..) and when I use this, half the page doesn't show up when I'm trying to use $_GET to show part custom content (It's where I edit it in) and just use default headers/footers for two templates.
Code:
<?php |
print_output halts the execution of the script, so you should only be calling that function once.
So nothing is being called after this line: PHP Code:
There is also no reason to close the php tag and start a new php statement, as you are not embedding it in any html or anything. Also get in the habit of sanitizing $_GET, $_POST, and $_REQUEST variables with vBulletin's input cleanser $vbulletin->input->clean_array_gpc(); Here is a great article about that: https://vborg.vbsupport.ru/showthrea...lean_array_gpc |
Ah, I see. Thanks for the help. I was like what in the world when it didn't show the $_GET codes.
I guess I need to just make a custom header :p Once again, thanks. EDIT: Ah. I figured out that removing '_output' would let it show the top of the script :D |
All times are GMT. The time now is 01:10 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|