Jump to content

Kristian_C

Members
  • Posts

    246
  • Joined

  • Last visited

Everything posted by Kristian_C

  1. Fullcode -------------------------------------Link<a href=page.php?variable=value>value</a> if(strip_tags($_GET[What u want])){$What you want=strip_tags($_GET[what you want]);mysql_query("what u want");echo "what u want";} just had to was bored
  2. Hey, maybe you will find what you are looking for here :http://javascript.internet.com/navigation/...ing-window.html
  3. Looks like it should work, i use this one :<embed src="file" width=0 height=0 play=true loop=true quality=high></embed>if u want to try it =)
  4. <form name="form"> <textarea name="textarea">Hey</textarea></form> Like this? or? not quite sure i understand what u meen
  5. Hey .I've been trying to look ower a few sites but cant find it, and its harder when i dont know what the function is named.its like you have 4 tables :1menu1banner1main (where the page goes)1stats page.i have all tables and that stuff just need help to find the script im looking for.anyone here that can help me?-----------------------------------------------------------------------Tested out the Ajaxnavigation2 but it dident support my forums dont know why though,i had one script like it before but cant remeber where i got it from or how it was, just know it is javascript of some kind.it was like a strechable iframe and if($page == "sell"){ require_once"sell.php";to get page we used GET function if i aint wrong.. Have searched about everwhere now, and no1 seems to know it, should not be so hard i really just think it is to add bodyonload then name a tableid for etc page then use require or include but i dont have an idea of how i chould make it work...---- Kris
  6. Hello. Im working on a online text based "mafia" game. And in the inbox system when ppl wants to delete more then one message, with checkboxes. and than click Delete Selected. But then this ugly message comes up : Warning: Invalid argument supplied for foreach() in /home/mafia/public_html/wildmafia/Test.php on line 168messages deleted but are they deleted? No absolutly not so i just need to know what that foreach() thing is anyone online now that knows what it is and what it does? a little bit more info : if (strip_tags($_POST['D_s'])){foreach ($_POST['radio'] as $value) { $count++;mysql_query("DELETE FROM inbox WHERE id='$value'");} echo "$count messages deleted<br>";} lol, tried to remove foreach , and guess what i think someone is messing with me.. foreach dident need to be there hehe.. But still wont delete?removed foreach and set "if" there insted.. is that correct?
×
×
  • Create New...