Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP to HTML?
#11
There's no PHP in that. PHP looks like this:
PHP Code:
<?PHP
(PHP code goes here)
?>
Robert Picard
http://www.rpicard.net
#12
Yeah what bit there do you think is PHP...?? You can't just 'convert' PHP to HTML, PHP doesn't necessarily have to output HTML, or output anything for that matter.
MyBB Support Team Lead
#13
(12-21-2009, 09:22 AM)Rob Wrote: There's no PHP in that. PHP looks like this:
PHP Code:
<?PHP
(PHP code goes here)
?>
There was:
A small snippet:
Code:
<a href="?p=home">Home</a>
      <span></span>
    </li>
    <li>
      <a href="?p=tools">Tools</a>
      <span></span>
    </li>
    <li>
      <a href="?p=community">Community</a>
Do what thou wilt shall be the whole of the Law. Love is the law, love under will.
.::The Rights of Man::.
#14
That's not PHP. That's an HTML anchor tag (<a> </a>) where the href is telling the browser to go to:
Code:
http://thecurrenturl/?p=home
and
http://thecurrenturl/?p=tools
and
http://thecurrenturl/?p=community
Robert Picard
http://www.rpicard.net
#15
(12-21-2009, 09:50 AM)Rob Wrote: That's not PHP. That's an HTML anchor tag (<a> </a>) where the href is telling the browser to go to:
Code:
http://thecurrenturl/?p=home
and
http://thecurrenturl/?p=tools
and
http://thecurrenturl/?p=community
That's what he was talking about.
Do what thou wilt shall be the whole of the Law. Love is the law, love under will.
.::The Rights of Man::.
#16
(12-21-2009, 09:53 AM)Аноним Интерфейс Wrote: That's what he was talking about.

I know...that's why I answered it...
Robert Picard
http://www.rpicard.net
#17
There is not a single bit of PHP in that document. It is all xhtml (html).
Do you know how to make games? Do you know 3d Modeling? If so then visit
[Image: logo.png]
#18
PURE XHTML
Quote:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

As you can read on the first comment line is XHTML
#19
lol, who told you this was php?
One day your life will flash before your eyes. Make sure it's worth watching.
#20
(12-21-2009, 11:48 AM)ktmrider530 Wrote: lol, who told you this was php?

I think he saw the ?p in the anchor tag and thought it meant it was PHP.
Robert Picard
http://www.rpicard.net


Possibly Related Threads…
Thread Author Replies Views Last Post
  (HTML,ASP,PHP)Help Thread Web 2 1,324 11-16-2013, 09:25 AM
Last Post: sarvsav
  Contact form for HTML Crystal 36 10,836 05-24-2013, 05:51 PM
Last Post: Akai
  Helping with HTML and CSS Ambitious 0 686 08-28-2011, 01:18 PM
Last Post: Ambitious
  [TUT] Contact Form using HTML/PHP Captain Straight Edge 29 7,058 08-17-2011, 09:49 AM
Last Post: -Infectious
  HTML and PHP classes!! How to build a website ImFocuzz 6 1,830 07-13-2011, 08:45 AM
Last Post: Kyle FYI™

Forum Jump:


Users browsing this thread: 3 Guest(s)