Jump to content

filter


girlzz

Recommended Posts

$colname_mass = "-1";
if (isset($_GET['s_code'])) {
  $colname_mass = $_GET['s_code'];
}
mysql_select_db($database_mas, $mas);
$query_mass = sprintf("SELECT * FROM medic_registered_course WHERE s_code = %s", GetSQLValueString($colname_mass, "text"));
$mass = mysql_query($query_mass, $mas) or die(mysql_error());
$row_mass = mysql_fetch_assoc($mass);
$totalRows_mass = mysql_num_rows($mass);

Link to comment
https://forums.phpfreaks.com/topic/119099-filter/#findComment-613284
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.