Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. Put: error_reporting(E_ALL); ini_set('error_reporting', E_ALL); At the top of your page and it will display errors. And: or die("WTF?!" . mysql_error()); After your SQL statements.
  2. Some of these aren't that bad... havenworks.com is one of the worst sites I have ever seen. The funny thing is that it probably gets hits.
  3. Sorry, I don't see any matrix shipping tables. Could you please explain?
  4. Check out the total grains of rice!
  5. This is because rand() returns a random integer. If you want you could probably take that integer and divide it by 10 x the length of the integer returned by rand()? Hope this helps.
  6. I don't really understand your question... Just store the chapter numbers that you want. So in your while loop when you go through the records you don't have to display 100 fields.
  7. Thanks for the reply, but altering the database and changing scripts is my last resort because I know there is a way that osCommerce handles this for you. This would be much safer, faster, and easier. A reply from the osCommerce forums:
  8. It tells you what the keys are. It also lets you choose what fields you want to be primary keys...
  9. Cool, never seen this product before. They have everything!
  10. I don't know why this is in "PHP Installation" but could you show some code?
  11. Why not use date() and format it as you need it: $today = date("H:i:s"); // 17:16:17 Check out: http://us2.php.net/manual/en/function.date.php
  12. echo "'image'$img=$row['image']"; First of all, this should be broken up into two lines. Like this: $img = $row['image']; echo "image: " . $img;
  13. You should turn it into a CVS file, explode the columns, and insert into the proper tables/fields.
  14. What do you mean way off? We need some kind of description because it looks fine to me. Also, the beauty of CSS is consistency and the ease of making universal changes. All I see on your site is a bg, and image, and a tiny flash. Is that all I'm supposed to see?
  15. Maybe it's not a programming position. Or maybe he lied on his resume, oooooo!
  16. I'm trying to add a product to osCommerce but with $0.00 shipping costs. Has anyone done this before? I posted on the osCommerce forums but no one seems to be able to help so far... Thanks.
  17. Try debugging, echo out your values and put this at the top of your script: error_reporting(E_ALL); ini_set('error_reporting', E_ALL);
  18. http://www.tizag.com/phpT/ This site covers a lot of PHP and is good for beginners to read.
  19. Thank god...
  20. Could you post the exact code that you got this error with? It's probably something with this line: $connection = mysql_connect("localhost", "admin", "classproj");
  21. $connection = mysql_connect("host", "admin", "classproj"); You're using "host" for host. That is incorrect, double check this.
  22. Do you think they actually make advertising money?!
  23. Umm, I hope you have a data base set up... You need to create some tables and fields first before we can help you with the code.
  24. Hehe, yeah Jon!
  25. What's your error? I don't see where these $_POST vars come from? // username and password sent from form $myusername=$_POST['myusername']; $mypassword=$_POST['mypassword'];
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.