If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > PHP > table in the database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-30-10, 19:40
free2saute free2saute is offline
Registered User
 
Join Date: Jun 2010
Posts: 2
Question table in the database

Dont know if this is the right place for this question but here it goes

I have purchased a module for open cart and it tells me to add this

you will need to add a field to the "products" table in the database. Using phpMyAdmin, run the following query against your database (replace DB_PREFIX with your own database prefix):–

But i have no clue where to start.
Reply With Quote
  #2 (permalink)  
Old 07-01-10, 01:05
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,262
how did you create your database in the first place?
if you have rights to create tables then you could just as easily do this using code, as you use a dialect of SQL, called DML, to create or modify the schema (the tables)

I'd suggest your first point of call would be to talk to the ISP you use and ask them how to add a new table to your DB. My guess is that they will not allo you to modify the schema using code (too dangerous) and that they will let you use the PHP based tool called PHPMyAdmin

the dbprefix bit is the name of your database on the ISP's server
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On