Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. MAWarGod

    Trying to load a dropdown with php on my html form

    Phil thank you, you helped me understand from submission allot better also, as I sorta had the same issue.. MA WarGod I believe if someone can think it, it can be programmed
  2. MAWarGod

    Chat Quest2

    in thinking what you said about a elegant solution. I came up with this.. <script type="text/javascript"> $('document').ready(function(){ $('#chatDiv').hide(); $('#EnterChatDiv').show(); var url = '<?php echo...
  3. MAWarGod

    Chat Quest2

    ok I am stuck I would like to be able to toggle <div>'s in the script here what the user hits now coming to the room <div id="chatForm"> <form id="formChatForm" action="<?php echo $_SERVER['PHP_SELF'];?>" method="post"> Your Name: <input type="text"...
  4. MAWarGod

    Chat Quest2

    OK GOT THAT PART!!! I ended up abit of both of ours and instead of returning chatPerson I reurned UserName, this way chatPreson was stripped as you had it but UserName on lowwer half(chat output) is not MA WarGod I believe if someone can think it, it can be programmed
  5. MAWarGod

    Chat Quest2

    function getChatData(){ $return =''; $timestamp = isset($_POST['timestamp']) && !is_null($_POST['timestamp']) && $_POST['timestamp'] != '' ? intval($_POST['timestamp']) : 0; $query = vsprintf("Select chatID, chatPerson, UserName, chatTimestamp, chatText from...
  6. MAWarGod

    Chat Quest2

    wait I think I follow what your saying if I create a row in db named username and the strip the html from chatPreson and Insert it. MA WarGod I believe if someone can think it, it can be programmed
  7. MAWarGod

    Chat Quest2

    ok so make a $ variable like $SchatPerson ? so like? $_SESSION['chatPerson'] = $SchatPerson; or does that conflict with $_SESSION['chatPerson'] = $chatPerson; MA WarGod I believe if someone can think it, it can be programmed
  8. MAWarGod

    strip html

    <script type="text/javascript"> $('document').ready(function(){ var url = '<?php echo $_SERVER['PHP_SELF'];?>'; var timestamp = 0; var interval = 5000; var first = true; $('#formChatForm').bind('submit'...
  9. MAWarGod

    Chat Quest2

    its really in the JavaScript so asking on JavaScript forum MA WarGod I believe if someone can think it, it can be programmed
  10. MAWarGod

    Chat Quest2

    Yes but the text isn't where I wish to strip the html its in the username (chatPreson, when entering the room with html tags the full html tag appears at the top of the room, it is that display that I want to strip I would like to strip it that way the user name displays just text, only there...
  11. MAWarGod

    Chat Quest2

    Oh I didn't add url so you can see what I am up to.. http://htmlland.cwahi.net/ MA WarGod I believe if someone can think it, it can be programmed
  12. MAWarGod

    Chat Quest2

    Awesome!!! Thank You so much.. Ok I had to change host as their add wrapper was creating a error I think with the script.. I also have it on xamp where I am testing and tweaking it.. I added tables to the chat output so if its a long post it displays nicely.. I also added a function...
  13. MAWarGod

    Chat Quest2

    lol I need sleep no it isn't... MA WarGod I believe if someone can think it, it can be programmed
  14. MAWarGod

    Chat Quest2

    http://www.codewalkers.com/c/a/Miscellaneous-Code/Simple-Chat-Room/ jpadie are you CodeKadiya there? the reason I ask is that's this script!! MA WarGod I believe if someone can think it, it can be programmed
  15. MAWarGod

    Chat Quest2

    function updateChatRoom(){ if (!xo) {createObject();} xo.onreadystatechange = function () { if (xo.readyState == 4) { if (xo.status == 200) { if(xo.responseText == 'none'){ alert('You broke it!!! ...nope got nothing!!')...
  16. MAWarGod

    Chat Quest2

    wait I am getting a error in firebug missing ) in parenthetical http://htmlchat.x10.mx/chat/chatRoomServer.js Line 24 MA WarGod I believe if someone can think it, it can be programmed
  17. MAWarGod

    Chat Quest2

    I don't get it no errors and it is connecting and saving to the db, but no out put? MA WarGod I believe if someone can think it, it can be programmed
  18. MAWarGod

    Chat Quest2

    ok that resolves that error!!!Thank You But still no out put as far as in chat.. MA WarGod I believe if someone can think it, it can be programmed
  19. MAWarGod

    Chat Quest2

    as a note any info I shared by over looking it has been changed all db's, users, and passwords.. a edit feature here would be great for cases like this!!! Sorry again!!! MA WarGod I believe if someone can think it, it can be programmed
  20. MAWarGod

    Chat Quest2

    <?php $chat = new chats; class chats{ private $timestamp = 0; private $action; function chats(){ $this->timestamp = time(); $dbserver = mysql_connect('localhost', 'htmlland_user', '1qaz2wsx') or die('error'); @mysql_select_db('htmlland_db101',$dbserver) or...

Part and Inventory Search

Back
Top