Hi all,
I've been posting a lot here so I'm sure you're all getting bored with me I am just about done now though!
One thing I am struggling with is using in_array(). I can use it fine with an array I just made like $xyz = array("x", "y", "z"); but how would I make it work with a database when I have $xyz = mysql_fetch_array($blah); I tried just doing if(in_array("blah", $xyz) { ... } but that didn't work. I wasn't expecting it to because the info I need is in $xyz['day'] (the 'day' column in the MySQL database) and you can't do $xyz['day']['1' etc. so I'm a little confused on how I can do this? Maybe I have to use a loop function? Please advise!
Thanks
Max