Search found 3 matches

by rockboy
Thu Feb 08, 2007 3:14 am
Forum: PHP - Code
Topic: MySpace Style get variables
Replies: 1
Views: 501

MySpace Style get variables

hey

i'm sure there is a simple answer to this, how do i set up the site so i can collect 'get' variables like myspace does eg: http://myspace.com/username where username is the value of the variable.

many thanks
glen
by rockboy
Thu Nov 30, 2006 6:00 pm
Forum: PHP - Theory and Design
Topic: DAO Generator Design
Replies: 4
Views: 1517

DAO Generator Design

hey all i'm about to embark on creating a DAO generator, which not only generates the php code for the class for each table, but also generates all the sql stored procedures thus enabling the php classes to access only stored procedures rather then sending long sql strings to the database, i have ha...
by rockboy
Thu Feb 23, 2006 8:46 am
Forum: PHP - Code
Topic: Checking if table exists
Replies: 1
Views: 225

Checking if table exists

hello

i'm trying to write a function which creates tables when they don't already exist, i have seen the mysql_list_tables function and could build something of that but i was wondering if there was already a cleaner way of doing this.

eg:

Code: Select all

if (table_exists("members")){
....
}
thanx