Search results

  1. S

    Image checkbox

    I don't really understand but if you are trying to substitute the normal, semi-ugly checkboxes for your own images, it's possible with a bit of javascript. Quickly written code below (untested): <script type="text/javascript"> var chkboxTicked = new Image(); chkboxTicked.src =...
  2. S

    Im Getting A Mysql Error And I Challenge Anyone To Help Me Fix It

    You need to make sure the mysql_select_db line is at the top of your document. If it is, make sure that the database name is correct.
  3. S

    How to delete multiple MySQL rows...?

    I'm also lost... If you want to delete rows 1 to random number, you can use "DELETE * FROM slaves LIMIT 1, {$randomdel}" where the first number after the 'LIMIT' indicates the start, and the second indicates the amount.
  4. S

    news section

    If you want to have news on your website that isn't your own, like from a local news site, then you have to delve into the world of XML. Otherwise, PHP is the way to go. Great place to start: www.w3schools.com
  5. S

    More info about the rand() function ?

    Calling rand() 100000 times will use a fair bit of CPU. In php, the syntax for rand() is: rand((int) min, (int) max); So if I put rand(0,10) there should be a 1/11 chance that it will be 0, and a 1/11 chance that it will be 10. Also, the server your site is hosted on is down -.- (absolut?)...
  6. S

    Absolut is hurting.

    After a few hours being down, Absolut finally came back up!! For 10 minutes. It's now down again. I know that it's experimenting "some technical issues", but can we get a little more info?
  7. S

    Absolut

    Ok, thanks.
  8. S

    Absolut

    Absolut currently has an incredibly huge load, and the FTP is down... Are you guys doing any upgrades on it or anything? The account panel is showing me a load of almost 19, that's huge. Edit- It's now 23... :s And the FTP keeps popping on and off.
  9. S

    Can I get help with this ..

    Hit the insert tab at the top of the page
  10. S

    Can I get help with this ..

    Yes, but he's using the SQL query part of phpMyAdmin... There's a nicer, easier way to enter data into a table.
  11. S

    My site doesn't allow me to log in !!!!!

    Or you can upgrade to the second level of php.
  12. S

    Can I get help with this ..

    Yeah, the query is missing the whole first line or something. Why are you using the SQL console anyway? phpMyAdmin provides a really nice GUI to your database. Use that to enter values. But anyway, you need the INSERT INTO `tablename` on the first line infront of ('num', 'ticket', 'cash')
  13. S

    MySQL Problems

    You are requesting the first row in your if statement: if(mysql_fetch_array($result)==""){ Use instead: if(mysql_num_rows($result)<1){
  14. S

    Comment Box Script

    So you tried adding in the 'or die(mysql_error());' bit? The error you are getting is usually returned when you are selecting an invalid database or have an error in your syntax. Try adding the 'or die(mysql_error());' code to the end of all your mysql functions.
  15. S

    Multiple date & time support

    Understood. That is quite a difficult request though. I'll have to think about it a bit and come back with a solution.
  16. S

    HTML Form to email?

    So a user HAS to enter something? Just check it to see if it's empty with php. if($_POST['field'] == ""){ echo "You fail. Enter a value in fieldname" }
  17. S

    Absolut

    Absolut just shot up to over 16 load and then crashed. It's been doing this for a while? Are you still running updates on it? But back on topic, it's down. Cheers! Edit: *Bump*... Seems Heinzketchup has the same problem. I was hoping to get some more work done tonight :( .
  18. S

    Internet Explorer Vs. Firefox

    Firefox is better for all its addons. Download managers, location addons, email addons, media player addons and most importantly, web developer addons. As someone who spends a lot of his time using a browser, this stuff is all completely necessary.
  19. S

    i cant get my images to show and its really bothering me

    Can you copy and paste the code of the webpage in question? And what do you mean by 'I also upload them with their original names instead of changing them'. Why would you change the image names anyway? Also, do you have a link to the webpage in question?
  20. S

    iframe help

    Or you could JS it. <button onclick="document.getElementById('frame').src = 'http://www.google.com';">Google.com</button> <iframe id='frame' />
Top