By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,496 Members | 1,528 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,496 IT Pros & Developers. It's quick & easy.

bind_param() not being recognized as a method

P: 2
this is driving me nuts.... I have a stored procedure with two variables. I want to pass those variables ($name, $ID) from PHP code but when I use the method bind_param i get an error saying that it is an invalid method.
I am using mysqli.
what is wrong?

Thanks in advnce
Oct 24 '19 #1
Share this Question
Share on Google+
1 Reply

P: 2
This is the procedure:

Expand|Select|Wrap|Line Numbers
  1. CREATE DEFINER=`barry`@`%` PROCEDURE `sp_User_sign_on`(id varchar(45),pw varchar(45))
  2. BEGIN
  3. select * from members where m_UserID = id and m_PW=pw;
  4. END
Oct 24 '19 #2

Post your reply

Sign in to post your reply or Sign up for a free account.