Search results

  1. T

    phpBB2

    I have a phpBB2 app on my site, and when the changes were made to the mysql servers and stuff, my forum stopped working. Does anyone know an easy way to change the script in phpBB2 so it stops trying to access localhost and instead tries to access mysql.x10hosting.com?
  2. T

    Mysql Help.

    Whoops. I give the admins permission to delete this thread.
  3. T

    Purchase item script

    Here is what I want [item] [price per] [input (how many you want to buy)] [text file that updates as you type into the input, which multiplies the price per by the number in the input] obviously, to prevent errors, I'd also need something that kept people from typing letters into the...
  4. T

    Login Script

    I have created a login script, but I am having problems with the spaces. Is there any way that I can disallow the space character in my signup forms? something like if (username has a space in it){ echo "You cannot have spaces in your username"; }else{ ...
  5. 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?
  6. 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?
  7. 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 =...
  8. 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?
  9. 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...
  10. 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.
  11. 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.
  12. 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...
  13. 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...
  14. T

    Stop function

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

    Forms

    How to I create a forum that has a set value? Example: <input="<?$variable?>" name="variable"> <input type="submit">
  16. 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?
  17. 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?
  18. 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 ;)
  19. 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...
  20. 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...?
Top