

>> Demo <<
Name: u3games, u3games1, u3games2, u3games3, u3games4, u3games5
Pass: u3games, u3games1, u3games2, u3games3, u3games4, u3games5
>>> DOWNLOAD <<<
Notice: Undefined index: a in C:\xampp\htdocs\vote\painel.php on line 8hope wrote:say error
Code: Select all
$p = $_GET['a'];
Code: Select all
if(isset($_GET["a"])){//.... your code here}
I need "$p", is supposed to be the value of the object to deliver.mochitto wrote:Add one more if to 1st line.SQL Inject possible?Code: Select all
if(isset($_GET["a"])){//.... your code here}
Code: Select all
if(isset($_GET['a'])){ $p = $_GET['a']; //no error because $_GET['a'] exist//more your code}
Thx mochitto, error in painel.php resolved.mochitto wrote:function isset() checks if var $_GET[a] exist. if exist return true.Code: Select all
if(isset($_GET['a'])){ $p = $_GET['a']; //no error because $_GET['a'] exist//more your code}
Code: Select all
while($item = mysql_fetch_row($select)) {
Code: Select all
return $rec;
Code: Select all
\t\t<input type='hidden' name='id' value='{$chararray_session['obj_Id']}' />
Code: Select all
\t\t<input type='hidden' name='id' value='{$chararray_session['obj_Id']}' />
Code: Select all
isset($_GET["a"]) ? $p = $_GET["a"] : $p = "";
Code: Select all
if(isset($_GET['a'])){ $p = $_GET['a']; //no error because $_GET['a'] exist}else{ $p = "";}
Do not worry about the language, thank you very much for your help.mochitto wrote:Here you are fixed it for Hi5.
PS: I dont know Spanish lang, so sorry for english vars..
From the web, requesting to have x number of votes taken.LaP1 wrote:And how player can get the vote reward in game ?