Real Estate Forums
| Coding HTML, ASP, PHP, JAVA MYSQL and more. All coding questions should be asked here. |
![]() |
|
|
Thread Tools | Display Modes |
|
||||
|
Hi guys,
I'm having trouble formatting a link to this line of PHP code: Code:
DEFINE("LANG_FORM_RESTRICTED","Please login or register to post comments.");
__________________
Steve Castaneda, Realtor Keller Williams Realty The MyHomeHouston Team Specializing in Houston Real Estate. Feel free to visit my Houston Real Estate Blog or read about Real Estate Technology for agents. |
|
|||
|
There may be a little more to it since my PHP is largely self-taught, but I know that putting html tags inside PHP usually requires you to put backslashes in front of all the interior quote marks. I would try it like this:
Quote:
|
|
|||
|
Yeah, I didn't fill out the whole href tag, but at least I was on the right track. Use DCVegas's line Steve, it's more correct.
|
|
||||
|
That worked great, thanks guys!
Just so I understand, the "\" character in PHP escapes the next character from being recognized in PHP, right? Or something like that? I know that the " character caused issues in the syntax since it is used elsewhere in this line of code.
__________________
Steve Castaneda, Realtor Keller Williams Realty The MyHomeHouston Team Specializing in Houston Real Estate. Feel free to visit my Houston Real Estate Blog or read about Real Estate Technology for agents. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|