Jump to content

spiderwell

Members
  • Posts

    1,008
  • Joined

  • Last visited

Everything posted by spiderwell

  1. includes is what you are after i think really it turns 2 pages into one, which really is like going from one to another which is what you want isnt it?
  2. the form isnt populating as you are not putting the $_POST values into the variables so they remain empty/blank the die statements are AFTER this so shouldnt affect populating, if they are causing issues, change them to echo statements while debugging
  3. you will be going round in circles otherwise.......
  4. declare $somestring outside of the loops line 18: $somestring .= "$spaces $file<br />"; line 21: echo "<div class=\"msg_body\">$somestring</div>";
  5. your original post: your latest copy of the supposedly same code: setcookie("kayip",$mailii,time()+(60*30)) ; $_COOKIE['mail_sent'] = $row['mail_adres']; you have changed your setcookiee variable the error is stating it cant find the mailsent cookiee, and the reason is as incubi first stated. Although now it looks like you don't even set it at all. set a cookiee it cannot be called until after a page script ends. read this for more info http://php.net/manual/en/function.setcookie.php also i don't think this line does anything: $_COOKIE['mail_sent'] = $row['mail_adres']; as = is assignment operator and im pretty sure it doesnt apply to setting cookiee values
  6. mark it solved my friend
  7. you could pass the loop at 18 to a concatenating string and wrap the div tags around it after the loop ends? then echo it out?
  8. dude! upload the whole code, or give us a larger amount of it, its very had to tell what is going on. line 133 is basically saying the cookiee doesnt exist yet, so as the incubi above stated, you probably have set it, and then try and read it in the same execution of script
  9. am enjoying the float section, its a well written out site and makes it very easy to understand css. good work
  10. lesson 13 think you will find thats called a hash still reading.......
  11. which is line 133 sessioon_start? typo? which cookie is it? mail or mailsent?
  12. depends on keyboard on my mac its right of the lefthand shift key, on my pc its to the left of 1 ```````````` theres some i given you for free, please copy and paste
  13. and it doesnt really make much sense but still, made me giggle
  14. you need recursive weapons firing reg exp functions in a while loop to break his armor.......
  15. hope this is a query string typo www.test.com/image.php?Style=2?Username=TEST edit:stupid autolinker
  16. and if that column's datatype is int you wont need the single quotes around the zero EDIT or the id_receiver one
  17. lol...same here...halo took away at least 4 years of my life..now i play PHP have you tried the sequels? im on php 5 now, its the best version of the game yet
  18. i really like the site a lot, and as you stated, it needs a bit more of a punchy front end design but far as all the features and stuff in the ajax style, i'm really loving it. i just wished i had a fraction of your skills at that age! you should do well in a career as a developer!
  19. lots of partners noticed many undone diy jobs being done in the last 15 days... it was bought down by the MW2 widows my mates got one and its driving him mad lol. I'm glad i kinda got over my gaming addiction, MMOs stole many years from me, and only play EVE now, and thats not often either
  20. an understands of how it works always helps, but the fact it is working now is the important part
  21. you basically need to build a cms to do it all, i know that sounds vague but its what the answer is. this will involve a lot of rather involved code that a beginner might struggle with. a good starting point would be to build a form that a user can enter a new players details with which then posts to a page that validates the input and save all of it to the database. you will also need a page that lists the users, with links from each player to edit/or delete, the edit option can link to the original form for adding a user, and be adapted to be prepopulated with that users info for editting. the database will need another table for scores, with a column that links to the users/players table so you can select scores filter by player, as well as some maths functions to show the last 6 rounds in averages. you will also need to add security to prevent sql injection, unwanted users on the site, and preventing players altering each others scores! its not a small undertaking for sure.
  22. it basically makes the search phrase browser friendly. urlencode($name) have a look here, as theres a decode too: http://php.net/manual/en/function.urlencode.php
  23. i dont know much about it either but you probably have to specify transparancy, and in my limited knowledge of that in images, i expect you need to set background to black as that appears to be the transparency color for the original image, hence the white/black thing. i guess from that the png you create has a default background of white. so if im right you need to set background to black then set black as transparent. makes sense in my tiny mind anyways, sorry not much use of a post really
  24. i know very little about server setups, maybe you need a mailserver, not just webserver? besides if it works live, does it really matter?
  25. you could add the search term as part of the querystring on the links to pages 2,3,4 etc echo " <a href='{$_SERVER['PHP_SELF']}?pagenum=$previous&name=$name'> <-Previous</a> "; might need url encoding though if its not just one word or has non alpha characters
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.