Jump to content

html in php


dillausky

Recommended Posts

I know typically you can just close and re-open the php to insert some HTML, but I cant get that to work in this situation. 

 

define( "REG_FORM_HEAD_TITLE_USERDETAILS",	"User Details" );
define( "REG_FORM_HEAD_NOTICE",				"If you need help or have questions about our society/associations please feel free to contact your society or Premier via e-mail or call us at xxxx. We look forward to working with you.");
define( "REG_FORM_HEAD_ATTENTION",			"Required Fields marked with" );
define( "REG_FORM_FIRST_GROUP",				"Your Details" );

 

in the REG_FORM_HEAD_NOTICE, i need to insert a hyperlink where it says email in the last line, but if I try to stop/start the php it just throws errors at me.

 

Any help would be appreciated!

 

Link to comment
https://forums.phpfreaks.com/topic/63934-html-in-php/
Share on other sites

Parse error: syntax error, unexpected ';' in /home/.pancho/iratusfx/medbluebook1.com/administrator/components/com_juser/language/english.php on line 182

 

line 182 is

 

define( "REG_FORM_HEAD_NOTICE",				"If you need help or....

 

maybe i am just doing it wrong, here is how i did it:

 

...your society or Premier via e-mail" ?> <a href="mailto:[email protected]">[email protected]</a> <?php " or call us at xxxx. We look forward to working with you.");

Link to comment
https://forums.phpfreaks.com/topic/63934-html-in-php/#findComment-318677
Share on other sites

hm yea i tried that but got

 

Parse error: syntax error, unexpected T_STRING in /home/.pancho/iratusfx/medbluebook1.com/administrator/components/com_juser/language/english.php on line 182

 

... then i realized i used "s instead of 's around the email!

 

Thanks for the help

Link to comment
https://forums.phpfreaks.com/topic/63934-html-in-php/#findComment-318685
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.