Welcome Guest ( Log In | Register )



2 Pages V  < 1 2  
Reply to this topicStart new topic
> Scripts And Html
FirefoxRocks
post Jun 23 2007, 06:53 PM
Post #11


Super Member
Group Icon

Group: [HOSTED]
Posts: 702
Joined: 12-July 06
From: Ontario, Canada
Member No.: 14,464



QUOTE(SilverFox @ Jun 21 2007, 11:49 PM) *
I own an online text based game. Good luck, I hope it works.

Download WAMP5 (google it to find it) and dev it locally I recommend for one. Using this you can build your project on your local PC, which is faster and more secure. It comes with SQL, Apache, PHP5 and PHPmyadmin and runs from your taskbar.

You do not need a doc type.
Simply echo PHHP.

<?php

echo "<html><head>..etc";
?>


Without a doctype, it will work. But do you seriously want pages to be invalid? No, of course not! We use a doctype to follow the HTML/XHTML standards (rules). tongue.gif
Go to the top of the page
 
+Quote Post
TavoxPeru
post Jun 25 2007, 12:17 AM
Post #12


Super Member
Group Icon

Group: [HOSTED]
Posts: 765
Joined: 8-April 06
From: Lima - Peru
Member No.: 12,579



QUOTE(FirefoxRocks @ Jun 23 2007, 01:53 PM) *
Without a doctype, it will work. But do you seriously want pages to be invalid? No, of course not! We use a doctype to follow the HTML/XHTML standards (rules). tongue.gif

That's absolutely correct. wink.gif
Go to the top of the page
 
+Quote Post
jlhaslip
post Jun 25 2007, 12:28 AM
Post #13


Advanced Member
Group Icon

Group: Members
Posts: 187
Joined: 15-November 05
From: Inland from the Left Coast of Canada
Member No.: 9,627



And a correct Doctype forces a Browser out of Quirks mode into a Standard Compliant mode, so use that Doctype is recommended for that reason.
Otherwise, the Browser will 'guess' at the rendering of the page.
Go to the top of the page
 
+Quote Post
TavoxPeru
post Jun 27 2007, 05:12 AM
Post #14


Super Member
Group Icon

Group: [HOSTED]
Posts: 765
Joined: 8-April 06
From: Lima - Peru
Member No.: 12,579



Searching for other stuff here at the PHP forum i found this topic that i think will help you: Introduction to PHP

Best regards,
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Basic Tips and Tricks in HTML(15)
  2. Embedding XML into HTML(2)
  3. Converting HTML over to XHTML(13)
  4. Rapid HTML code generation using simple PHP(8)
  5. Force Object To Load Last(2)
  6. Creating Tooltips(7)
  7. Free Shoutbox? HTML, Flash or PHP Code(24)
  8. Finishing The Look Of Your Newly Install Web Script(2)
  9. HTM vs HTML: Whats The Difference ?(22)
  10. Converting PSD To HTML(9)
  11. Tutorial: Dreamweaver, 3ds Max, Flash, Html, Css(8)
  12. Html Basic Tutorial(9)
  13. Are There Imageless, Xml Compatable Css Corners Scripts?(3)
  14. Html Table Rows Problem [solved](1)
  15. Sitepoint's Css And Html Reference Sites(2)
  1. W3 Schools(1)
  2. Increase Your Knowledge Of Html Language(11)
  3. Javascript Tutorial For Beginner(0)
  4. Yaml - (x)html/css Framework(2)
  5. Style P And H? Html Tags(2)
  6. How To: Display A Members/user List.(3)
  7. Web Editor(0)
  8. Indentation In Html(4)
  9. Joomla Template Kit Extension For Nvu/composer(3)
  10. Is It Possible To Make Php Scripts Executed Without A Cron?(2)
  11. What You Need Before You Can Create A Text-based Game..(7)
  12. Basic Html Tutorial(1)
  13. Good Books For Html And Css Beginners(1)


 



- Lo-Fi Version Time is now: 14th October 2008 - 09:33 AM