Message of the day:
Latest 3.x release: 3.7.3 - it runs on php 7! This is the channel for any SS3-related questions
Backend discussions on SilverStripe 3. For version 4 or newer, see #C36U3BDHN|ss4 or #C0QSDASKT|general. If you are using a version lower than SS3.4, please state, because it makes a difference!
because that name implies to me its a many, not a one
ok, and have you verified that
$Podcasts->ID === 1?
I want to get all my PersonID which has PodcastID 1.
->sql($params) is just a sanity check that the right id is being passed in
im not sure i understand what you are trying to achieve
no its just for the
sql() method - the data should be
Can I use that
$param array in
filter as well and get the data?
are you calling
->sql() on the above? it looks like you can call
->sql($params) and then
$params will be loaded as an array with all of the bindings in place
as much as i hate to link to w3schools = https://www.w3schools.com/php/php_mysql_prepared_statements.asp