ruks Posted January 6, 2010 Share Posted January 6, 2010 I want to add the the reminder.php form within my website template - the reminder works on this link - http://www.callnorthwest.org.uk/news/reminder.php when i just paste the form code below in my cms the error code appears on the page - as shown on this link - http://www.callnorthwest.org.uk/news/password-form.php <form method="post"> <h3>Password Reminder</h3> <font color="red"><?php echo $this->error; ?></font><br /> Login Email:<br /><input type='input' name='access_login' /> <p></p> <input type="submit" name="access_submit" value="Proceed" /> </form> My php version is 5 I want the reminder page to appear on my website template, is their way i can do this and for it to work without the error code appearing Hope you can help Thanks Link to comment https://forums.phpfreaks.com/topic/187403-reminder-page/ Share on other sites More sharing options...
teamatomic Posted January 6, 2010 Share Posted January 6, 2010 Try quoting it. <?php echo "$this->error"; ?> If that does not work the get the result of $this->error into a var and echo that. HTH Teamatomic Link to comment https://forums.phpfreaks.com/topic/187403-reminder-page/#findComment-989661 Share on other sites More sharing options...
ruks Posted January 6, 2010 Author Share Posted January 6, 2010 I did that: - <form method="post"> <h3>Password Reminder</h3> <font color="red"><?php echo "$this->error"; ?></font><br /> Login Email:<br /><input type='input' name='access_login' /> <p></p> <input type="submit" name="access_submit" value="Proceed" /> </form> the error is not visible on the page but it doesn't do the function - http://www.callnorthwest.org.uk/news/password-form.php if you try on this - http://www.callnorthwest.org.uk/news/reminder.php - type in [email protected] - it will take you to thankyou page and the person will get an email containing the password details any ideas Link to comment https://forums.phpfreaks.com/topic/187403-reminder-page/#findComment-989665 Share on other sites More sharing options...
ruks Posted January 7, 2010 Author Share Posted January 7, 2010 If that does not work the get the result of $this->error into a var and echo that. How can i do this, I really need this reminder page to work, please can someone help Ruksana Link to comment https://forums.phpfreaks.com/topic/187403-reminder-page/#findComment-990212 Share on other sites More sharing options...
PHP Monkeh Posted January 7, 2010 Share Posted January 7, 2010 Which CMS is it that you're using? It may be that you can't embed PHP in to the pages due to the restriction of the CMS. Link to comment https://forums.phpfreaks.com/topic/187403-reminder-page/#findComment-990214 Share on other sites More sharing options...
ruks Posted January 7, 2010 Author Share Posted January 7, 2010 its a custom cms created by the people who created the website, if i can't add php to the cms, is their any other way i can add the code for it to appear on the website template and it to work Link to comment https://forums.phpfreaks.com/topic/187403-reminder-page/#findComment-990216 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.