Initialize variable before appending to it.
This commit is contained in:
parent
d4359b133e
commit
6cee2ac634
1 changed files with 2 additions and 0 deletions
|
@ -190,6 +190,8 @@ else if(isset($_REQUEST['w'])){ // write to a record
|
||||||
}
|
}
|
||||||
else if(isset($_REQUEST['q'])){ // read a record
|
else if(isset($_REQUEST['q'])){ // read a record
|
||||||
|
|
||||||
|
$out = "";
|
||||||
|
|
||||||
$given_webkey = $_REQUEST['q'];
|
$given_webkey = $_REQUEST['q'];
|
||||||
$sql = "SELECT * FROM $avpos_table"
|
$sql = "SELECT * FROM $avpos_table"
|
||||||
. ' WHERE webkey = ' . StrSQL($given_webkey);
|
. ' WHERE webkey = ' . StrSQL($given_webkey);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue