Jump to content

[SOLVED] Table Names from Strings


kingnutter

Recommended Posts

Hi everyone,

 

I'm just getting back into php/mysql after a few months so apologies if I'm a bit rusty.

 

I am putting together a site which allows users to create their own pages with all data stored in their own table(s).

 

My question is, is it possible for the tables to be meaningfully named by the user e.g. generate a Mysql query within a php page along the lines of:

 

CREATE TABLE $userCreatedTitle_data...

 

I do hope this makes sense!

 

Any help appreciated,

 

Gary

 

 

Link to comment
https://forums.phpfreaks.com/topic/107888-solved-table-names-from-strings/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.