mysql() function is deprecated in php 5.3, DBgetInsert() function seems
like from typo3 v 3.8 (correct me if I'm wrong)
Try this (http://doc-typo3.ameos.com/4.1.0/classt3lib__DB.html) - works
for 4.5
global $TYPO3_DB;
$insertArray = array(
'pid' => 45,
'field_1' => 'field1_value',
....
oter fields
);
$TYPO3_DB->exec_INSERTquery("tx_storeplugin_cinema", $insertArray)
On 9/4/2013 7:22 AM, Salander wrote:
Hello,
Firstly, I'm crap at english, I hope you'll understand my statement.
I'm working on a TYPO3 6.1 website.
I imported a plugin on this website. I must debug it because, somehow,
it doesn't store the text form submitted into a typo3 folder. ( The
plugin is like user registration, kinda )
I tried to read some documentations but they are NOT AT ALL
noob-friendly. There is a lack of details.
Here is the SQL querry, writted in the extension .php, that must store
the data into a TYPO3 folder :
$query =
$this->cObj->DBgetInsert("tx_storeplugin_cinema", $pid, $dataArr,
$fieldList);
mysql(TYPO3_db, $query);
What should I do/put in this file to know if the problem is here? I
hope you may help me, I need to learn much about TYPO3.
Thanks.
Cordialement,
Salander
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english