Jump to content

zimmy52420

Members
  • Posts

    18
  • Joined

  • Last visited

zimmy52420's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. I have no experience with frames whatsoever, and have no idea how to implement/code them, sorry, ;pOK, something's confusing me here. The exact same code on a different page works perfectly. And I mean, exact. Exact same destination. But yet, on this page it isn't. o_O
  2. Is there any way I can refresh only the contents of a DIV within one of my pages?Thanks in advance(Every time I get my scripts working, they come up with a new problem. Stupid IE.)
  3. zimmy52420

    Welcome

    I knew this existed, didn't realise there was a post here. o_O
  4. ok, I'll look into some Javascript tutorials, see if they have the answerThanks,
  5. <META http-equiv=refresh content=12;URL=./index.php#1> I've put this into a live chat script of mine, in the headers. The file is index.php#1. I've put in #1 because alot of people bookmarked ./index.php, and complained when they didn't automatically reach the end of the DIV. In Internet Exploder, it doesn't refresh, When I take out the URL redirect part, it does. Also in IE, text entered into some <input name="stuff" type="text"> boxes gets deleted on refresh... is there anyway to stop IE doing this? Or at least refreshing properly? Thanks in advance
  6. It doesn't matter now, I've found a new way to do it. :)Thanks for all your help
  7. zimmy52420

    Width

    The CSS thing is working perfectly for me. :)And I just needed it to not stretch whenever a name was too long. :/
  8. I've got it to work... kinda, but there's a new error. I'm having a great time with this script...Every time I put a new post, it's eating the stuff on the first line, and so, killing the old text, which I need to keep. Is there anyway to fix this? :/
  9. I know absolutely NOTHING about MySQL, other than the fact it is a database, and I'm using PHP to connect to it, it could be that I'm a complete idiot, (Could be, I am!) and this is what mysql_query's supposed to produce, or it could be that I'm still a complete idiot, and there's a problem with my code <?phpmysql_connect('host', 'user', 'pass') or die( "Error #1 - Couldn't connect to Server");mysql_select_db('db') or die( "Error #2 - Couldn't connect to Database");$query="SELECT * FROM table";$result=mysql_query($query) or die( "Error #3 - Couldn't collect Table Data");mysql_close;echo $result;?> Obviously, I've done the obvious and set host user pass etc. etc. But whenever I run the script I get the following output.Resource id #3This doesn't seem to be an error to me, due to the 'die' bits, and it looks nothing like a PHP default error to me, now someone can come along and point out what I've done wrong. ;pThanks in advance
  10. Even once I've removed the quotes, I'm still getting the same two errors. I'm looking up file_get_contents and file_put_contents nowEDIT:My hosting company have PHP 4.4.1 installed on the server, so the function won't work for me. :/
  11. I've probably got this wrong somewhere along the line, but if I understood correctly you mean $name = $_REQUEST["name"];$message = $_REQUEST["message"];$fstuff = "fopen(./chatlog.html, r+b)";fwrite($fstuff, "$name<BR>$message<P>");fclose($fstuff); I've tried it, and I'm still getting the same errors, any suggestions, or have I just managed to misunderstand what you've told me?
  12. The only time I used phpMyAdmin, I couldn't find an option to make it use a MySQL database on a seperate hostMy database is on a different server from my website. :/
  13. zimmy52420

    Free MySQL GUI

    Doesn't matter. I've found a good one now.
  14. It removes the first error, but keeps the other 2, and doesn't write to the fileI'll try the two other combinations you gave me now,EDIT:The other two give the same two errors, and do they leave the previous contents of the page, and place the pointer at the front of the file? :/Heh, I think my live chat script just doesn't like me.Another EDIT:One of the combinations you gave me truncated the file length, which I find odd. Any ideas why it can delete but not write? o_O
×
×
  • Create New...