PHP and oracle database 10g Enterprise Edition Part 2

Posted by Shek on May 1, 2011 under Oracle, PHP | Be the First to Comment

In this post, I will continue my recording on PHP and oracle database 10g Enterprise Edition

Read more of this article »

PHP and oracle database 10g Enterprise Edition Part 1

Posted by Shek on under Oracle, PHP | Be the First to Comment

In this post, I recorded the operations which I have used in my past web project which involving PHP and the oracle database 10g Enterprise Edition.

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 »

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 »

Display all field (column) names of a table in MySQL database

Posted by Shek on November 23, 2008 under PHP | Be the First to Comment

Editor’s note: I mentioned in my previous post Display data from MySQL with PHP which I demonstrated how to display the data of a row within a table, now I want to demonstrate how to display all field names (column names) of a table within a MySQL database.
Read more of this article »

Find the number of column (field) of a table in MySQL database

Posted by Shek on November 16, 2008 under PHP | Be the First to Comment

To find and print out the number of column (field) of a table in MySQL database, we have to use a php function “mysql_num_fields()” to get the number and to use a variable to store the result, here I have created an example to demonstrate how to do so:

Read more of this article »