sillysillysilly Posted September 18, 2009 Share Posted September 18, 2009 I have a script that looks to the database and collects some variable that will be echoed back inside the form field so they can update it. I had this running on another server just fine - it would give the detail inside the form field. When I installed the latest and greatest xampp on my own computer is when it started putting <? echo $detail ?> in the form field instead of what is in the variable. The HTML is right; its probably something in the php.ini settings but I don't know what it would be. Any ideas? <tr><td><label>First Name </label><input name="firstname" type="text" size="16" maxlength="16" value="<? echo $firstname; ?>"/> Also where can I get the wysiwig that is shown in the posting windows here, those are cool. Quote Link to comment Share on other sites More sharing options...
zq29 Posted September 18, 2009 Share Posted September 18, 2009 It is possible that you have short tags disabled in your php.ini - Replace the <? with <?php and try again. Quote Link to comment Share on other sites More sharing options...
sillysillysilly Posted September 18, 2009 Author Share Posted September 18, 2009 Ah that got it. I feel like such an idiot. I am a bit of a newbie hack to this stuff so forums like this are a real god send. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.