You are here:  » insert file

Support Forum



insert file

Submitted by konpapdo on Wed, 2011-04-20 09:25 in

In which file are the products inserted into the database?I mean where is executed a mysql query 'INSERT INTO pt_producs VALUES (...)' or something like that beacause i have a problem with greek characters endcoding and i want to add some mysql querys.

Submitted by support on Wed, 2011-04-20 09:30

Hi konpapdo,

The product INSERT SQL construction begins at line 321 in includes/admin.php.

If you're having character encoding problems; first ensure that your MySQL database has been created with the correct collation (you can check this using phpMyAdmin) and that the character set of the collation matches your Price Tapestry $config_charset value in config.php.

Hope this helps!

Cheers,
David.
--
PriceTapestry.com