zero-perfoliate
zero-perfoliate
Home
Help
Search
Calendar
Login
Register
HTML5 & Friends
»
Programming Help On Specific Projects
»
PHP Problem Solvers - Get Help Here
»
proper syntax
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: proper syntax (Read 207 times)
PerHaPs
New PHP Members
Posts: 1
Karma: +0/-0
proper syntax
«
on:
May 28, 2010, 08:37:40 PM »
are these the same and would both have same results?
<p> <a href=’http://www.yahoo.com’ <?php print 'class="red"';?> > red text [/url]</p>
<p> <a href=’http://www.yahoo.com’ <?php print 'class="red"';?>> red text [/url]</p>
Logged
Sergey Popov
PHP Helpers
Posts: 31
Karma: +0/-0
Re: proper syntax
«
Reply #1 on:
June 03, 2010, 08:51:58 AM »
Yes, these 2 are the same. Difference is in space, that does not affect HTML code in given place.
Logged
Refer to php documentation or
PHP Help
forum for more info and for answers to your questions
Print
Pages: [
1
]
Go Up
« previous
next »
HTML5 & Friends
»
Programming Help On Specific Projects
»
PHP Problem Solvers - Get Help Here
»
proper syntax
zero-perfoliate