Hack Forums
[PHP] (HELP)Include not loading since added a function - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183)
+---- Thread: [PHP] (HELP)Include not loading since added a function (/showthread.php?tid=5942789)



(HELP)Include not loading since added a function - CryptoLayer - Feb 19, 2019

Hello since I added this function to my code [Image: LYmFAKy.png]
the include does not load properly .
this normally shows up. when page is loaded : http://prntscr.com/mn6uuv
I need to presse "submit" for it to load . before was loading normally without to "submit"
http://prntscr.com/mn6vid
my entire code code


RE: (HELP)Include not loading since added a function - Abruptum - Feb 19, 2019

(Feb 19, 2019 06:48 AM)C0DeLeSs Wrote:  Hello since I added this function to my code [Image: LYmFAKy.png]
the include does not load properly .
this normally shows up. when page is loaded : http://prntscr.com/mn6uuv
I need to presse "submit" for it to load . before was loading normally without to "submit"
http://prntscr.com/mn6vid
my entire code code

Hello,
pleas format your code and split up the display part from the logical part.
This mess is not readable at all.

Your problem lies somwhere at the post variables or that you set somethign to your session when you load the page -> so it will only affect the page at the second time.
Check these Solutions and you should find the bug.
Or you format the code and split up the logic and i will take a look at it.


RE: (HELP)Include not loading since added a function - newQuery - Feb 19, 2019

I sent you a PM regarding this. Since we speak the same language, it'll be easier to communicate ;)


Btw, ereg_replace is deprecated since PHP7.0