Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 3948

MySQL is a database system used by many websites on the Internet. Joomla is based on PHP and MySQL.

1 vote
2 answers
189 views

How to use NOW() with DatabaseDriver->insertObject()

I'm inserting an object in a database table using joomla 4, as per joomla docs: $toInsert = new stdClass(); $toInsert->update_timestamp = 'NOW()'; $toInsert->id = null; $db = Factory::getContainer()- …
5 votes
3 answers
2k views

What to use instead of getNumRows() in Joomla 3.x

It is my understanding that $db = JFactory::getDbo(); $db->setQuery($sql); $db->execute(); $numRows = $db->getNumRows(); Does not work in Joomla 3.x, right? I get a "Mysql_num_rows() e …