update for php7
This commit is contained in:
@ -44,7 +44,7 @@ require('config.inc.php');
|
||||
$select_search_ric = '
|
||||
<select name="search_ric" id="search_ric">';
|
||||
|
||||
$result = mysqli_query("SELECT id, org_name, org FROM organisation WHERE org != '' ORDER BY org ASC, org_name ASC") or die (mysqli_error());
|
||||
$result = mysqli_query($dbconn, "SELECT id, org_name, org FROM organisation WHERE org != '' ORDER BY org ASC, org_name ASC") or die (mysqli_error());
|
||||
while($row = mysqli_fetch_array($result))
|
||||
{
|
||||
$select_search_ric .= '
|
||||
@ -153,7 +153,7 @@ require('config.inc.php');
|
||||
// Auslesen pocsag
|
||||
if( $_REQUEST["search_what"] == 'ric' && $_REQUEST["search_ric"] != '' || $_REQUEST["search_what"] == 'word' && $_REQUEST["search_word"] != '' || $_REQUEST["search_what"] == 'word' && $_REQUEST["search_word_org"] != '' )
|
||||
{
|
||||
$result = mysqli_query("SELECT a.adresse AS adresse_neu, a.bezeichnung AS bezeichnung_neu, a.rec_typ, a.text, DATE_FORMAT(a.zeit, '%Y%m%d%H%i%s') AS zeit, a.funktion,
|
||||
$result = mysqli_query($dbconn, "SELECT a.adresse AS adresse_neu, a.bezeichnung AS bezeichnung_neu, a.rec_typ, a.text, DATE_FORMAT(a.zeit, '%Y%m%d%H%i%s') AS zeit, a.funktion,
|
||||
b.adresse, b.formatierung_id, b.bezeichnung,
|
||||
c.id, c.bg_farbe, c.text_farbe, c.text_format, c.text_groesse, c.text_groesse_text,
|
||||
d.org_name, d.org
|
||||
|
Reference in New Issue
Block a user