This will start the counter at zero
ALTER TABLE tbl_name AUTO_INCREMENT = 0
This will start the counter at 10
ALTER TABLE tbl_name AUTO_INCREMENT = 10
ALTER TABLE tbl_name AUTO_INCREMENT = 0
ALTER TABLE tbl_name AUTO_INCREMENT = 10
Always double check if you're editing the right file
<?xml version="1.0" encoding="utf-8"?> <install type="component" version="1.5" method="upgrade"> <name>JC Hello World</name> <creationDate>February 2012</creationDate> <author>Joef Clarin</author> <version>3.0.0</version> <description>JC Hello World</description> <files> <filename>jchelloworld.php</filename> <filename>controller.php</filename> <folder>views</folder> <folder>models</folder> </files> <administration/> </install>
<?xml version="1.0" encoding="utf-8"?> <install type="component" version="1.5" method="upgrade"> <name>JC Hello World</name> <creationDate>February 2012</creationDate> <author>Joef Clarin</author> <version>3.0.0</version> <description>JC Hello World</description> <files> <filename>jchelloworld.php</filename> <filename>controller.php</filename> <folder>views</folder> </files> <administration/> </install>
<?xml version="1.0" encoding="utf-8"?> <install type="component" version="1.5" method="upgrade"> <name>JC Hello World</name> <creationDate>February 2012</creationDate> <author>Joef Clarin</author> <version>3.0.0</version> <description>JC Hello World</description> <files> <filename>jchelloworld.php</filename> <filename>controller.php</filename> <folder>views</folder> </files> <administration/> </install>
<?xml version="1.0" encoding="utf-8"?> <install type="component" version="1.5" method="upgrade"> <name>JC Hello World</name> <creationDate>February 2012</creationDate> <author>Joef Clarin</author> <version>2.0.0</version> <description>JC Hello World</description> <files> <filename>jchelloworld.php</filename> <filename>controller.php</filename> </files> <administration/> </install>
$_SERVER['HTTP_REFERER']
$refer = $_SERVER['HTTP_REFERER']; echo "You were referred by " . $refer;
You were referred by http://entertainmentgames09.blogspot.com
SELECT * FROM table1 WHERE column1 LIKE '%a';
SELECT * FROM table1 WHERE column1 LIKE '%a%';
SELECT * FROM table1 WHERE column1 LIKE 'a%';
SELECT * FROM table1 WHERE column1 LIKE '_ _ _ _';
SELECT * FROM table1 WHERE column1 IN ("an", "be", "cy");
SELECT * FROM table1 ORDER BY name;
SELECT * FROM table1 LIMIT 20;
SELECT COUNT(*) FROM table1 WHERE column1 = 'asdf';
SELECT MAX(column1) FROM table1;