#1
  1. No Profile Picture
    Samwise[XG]
    Guest
    Devshed Newbie (0 - 499 posts)
    I've been looking forever for the syntax that would get me something like: ~.phtml?id=75 or something like that. I knew how to do it on CGI and it was very useful programming. Would someone let me in as to how to do it in PHP3?
    Does it have something to do with MySQL?
    hehe


    ------------------
    - Samwise
    www.xgamerz.com
  2. #2
  3. No Profile Picture
    jasonw
    Guest
    Devshed Newbie (0 - 499 posts)
    More input, More Input....

    What exactly are you trying to do?

    If you're submiting data to a form to a
    php script, that's pretty easy. Just
    make sure the form names have the same name
    as the variable in the php script, but don't
    forget to put the $ in front of the variable
    in the php script.

    If the url is including the data just put
    http://www.whatever.com/script.php3?variable1=this&variable2=that

    If you need more help let me know.


    ------------------
    Jason Woods
    http://www.bon-fire.com
    jasonw@bon-fire.com
    ------------------

  4. #3
  5. No Profile Picture
    Samwise[XG]
    Guest
    Devshed Newbie (0 - 499 posts)
    I guess I need some tutoring..... In Perl, you would say:
    $action = param('a');
    if ($action eq "preview") {
    &preview; }
    and you'd put in in the address finder thingy, http://whatever.com/cgi.cgi?a=preview and it would display the preview sub routine. How would you do that in PHP3, or is it something totally different. I'm interested in learning about that form thingy you were talking about.... please reply or e-mail me at samwise@softhome.net . Thanks.

    ------------------
    - Samwise
    www.xgamerz.com

IMN logo majestic logo threadwatch logo seochat tools logo