jQuery POST data to PHP
Posted on 2010-08-15
I've got this code, but it's not correct since the parameters I'm posting aren't correctly yet.
var artistname = $("input#artistname").val();
I need the parameters replaced by the var artistname, I just can't figure it out.
In the PHP file it needs to be catched by: $artistname = trim($_POST['artistname']);
Someone help please