in reply to Error with the bind_param

Win:

>Sigh<

You need to actually have a statement handle to execute bind_param on it. You're trying to do your binding before you create it. Something like painting a house before you build it....

...roboticus