In a recent tutorial I was showing you how to build a connection to MySQL database via PHP. In this one I will show you how to create a query to interogate a table of the database. Look below :
<?php
$query = mysql_query("select * from table_Name");
?>
* – sign means all, so by using this query, you will select all fields from a table_Name
In this tutorial I will speak first time about php programming language and MySQL database engine togheter. I will show and explain how simple is to connect to a mysql server via php using a simple functio called mysql_connect().
mysql_connect('localhost', 'mysql_database_user', 'mysql_db_password') or die("not connected to db");
Hello you guys searching for Hostgator Coupon codes, do you plan to sign up for a web hosting plan under Hostgator? If the answer is yes, then you should really go with a hostgator coupon code which will save some money. First, click here to go to hostgator , choose a plan (I recommend Baby Plan), then at the final enter one of this two coupons : JURY for $9.94 or SPRING for 20% – then click “Calculate” totals or something like that and taddaaa, good savings. I hope it’s usefull for you : I use Hostgator on all of my websites and never had troubles, they give adwords coupons of 25$ too, so, a lot of advantages!
In the early days of blogging, people use it to document events and experiences that they’ve been through. Then came a time where the whole concept of blogging evolved. As of now blogs do not just talk about personal experiences. They can also be used for news reporting, product reviews, online marketing, and many others.
The Internet community is growing bigger each day and because of this, many companies would always want to have a presence in the Web. There are several reasons why a company should publish their own website. Some of them would want to sell products and services on the Internet. Others just want to have publicity through advertisements.
Many of these web design companies choose the blog format in putting up their websites. One of the major reasons for this is the popularity of the blog format. A blog site is easy to navigate and it can provide a clean look for the website.
Putting up a blog site is easy. One can easily find blogging software applications on the Web and many of them are free. A company who wants publicity over the Web can put up a blog with articles reviewing their products and products of competing brands. Service oriented companies would usually talk about their services in the blog. There are companies who put up their blogs to post updates and news about the company. This is typical and seen in banking and finance companies. Creating a blog with custom web development is an easy way of establishing Web presence for a company. Visitors can easily browse the website if it is in a form of a blog.
Hello folks,
BTW Happy Easter,my traffic this weekend decreased dramatically because of the hollidays, I hope you enjoy it.
I want to clarify something that I might missed to say about php $_POST : this $_POST is an php array, if you want to see yourself, make recursive print with print_r() function. For example if you have a form, you can get all values in one time with this php $_POST array by typing
<?php
print_r($_POST);
?>
Hello,
I didn’t posted for a long time because I am simply stucked into finding a subject. I made a search into my own blog and I saw that (miraculous btw) I didn’t writed yet about substr function which helps you to print only a part of a string – substract it!
<?php
$stringIs = "mystring";
$substract = substr($stringIs, 0, 3);
print $subtract;
?>
First you declare the string you want substracted, then first number means from where to start and the last no. means where to finish.
Taddaaa!

Do you need hosting managed web? My advice is to check review sites before taking a decission. What is hosting managed web? It’s a “normal” service, but as we all know, the server where it’s hosted it’s managed, maintained by someone.
Please note this post is a test of mine so dont give big attention, thanks!