mirror of
https://github.com/Mibew/i18n.git
synced 2025-01-22 21:40:28 +03:00
code cleanup
This commit is contained in:
parent
3d368c6783
commit
9d9cbf7e81
@ -359,7 +359,7 @@ function connect()
|
||||
|
||||
function perform_query($query, $link)
|
||||
{
|
||||
mysql_query($query, $link) or die(' Query failed: ' . mysql_error($link) /*.": ".$query*/);
|
||||
mysql_query($query, $link) or die(' Query failed: ' . mysql_error($link));
|
||||
}
|
||||
|
||||
function select_one_row($query, $link)
|
||||
@ -372,7 +372,7 @@ function select_one_row($query, $link)
|
||||
|
||||
function select_multi_assoc($query, $link)
|
||||
{
|
||||
$sqlresult = mysql_query($query, $link) or die(' Query failed: '.mysql_error($link));
|
||||
$sqlresult = mysql_query($query, $link) or die(' Query failed: ' . mysql_error($link));
|
||||
|
||||
$result = array();
|
||||
while ($row = mysql_fetch_array($sqlresult, MYSQL_ASSOC)) {
|
||||
@ -688,4 +688,4 @@ function jspath()
|
||||
return "js/$jsver";
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
Loading…
Reference in New Issue
Block a user