Firstly, this is not going to be used maliciously. It is for test purposes on a BBS that I'm coding.
How would I go about injecting an insert query? I'll use a generic code:
mysql_query("INSERT INTO data (fData, sData) VALUES('" + $fData + "', '" + $sData + "')");
Let's say the variables $fData and $sData come straight from my html forum without passing through any checks(no strip_tags() or get_magic_quotes_gpc() functions). Now, I know how to inject a select from query, but I don't know how I would inject this?
Any help is appreciated.