Ah, that is much better already. At least it's trying to execute my code.
I get an error though:
Table 'd0403e04.#_fields' doesn't exist.
So, does that mean that I can't use "#" for table names (like in my case "#_fields")?
I get an error though:
Table 'd0403e04.#_fields' doesn't exist.
So, does that mean that I can't use "#" for table names (like in my case "#_fields")?
Code:
$query = $db->getQuery(true) ->select('COUNT(*)') ->from($db->quoteName('#_fields')) ->where($db->quoteName('name') . ' = ' . $db->quote('notify_on_new_content'));
Statistics: Posted by frankw80 — Thu Jun 06, 2024 8:57 am