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

Administration Joomla! 5.x • Using JDatabse for Updating a record

$
0
0
I am trying to understand/learn the use of jDatabase on a Joomla 5.1 site, trying to follow the example in https://docs.joomla.org/J4.x:Inserting_ ... _JDatabase.
I have successfully implemented Insert statements but can't seem to get my Update statement to work.
Attached is the Update code with 5 error_log statements and following is the error_log output. The message on the screen is "Unknown column '$my_birth_date' in 'field list'" - $my_birth_date is a variable that has been tested and is a correct string. I don't feel I am trying to express it as a column in a field list. One additional thing I don't understand is, if the conditions are defined as an array, how does the operator (in this case AND) get defined?
I hope I have explained this clearly and someone can help me to understand.
help_request.txt

Statistics: Posted by Lxg — Sun Sep 01, 2024 8:32 pm



Viewing all articles
Browse latest Browse all 1589

Trending Articles



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