Topic: How do you convert html to php??
Is there a way to do that??
Or is there an easy php generater to make webpages out of php??
You are not logged in. Please login or register.
PunBB Forums → Programming → How do you convert html to php??
Is there a way to do that??
Or is there an easy php generater to make webpages out of php??
I get the feeling you don't know what PHP is.
PHP is a programming/scripting language, that can generate more or less any output you want. You can generate images, html documents, or any other file.
To output stuff you often use echo ""; or printf(""); functions in PHP
I suggest you do a few simple "Hello World" scripts to get a basic understanding of how PHP works, and what it does.
Here's a couple of links
http://www.php.net/manual/en/introduction.php
http://www.php.net/manual/en/tutorial.p … quirements
i still really dont get it
could you make a sample code so that i could look at it??
i need it so that it has the bar with this kinda stuff
PunBB.org Index User list Rules Search Profile Logout
go to reinet.org
i want something like the downloads thing
could you kinda guide me on a project like this??
Rename the .html file .php.
<?PHP
echo "
<html>
<head>
<title>Page title</title>
</head>
<body>
Page body
</body>
</html>";
?>
is
<html>
<head>
<title>Page title</title>
</head>
<body>
Page body
</body>
</html>
so just change this to this
<html>
<head>
<title>Page title</title>
</head>
<body>
Page body
</body>
</html>
to
<?PHP
echo "
<html>
<head>
<title>Page title</title>
</head>
<body>
Page body
</body>
</html>";
?>
and then im done???
No. That works, but there's no reason to do it that way.
PHP is basically just HTML with code embedded in it, inside "<?php" and "?>". All you have to do is make sure no HTML is inside "<?php" and "?>".
What is it you're trying to do, exactly?
im trying to make a link like on this site
reinet.org
i want a downloads thing like his
so guests cant see it and it will update with other people displays ect..
can someone help
i really could use this
Cows
reinet.org appears to be a domain squatter. Did you mistype?
cows you need to look in functions.php under generate_navlinks ()
php is NOT an alternative to html, it is a way of doing some thinking then outputting different html depending on certain conditions
PunBB Forums → Programming → How do you convert html to php??
Powered by PunBB, supported by Informer Technologies, Inc.