That's my results:Straterra wrote:Can you run this code for me please?
PHP Version: 4.3.1
Display Errors: Off
Error Level: Not E_ALL
Register Globals: On
It would be better if display errors was set to On!
Moderator: General Moderators
Ahh i see! $motherboard_report as well as the other variables are initiated from the previous page where there is a form with input buttons!Straterra wrote:I think I also don't get is the fact that you never give your variables values..You just start off with $motherboard_report = ereg_replace("\r\n","<br>",$motherboard_report); . The way I can see that the variable has anything inside of it, is if you are putting stuff into it via connect.inc (require_once ("../../ww/connect.inc");).
Code: Select all
if(isset($POST['submit'])){
if((strlen($POST['new_id'])>0){Code: Select all
if(isset($HTTP_POST_VARS['submit'])){
if((strlen($HTTP_POST_VARS['new_id'])>0){Code: Select all
$motherboard_report = $Post['the_item_it_is_posted_from'];Code: Select all
if(isset($POST['submit'])){
if((strlen($POST['new_id'])>0){Code: Select all
$motherboard_report = ereg_replace("\r\n","<br>",$motherboard_report);
$lancard_report = ereg_replace("\r\n","<br>",$lancard_report);
$vgacard_report = ereg_replace("\r\n","<br>",$vgacard_report);
$soundcard_report = ereg_replace("\r\n","<br>",$soundcard_report);
$keyboard_report = ereg_replace("\r\n","<br>",$keyboard_report);
$mouse_report = ereg_replace("\r\n","<br>",$mouse_report);
$monitor_report = ereg_replace("\r\n","<br>",$monitor_report);
$speakers_report = ereg_replace("\r\n","<br>",$speakers_report);
$software = ereg_replace("\r\n","<br>",$software);I tested it with the same blank results unfortunately!Straterra wrote:LoL, yeah....