Search results

  1. t2t2t

    Suspended before move as "User transfered to another server."

    It was a suspension which pretty much meant nothing (only to protect from changes during transfer period; also it was possible to use cpanel, ftp, etc...), but it was never removed. Doesn't seem like a proper reason for deletion, through machine asks no questions...
  2. t2t2t

    Suspended before move as "User transfered to another server."

    Basically this never happened (and I didn't respond since everything else worked fine), and today... (Notification#593592)
  3. t2t2t

    Suspended before move as "User transfered to another server."

    Everything works great, through it still says suspended on account panel. Wouldn't mind having that removed so something like this won't happen again.
  4. t2t2t

    Suspended before move as "User transfered to another server."

    My account was set before move to be suspended with reason "User transfered to another server.", and though the site was accessible, it was never removed. So now I'm on the "getupdated" server while domain says "Website Specified Does Not Exist"
  5. t2t2t

    [PHP] Search a multidimensional array

    Here's a small example to show how to loop everything: <?php // Just repeating text for example. $textbook = array( 'cantonese' => array( 'class1' => array( 1 => array('One - Two', 'Chapter 1 to Chapter 2', 'text'), 3 => array('Three - Five', 'Chapter 3 to Chapter 5', 'text')...
  6. t2t2t

    [PHP] Search a multidimensional array

    That value wasn't mentioned in original post ;). And a simple check for that would be: if(is_array($textbook['cantonese']['class'.$_GET['cls']][$_GET['ch']])) { echo $textbook['cantonese']['class'.$_GET['cls']][$_GET['ch']][0].'<br...
  7. t2t2t

    [PHP] Search a multidimensional array

    Restructure it then: <?php $textbook = array( 'cantonese' => array( 'class1' => array( 1 => array('One - Two', 'Chapter 1 to Chapter 2', 'text'), 3 => array('Three - Five', 'Chapter 3 to Chapter 5', 'text'), 6 => array('Six - Eight', 'Chapter 6 to Chapter 8', 'text'), )...
  8. t2t2t

    how do i select a database?

    Did you also link the account to database? Check step 3 of this image.
  9. t2t2t

    JavaScript replaceChild

    In the example case just a simple .innerHTML check should work: <p id="checkme"></p> <script type="text/javascript"> if(!document.getElementById('checkme').innerHTML) document.getElementById('checkme').innerHTML = 'There was no text here, but now there is!' </script>
  10. t2t2t

    JS: referring page?

    Can you tell more exactly what you want done, do you want JS to write the form? (Btw if you want to save from where did form get submitted from, just use $_SERVER['HTTP_REFERER'] in PHP when saving data)
  11. t2t2t

    JS: referring page?

    He didn't want to go back to the page the user got to that page from, he wants to enter the referring URL to MYSQL database for storing. Though it would be easier to be just done through php code, if you want to use javascript method, One way is to get the page before current one from...
  12. t2t2t

    Simple script

    (bolded and underlined the parts) *facepalm* Parsa44, just do this: to this code.
  13. t2t2t

    Daily timetable script

    Why send a request between listing.php and xml_listing.php? Most likely these files are using the same database. splotch: Here's a small idea I've had: Database: day - Forgot to add this one, the day of the month the show is on (eg. 1 - sunday, 2 - monday, etc) (All times where show...
  14. t2t2t

    make ads load after the page is done loading

    Currently it stops the <script> part at about ........................................................................... here Sorry to all who had their pages stretched.
  15. t2t2t

    Simple script

    Works for me, expect for some small errors: It's something I have answered before (in fact yesterday): (Either change ' to " or wrap variables into '. and .' )
  16. t2t2t

    make ads load after the page is done loading

    No wonder, you didn't follow full instructions (checking the site atm) </head> <script type=”text/javascript”> Function ad() { document.write(<script type='text/javascript' src='http://x10hosting.com/adserve.js?corporate' ></script> } </script> <center> <center> <body bgcolor="#1E90FF"...
  17. t2t2t

    PHP writing to a file outside a directory

    .. means go up a folder, so each time you use it, it goes up a folder: ../../images/folder2/Page2.txt
  18. t2t2t

    PHP Pre-Made Email Sender To Chosen E-Mail

    PHP doesn't look for variables inside ' and '. Fix: <?php if (!empty($_POST['sender_name']) && !empty($_POST['sender_email']) && !empty($_POST['to_email']) && isset($_POST['send_mail'])) { $subject = 'You Have Recieved An Invitation'; $message = 'Hello, A friend or colleague of yours...
  19. t2t2t

    make ads load after the page is done loading

    Here's a thing I lately found out: Javascript won't execute if just entered into .innerHTML (at least for modern browsers). Here's a work around: <div id="x10ads"></div> <!-- Feel free to change the tag --> <!-- Then at bottom of page: --> <script type="text/javascript"> var scriptEl =...
  20. t2t2t

    snow script?

    Actually for this script, chrome gets flagged as ns6: var ns6=document.getElementById&&!document.all // Can be checked with: alert('document.getElementById: '+document.getElementById+"\n"+'document.all: '+document.all+"\n"+'Result: '+(document.getElementById&&!document.all))
Top