Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

How to create a PHP web-page?

Ads
make money online
destroyer Offline referral

Posts: 430
Joined: Jul 2013
Reputation: 3

#1
Senior Member
I have a bit of knowledge creating HTML web-pages but since I need to add some PHP code to my HTML code I would really appreciate if some could explain how to make a PHP page that will content my HTML content along with PHP?
marcus_avrelius Offline referral

Posts: 2,515
Joined: May 2013
Reputation: 107

#2
Support Team
Here is how you create PHP page! Remember to save it as page.php

PHP Code:
<?php
// your php code goes here!

// HTML begins here!
<html>
<
head>
</
head>
<
body>
</
body>
</
html>
?>

Directly add php into html code! First declare it in the PHP area and then use the variable in the HTML area!
vikas Industries Offline referral

Posts: 72
Joined: Apr 2015
Reputation: 0

#3
Member
<html>
<body>

<?php
echo "My first PHP Program!";
?>

</body>
</html>
dswtechnologies Offline referral

Posts: 96
Joined: Aug 2015
Reputation: 1

#4
Member
you can start with <? and end with ?> you can test anything between this code.
damponting44 Offline referral

Posts: 537
Joined: Oct 2016
Reputation: 0

#5
Senior Member
Take after these means to setup this venture in your server:

1. Download the venture compress document (connect is accessible underneath).
2. Make an envelope name straightforward site under your htdocs/www organizer.
3. In your phpmyadmin make a database named basic site (you can give some other name as well). ...
4. Go to constants.php under libs envelope.



Google this topic


User(s) browsing this thread: 1 Guest(s)