I have researched this and cannot find a great solution. I have a php that includes a html file. The html file has a link <a href="http://site.com?var=j&var2=k&var3=k">My link</a>
The problem is the & part of the link converts to & when viewing the resultant web page. I need the & to stay as it is, not convert to &.
Anybody had this problem before?
Thanks,
J
including html file in another file
Moderator: General Moderators
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: including html file in another file
It's not a problem & is the HTML entity for &. It appears on the HTML rendered page as & but if you view the source of the page in the browser it will be &.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Re: including html file in another file
Thank you,
JV