On Fri, Mar 25, 2011 at 09:00, matty jones wrote:
> I used the format of your link and that gave me something like what I was
> looking for, so I am sure now the error is just in my markup. How would I
> get this to work without passing it a value or does the function not work
> like that, in whi
On Fri, Mar 25, 2011 at 8:23 AM, wrote:
> Correct me if I wrong, but you're declaring $id AFTER binding the SQL
> parameter, therefore your :id isn't being bound to anything, hence the empty
> returned array.
>
> I think:
> $d_series_fetch = $db->prepare("SELECT * FROM defaultseries WHERE publish
On Fri, Mar 25, 2011 at 8:24 AM, Daniel Brown wrote:
> On Fri, Mar 25, 2011 at 08:18, matty jones wrote:
> > I get the following error " PHP Notice: Undefined index: publisher in
> > /var/www/testfunctions.php on line 65" and I have narrowed it down to
> what I
> > *think* is a variable not bei
On Fri, Mar 25, 2011 at 8:34 AM, Daniel Brown wrote:
> On Fri, Mar 25, 2011 at 08:24, Daniel Brown wrote:
>
> And, now that I'm not on a three-inch screen, I can see that I
> didn't read your entire message, so my response appears rather idiotic
> --- because you already did the isset(). So
On Fri, Mar 25, 2011 at 08:24, Daniel Brown wrote:
>
> So, as you can see, it's complaining because you didn't give it
> that information. If you don't always want to have to do so, surround
> it with an isset() case.
And, now that I'm not on a three-inch screen, I can see that I
didn't r
On Fri, Mar 25, 2011 at 08:18, matty jones wrote:
> I get the following error " PHP Notice: Undefined index: publisher in
> /var/www/testfunctions.php on line 65" and I have narrowed it down to what I
> *think* is a variable not being declared. Here is the code.
This line is the issue:
> i
Correct me if I wrong, but you're declaring $id AFTER binding the SQL
parameter, therefore your :id isn't being bound to anything, hence the empty
returned array.
I think:
$d_series_fetch = $db->prepare("SELECT * FROM defaultseries WHERE publisher >>
:id");
$id = 'DC Comics';
$d_series_fetch->b
7 matches
Mail list logo