WordPress – Auto create Post into the MySQL database from Excel data file

Posted by Shek on October 5, 2011 under WordPress | Be the First to Comment

In the post, I would like to show you how to create post for wordpress without having to use the wordpress admin console. This will be done by creating the posts into the wordpress MySQL database

Read more of this article »

SQL – join 2 mysql tables and get data result from them

Posted by Shek on March 16, 2011 under MySQL | Be the First to Comment

In this post, I am going to talk about how to get data from 2 mysql tables instead of 1 table with a sql.

Here are 2 mysql tables (The field types are ignored in this examples): Read more of this article »

Create multiple HTML tables with PHP for loop

Posted by Shek on June 22, 2010 under PHP | Be the First to Comment

Editor’s note: To create one HTML table is easy, but to create multiple HTML tables, We have to copy and paste the code many times. However we could do the job with a PHP for loop.
Read more of this article »

Use PHP to change MySQL field size

Posted by Shek on June 15, 2009 under PHP | Be the First to Comment

In this example, I am going to show you how to use PHP to change a MySQL database’s field size.

Read more of this article »

Change the MySQL database table encoding to UTF8 with PHP

Posted by Shek on June 10, 2009 under PHP | Be the First to Comment

Editor’s note: In some cases, when you have forgotten to preset the MySQL database table encoding to UTF8 after the creation of the database but later you need to insert some UTF8 text such as Chinese or other Asian languages, here is how you could do with PHP to change the encoding of the MySQL database table.

Read more of this article »

Insert all array elements into MySQL database table’s different fields

Posted by Shek on December 28, 2008 under PHP | Read the First Comment

Array is a good way to store many elements, in some operations you might like to store all of the array elements into different row of a table in a MySQL database. To store into different row, we can use a for loop to go through each elements and run a query to insert them 1 by 1. This example, I go show you to insert into different fields.
Read more of this article »

Page 1 of 212