Forum Archive

Go Back   3D Realms Forums > General Topics > Programming Forum
Blogs FAQ Community Calendar

Notices

 
 
Thread Tools
Old 03-28-2010, 02:52 PM   #1
Xgthug
 

Xgthug's Avatar
Exclamation Using PHP in a website? (n00b zone)
My HTML skills are very primitive as it is... And when it comes to PHP, I know absolutely nothing.
This was never really a problem, until one day I decided I wanted to play around with a comments section/shout box.
After some Googling around, I became very interested in the idea of using a text file as a database, rather than using MySQL... So I starting using this tutorial: http://www.astahost.com/Create-Shout...ml&hl=shoutbox

So my question is, how do I run the PHP script in the HTML page I want?
Xgthug is offline  
Old 03-29-2010, 02:00 AM   #2
Yatta

Yatta's Avatar
Re: Using PHP in a website? (n00b zone)
http://www.tizag.com/phpT/include.php
Code:
<html>
<?php include("shoutbox.php"); ?>
</html>
Yatta is offline  
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 06:42 AM.

Page generated in 0.10456896 seconds (100.00% PHP - 0% MySQL) with 15 queries

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

Website is ©1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.