otuatail Posted March 22, 2008 Share Posted March 22, 2008 Can anyone help here. Since my provider has changed the configeration of the server to not supress errors. I am getting the following http://www.des-otoole.co.uk/news/NewUser.php here is the top half of the code. TIA <?php // login.php D O'Toole 21-12-2005 session_start(); include ("functions.inc"); //connectDB(); ?> <html> <head> <LINK rel="stylesheet" href="style.css" type="text/css"> </head> <body> <form action="verify.php" method="post"> <table border="0" width="400"> <tr><td height="10"></td></tr> <tr><td colspan="3" height="50"><b>New Member</b></td></tr> <tr><td align="right">First Name:</td> <td><input type="text" Name="F_Name" maxlength="12" value="<?=$_SESSION['FN']?>"></td></tr> <tr><td align="right">Last Name:</td> <td><input type="text" Name="L_Name" maxlength="18" value="<?=str_replace('\\','',$_SESSION['LN'])?>"></td></tr> Link to comment https://forums.phpfreaks.com/topic/97344-html-code-in-my-input-boxes/ Share on other sites More sharing options...
Barand Posted March 22, 2008 Share Posted March 22, 2008 What is in your SESSION vars echo '<pre>', print_r($_SESSION, 1), '<?pre>'; Link to comment https://forums.phpfreaks.com/topic/97344-html-code-in-my-input-boxes/#findComment-498114 Share on other sites More sharing options...
otuatail Posted March 24, 2008 Author Share Posted March 24, 2008 I get this when I add your sugestion Array ( => [current_page] => Board [Location] => Board [Error_1] => ) Link to comment https://forums.phpfreaks.com/topic/97344-html-code-in-my-input-boxes/#findComment-499251 Share on other sites More sharing options...
Barand Posted March 24, 2008 Share Posted March 24, 2008 Has "short tags" been switched off? Link to comment https://forums.phpfreaks.com/topic/97344-html-code-in-my-input-boxes/#findComment-499283 Share on other sites More sharing options...
otuatail Posted March 24, 2008 Author Share Posted March 24, 2008 confused about this. Do you mean <? as aposed to <?php not sure what is supposed to be used or if this can be switched on or off Link to comment https://forums.phpfreaks.com/topic/97344-html-code-in-my-input-boxes/#findComment-499930 Share on other sites More sharing options...
Barand Posted March 24, 2008 Share Posted March 24, 2008 if short-tags are enabled you can use <?= if not, you need to use <?php echo This is a setting in the php.ini file. phpinfo() will tell you Link to comment https://forums.phpfreaks.com/topic/97344-html-code-in-my-input-boxes/#findComment-499953 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.