Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. It's the same as submitting to another page except it's itself because PHP is server side. I gave you the code to submit to itself. What is this for?!
  2. Here's a good link for browser detection. For redirect use: window.location = "http://www.google.com/"
  3. Like project said: </pre> <form method="'post'" action="'page2.php'"> < You should really post the full amount of code.
  4. Echo $_POST['amount'] out to make sure it has the right value. Also put error checking on. Add this on the top of your script: ini_set ("display_errors", "1"); error_reporting(E_ALL);
  5. That doesn't mean anything. How do we know what is "arranged right"? No one can help nor, are they going to even read your code, if you're not detailed and explain exactly what you want accomplished.
  6. If I were you I would submit the form to itself so you can repopulate the fields and make everything easier for the user and yourself. Like this: </pre> <form name="form_name" method="post" action="<?php%20echo%20%24_SERVER%5B'PHP_SELF'%5D;%20?>"> < But it should be checked client and server side. This is actually pretty simple. Do you have anything done yet?
  7. Maq

    Auto input

    It's not a function, you add a cron job to your crontab which runs automatically. What system are you running? My guess is that you'll need a cron job please read this.
  8. I know right, 150 posts and he doesn't know the difference between php and js... That's just too funny, I'm glad I was involved in this thread. On a more serious note, blmg911, if you need help you have to start attempting these tasks on your own. Like the previous posts visit php.net, tizag.com, there are thousands that teach you what you need to know piece by piece and if you need help we'll still be here....
  9. Maq

    Auto input

    Depends what server you're running but it's either a cron job or task scheduler to automatically run a script that submits your data every 12 hours.
  10. Exactly. You need to attempt it yoursef so we can help you. The most people are going to give you is pseudo code. Otherwise you will not learn anything.
  11. It's whatever you want. Show us your code and explain what you're trying to do so we can help you.
  12. Maq

    Auto input

    Could u be more descriptive? What do u mean every 12 hours?
  13. Do you have a database set up?
  14. I'm sorry but is this topic solved yet? Click TOPIC SOLVED please. If not, ask a question.
  15. actually it's scary...
  16. wtf, this kid needs more than just PHP help...
  17. If I were you I would create a new field with date_time datatype and write a script to go through your current varchar dates and convert them... It will make things easier for this situation and future problems.
  18. It's not in the manual. I think what he meant was "db2_num_rows()" which returns the number of rows that have been affected by like an insert, delete etc... But that is still incorrect, I think you want to use the function "mysql_num_rows()"?
  19. Could you give an example or be more detailed? I'm not following what exactly you're trying to accomplish.
  20. Os-commerce is relatively easy to change if you're knowledgeable in CSS.
  21. I just laughed out loud at work... thx
  22. Before examining your entire code can you add this at the end of your sql statements: or die(mysql_error());
  23. Sure, I think this is always the case unless you're actually distributing, if that makes sense ???
  24. A variation of this request has already been discussed, and I know it would be a pain for Mods and Admins but it would be awesome to have more member groups for different things besides authors.
  25. In one of the replies he answers your question: Here's the reply link
×
×
  • 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.