Search results

  1. T

    Downtime

    I am on the sever cossacks For the past few days, there has been a ton of downtime. Of the time I have tried to go on, I would estimate about 40%. I saw the server alert, but since everything got fixed I have still seen a lot of down time. Am I on at the wrong time? or is there a bigger problem?
  2. T

    Random function.

    Is there any tag that states "if this random number has already been chosen, try again," or do I have to write an if/then statement/loop?
  3. T

    Loops

    $result1 = mysql_query("SELECT * FROM people WHERE id = '$number[0]'") or die(mysql_error()); $row1 = mysql_fetch_array( $result1 ); $result2 = mysql_query("SELECT * FROM people WHERE id = '$number[1]'") or die(mysql_error()); $row2 = mysql_fetch_array( $result2 ); $result3 =...
  4. T

    Coding Questions

    1. Is there a way using php to have the page update without completely refreshing? 2. Does php have functions like on.mouse.click, or on.hit.key?
  5. T

    CPU usage.

    I was recently moved to the server cossacks. All went well for the first few days. Since yesterday, on server status, the Server Load button has not been green. I have seen it anywhere from 2-8. It usually hovers around 5 ish. I am just checking to see if you guys know about the problem. If 2-8...
  6. T

    Tables and Forms

    As far as tables and forms go, is there any way I can specify the actual size of the table or form? I have tables that I want to make bigger, and forms that I want to make smaller.
  7. T

    PHP error.

    Parse error: syntax error, unexpected T_STRING in /home/mike/public_html/loginp.php on line 13 Line 13 reads like this: $sql = SELECT FROM users WHERE name == "$username" AND pass == "$password"; what is the problem? There are no syntax errors in the line above or below it.
  8. T

    sqleval

    Fatal error: Call to undefined function sqleval() in /home/mike/public_html/loginp.php on line 14 I get this error everytime I try to run this code: if (sqleval("SELECT COUNT * FROM users WHERE username='$name';")){ Is this because x10hosting does not support this tag? Or, is it because I...
  9. T

    1&1 Domain

    I just bought a 1&1 domain, and I am very confused. I see no way to create or edit files, and I tried to make it forward to my current domain, but nothing has happened yet. At some point in time I believe that the admins also said that I could use that domain on x10hosting. That would be...
  10. T

    Stop function

    Is there a tag in php or html that stops the rest of the code from running?
  11. T

    Forms

    How to I create a forum that has a set value? Example: <input="<?$variable?>" name="variable"> <input type="submit">
  12. T

    Buttons...

    I wrote this code: <form method="post" action="trouble.php" > <input type="submit" value="Continue"> It works, but I cannot seem to align the button. I have tried pretty much everything I know. What I want is for the button to be on the right side of the page. Any help?
  13. T

    How much does it cost to upgrade?

    How much does it cost to buy a domain? Is there a yearly/monthly/blah price attached to it? I am also aware of the fact that I can earn enough reward points to buy a domain. Could I cash in some of my reward points to earn a discount on the domain?
  14. T

    Hello!

    I've been around here for a few weeks, I just didn't see this thread before. I'm a new coder, and most of everything I put on my site will be DIY. I came to x10hosting by reccommendation. Thats about it ;)
  15. T

    Spelling

    With all of the new spell check technologies, is it really important for grades 1-6 to spend an hour a day learning how to spell? If not an hour a day, then 30 min? Or are they spending too little time a day learning how to spell? The question is this: Is spelling worth our time and money...
  16. T

    Frames...

    My script looks like this: <html> <head></head> <frameset rows="15%,*"> <frame src="missile.jpg" scrolling="no"> </frameset> </html> <html> <body> <p>HI!</p> <... The problem is that when I add frames to the site, it chops off everything else, all other code is just ignored...?
  17. T

    Mysql syntax

    I'm using a tutorial to learn Mysql, but the die function keeps spitting out "wrong syntax" errors at me. Here is an example: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NOT NULL AUTO_INCREMENT...
Top