Posts Tagged ‘PHP’
PHP Syntax
PHP is a scripting level language that is very powerful. It is enbedded within HTML tags . PHP always starts with a block, like so.
<?php
?>
To show text you either use the ( echo ) tag or the ( print ) tag. Like so:
<html>
<body>
<?php
echo " my page"
?>
</body>
</html>
Comments will look like this.
//comment here
A comment block will look like this:
/* this
is a
blocked comment*/
That is the simple PHP syntax. Thank you for reading and there will be more to come.
Sincerely,
Brick
Tags: comment, Echo or print, PHP, Syntax
Installing XAMPP - PHP & MySQL
My computer is a Windows XP PRO running SP2 and the goal is to get PHP & MYSQL installed and running so I cna learn to write websites in PHP.
The first Problem I ran into is that I run a Windows machine. I wanted to install PHP, MYSQL, PHPADMIN & Apache as my webserver. I found this was all available for my windows machine with XAMPP, I went to The download site located HERE, I downloaded and choose the RUN option.
During Install I was asked wether or not to install this as a service, I decided not to as I did not want all these starting when I boot up my computer. Instead I would rather turn on and off the services as I needed them.
After install I opened a browser and typed Localhost and the XAMPP splash page appeared. I selected my Language of choice (English) and then Selected Security to see what was secure & Unsecure.
Tags: APACHE, MySQL, PHP, PHPADMIN, Webserver, Windows XP PRO running SP2, XAMPP
Website Development & Internet Marketing Blog
Welcome to my new Internet marketing & Website development blog. this blog will cover topics from traditional (Offline) marketing to cutting edge techniques for SEO (Search Engine Optimization) , Social Marketing, Viral Marketing, PPC, Link building, Content management and so much more.
We will also take on website design, tips & tricks , Ajax, PHP, ASP, Dot Net, widgets and more.
Itf it has to do with building your business onlne we will try to cover it!!
Tags: Ajax, ASP, Content management, Dot Net, Link building, PHP, PPC, SEO, Social Marketing, Viral Marketing, widgets