Insert into database table - Joomla! Forum - community, help and support
hi,
im working on first joomla plugin , managed done point..
what want insert 2 values database table created earlier , (the same code used create table except query) doesnt seem trick:
i think read somewhere joomla has different class handeling sql insert , update? can give me pointers how can done?
since im new joomla , quite inexpierienced in dealing objects appreciate detailed explenation possible

im working on first joomla plugin , managed done point..
what want insert 2 values database table created earlier , (the same code used create table except query) doesnt seem trick:
code: select all
$db =& jfactory::getdbo();
$query = "insert #__imginfo (filen, flocation) values ($value, $asukoht)";
$db->query( $query );
i think read somewhere joomla has different class handeling sql insert , update? can give me pointers how can done?

since im new joomla , quite inexpierienced in dealing objects appreciate detailed explenation possible


Comments
Post a Comment