The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AJAX post bug
#2
If all you need is to open the connection from the database, instead of including header.php you can simply copy-paste the db code (and anything else you'd like) and it won't include the html. If you need any of the helper functions, you can still include_once those files (helpers.php and us_helpers.php) and you'll still be able to use the functions.

As for your mystery, when you view parser.php directly it sounds like the html is still there but since there are no tags in your body it looks like only your 0 or 1 is shown. If you view the source code you'll probably still find the
Code:
<html><head></head><body>
tags from the header. If this isn't the case I'd love to help you figure out why.
  Reply


Messages In This Thread
AJAX post bug - by JUG - 04-12-2017, 03:38 AM
AJAX post bug - by karsen - 04-13-2017, 08:27 PM
AJAX post bug - by JUG - 04-18-2017, 03:25 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)