Hi,
I'm trying to understand how to send two IDs to a delete statement, but I can't quite get it right.
At the moment the code looks like this:
sprintf("DELETE FROM arms_screen_control WHERE screen_id=%s AND control_id=%s",
GetSQLValueString($_GET['screenID'], "int")
GetSQLValueString($_GET['controlID'], "int"));
GetSQLValueString converts the numbers into strings.
Does sprintf know to put the first argument (screenID) in where %s appears first and to put the second argument (controlID) where %s appears second?
Thanks
Hanlie