Jump to content

scottjcampbell

Members
  • Posts

    44
  • Joined

  • Last visited

    Never

Contact Methods

Profile Information

  • Gender
    Not Telling
  • Location
    Poole, UK

scottjcampbell's Achievements

Member

Member (2/5)

0

Reputation

  1. thank you - SO MUCH!
  2. Hi, The echo mysql_error(); returns nothing (blank) and the "trigger" is a column in the table. Is there another method i need to use to make it so only trigger=1 displays. cheers, scott.
  3. Hi, I have been trying to get my sql query working for some time now. I would greatly appreiciate it if anyone could find a solution to this: <? $query = "SELECT * FROM messages WHERE trigger = '1'"; $result = mysql_query($query); while($row = mysql_fetch_array($result)){ $type = $row["message_type"]; $text = $row["message_text"]; echo "<div id=\"$type\"><div class=\"bl\"><div class=\"br\"><div class=\"tl\"><div class=\"tr\">$text</div></div></div></div></div>"; } ?> and i get this error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /public_html/index.php on line 40 I have tried removing: WHERE trigger = '1'" and it works, but i dont know why? Cheers Scott!
  4. Hi, i have recently been trying out a new design for my site and since i added a login form to one of my DIV's, (sidebar) the DIV underneath wont stay in place? Please see: http://toontownaddicts.com/index.php for broken version and http://toontownaddicts.com/index2.php for version without login form. I would REALLY appreciate any help possible! Thanks! Scott Campbell
  5. OMG! I LOVE YOU!! lol
  6. okay, i have done that but it still doesn't work? And yes, its firefox that i'm having the problem with. Cheers, Scott.
  7. Hi, my website has mucked up strangely, but i dont know why? It only seems to do it when i insert the flash logo, without it, it works fine. I can't really explain it, so i will just give the link and hope you understand: http://trophygames.co.uk/?action=game (Ignore the error about the game, its just because the site isnt ready) THANKS TO ANYONE WHO HAS ANY SUGGESTIONS!
  8. Hi, is there any way to hide php errors but still show a message that an error has occured, because i want my users to know there is a php error on the page but i dont want them to know what the actual error is, especially the location & line no. Thanks in advance, Scott Campbell.
  9. Oh my god!!! i feel sooo stupid, when manually copying my tables (as windows folders from the mysql folder) i accidentally set them as read-only, this meant that when someone logged in, their user id was not set, and therefore their cookie was incorrect. Thanks for all your help. Scott Campbell.
  10. i have checked, and i dont think my site even requires globals to be on?
  11. I still have no-luck ?
  12. Hi, i have recently restored my server and downloaded xampp from their website, before i did this, my website worked fine. I have tried to log on to my website, though each time i do, i get no error, and no message, just the login form again as if the user has just navigated to the page. I was wondering if this was something todo with cookies? if you can get on, please tell me: url: campbellmember.co.uk user: test password: campbe11 (NOTICE THE ONE's NOT L's) Thanks, Scott Campbell.
  13. Some mail servers purposely make mail slow when sent via web scripts to help reduce spam
  14. Hello Again, i have one last problem, is it possible to replace the string, even if it is not exact, i will use the same example because as i said, i can't explain things. Say i have an image, <img src="scott" /> that works fine, but what if my image has parameters with it? e.g. <img src=scott" width="100px" height="100px" border="0"> ^You know what i mean, it could have any number of differently ordered ones. e.g. height could come before width? So is it possible to make this work using the same bbcode as above? Even if it doesn't specify any parameters? - Just the URL to image? I only really care about height and width, though more would be good aswell, i already have the bbcode for this [_img=100x100]image.png[/_img] So is this possible? Thanks for any help, Scott.
×
×
  • 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.