tkaeer
01-08-2010, 09:46 PM
Hey!
I'm trying to put a variable in my array I have but it doesn't work :(..
Here is my script with a variable:
while($idet = mysql_fetch_array($q_rostning)){
$namnen = array($idet['Namn']);
if (!in_array("tkaeer", $namnen)){
And this will not work for me :(..
Here is my script with some random data:
while($idet = mysql_fetch_array($q_rostning)){
$namnen = array("tkaeer", "randomname", "anotherrandomname");
if (!in_array("tkaeer", $namnen)){
Is there possible to to this kind of thing? :)
/Tkaeer :)
I'm trying to put a variable in my array I have but it doesn't work :(..
Here is my script with a variable:
while($idet = mysql_fetch_array($q_rostning)){
$namnen = array($idet['Namn']);
if (!in_array("tkaeer", $namnen)){
And this will not work for me :(..
Here is my script with some random data:
while($idet = mysql_fetch_array($q_rostning)){
$namnen = array("tkaeer", "randomname", "anotherrandomname");
if (!in_array("tkaeer", $namnen)){
Is there possible to to this kind of thing? :)
/Tkaeer :)