Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1864

Joomla! 5.x Coding • Re: Plugin to notify users of new articles

$
0
0
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")?

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



Viewing all articles
Browse latest Browse all 1864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>