Prepare statement in MySQL doesn't work
Posted: Wed Sep 02, 2009 2:26 pm
Hello.
I have MySQL 4.1 and i'm trying to use:
but unfortunately i get no result.
I want to use this way for MySQL injection.
Any help please?
I have MySQL 4.1 and i'm trying to use:
Code: Select all
PREPARE stmt_name FROM 'SELECT * FROM hello WHERE id= ?';
SET @test_parm = 1;
EXECUTE stmt_name USING @test_parm;
DEALLOCATE PREPARE stmt_name;I want to use this way for MySQL injection.
Any help please?