up non vā solo con articolonon capisco :master:
codice:$colname1_offerte = "1"; if (isset($_GET['categoria'])) { $colname1_offerte = (get_magic_quotes_gpc()) ? $_GET['categoria'] : addslashes($_GET['categoria']); } $colname2_offerte = "1"; if (isset($_GET['radiobutton'])) { $colname2_offerte = (get_magic_quotes_gpc()) ? $_GET['radiobutton'] : addslashes($_GET['radiobutton']); } $colname_offerte = "1"; if (isset($_GET['articolo'])) { $colname_offerte = (get_magic_quotes_gpc()) ? $_GET['articolo'] : addslashes($_GET['articolo']); } mysql_select_db($database_conn, $conn); $query_offerte = sprintf("SELECT * FROM listino WHERE articolo LIKE '%s%%' AND categoria LIKE '%s%%' AND stato LIKE '%s%%' ORDER BY articolo ASC", $colname_offerte,$colname1_offerte,$colname2_offerte); $query_limit_offerte = sprintf("%s LIMIT %d, %d", $query_offerte, $startRow_offerte, $maxRows_offerte); $offerte = mysql_query($query_limit_offerte, $conn) or die(mysql_error()); $row_offerte = mysql_fetch_assoc($offerte);![]()

non capisco :master:
Rispondi quotando