Hi friends,

any body just give how to call store procedure from php with mysql function not using mysqli function...

Recommended Answers

All 2 Replies

Usually its mysql_query("call prodecure_name(params)"); .

Why couldn't you find this with a search engine? Its simple.

DELIMITER $$
CREATE PROCEDURE `inserttest`(IN name VARCHAR(100), IN class VARCHAR(100))
BEGIN
	INSERT INTO test set `name`=name, `class`=Class;
	
END$$
DELIMITER ; 
///////////// way to call the store proceedure

CALL inserttest('TEST','class');
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.