Most of the websites use this alternating color to tables which will make the user readability of table content. We can use any of the colors you want.
I am writing php code which will print the data present in the mysql table in a alternating color format.
<?php
//Database Connection inputs
$host=”localhost”; // Host name
$username=””; // Mysql username
$password=””; // Mysql password
$database=”mydb”; // Database name
$table=”mytable”; // Table name
// Connect to server and select databse
mysql_connect(“$host”, “$username”, “$password”)or die(“cannot connect”);
mysql_select_db(“$mydb”)or die(“cannot select DB”);
$sql=”SELECT * FROM $mytable”;
$result=mysql_query($sql);
// [...]
Categories: PHP
Ok so you want to create animations online… What’s stopping you?
Probably a combination of things but I blame Google mainly.
I know, thus is going to cause another uproar from the Google Boosters out there but facts are facts, and they’ve become damn hard to find since Google’s algorithyms have almost entirely crippled new web development.
The answers are there but they’ve been buried below trash directory after trash directory, hobby sites that employ Google approved tactics to gain undue rank, sites [...]
Categories: PHP

