1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

select record to insert php

Discussion in 'PHP' started by ataloss, Oct 11, 2013.

  1. ataloss

    ataloss Active Member

    Messages:
    79
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    63
    #21
    English for dummies! I'm the fool you're referring to you arragont shit and you're the one steering people away when they come to share knowledge and ask for help.
     
    ataloss, Oct 17, 2013 IP
  2. ataloss

    ataloss Active Member

    Messages:
    79
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    63
    #22
    You don't get it, what do I want with a tax rate table. I enjoy interacting with programmers.
    Keeps me away from drugs.
     
    ataloss, Oct 17, 2013 IP
  3. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #23
    Not sure if that last one was for me - my point when pointing you to the tax-rate page etc. was basically to show you a better way to implement what you're seemingly trying to make - ie. a way to choose a place/taxrate and use that value further on - databases are usually the best way to keep static values, and reuse them (with $_POST-variables, sessions etc. of course as a go-between, for instance). :)

    I think what you're doing is a good thing - learning stuff is always good, and one never gets too old to learn more.
     
    PoPSiCLe, Oct 18, 2013 IP
  4. ataloss

    ataloss Active Member

    Messages:
    79
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    63
    #24
    not 4 u, I'm impressed with your contribution. thanks a lot!
     
    ataloss, Oct 18, 2013 IP
  5. ezprint2008

    ezprint2008 Well-Known Member

    Messages:
    611
    Likes Received:
    15
    Best Answers:
    2
    Trophy Points:
    140
    Digital Goods:
    1
    #25
    <form NAME="Form"

    wheres's your quotes around the NAME of the form?
    is that going to be able to pull a string of a form name with no quotes? If not your form has no name because of that and therefore never calls the form name when its submitted with the submit button. and action is never triggered ...and the whole park shuts down .. the firework just its there ...no pizzazzy sparks or flight... the shuttle sits on the launchpad ..nuffin....the rabbits hop in and out of your rope snare.... you push down on the tnt T stick.... and you play a strange crappy wild western game that keeps saying "nothin happens.....nothin happens...nothin happens ..in 1999

    and the same happens here with no form name ... nothin happens, (click) nothin happens ..(click click) ..nothi..nothing happens
     
    ezprint2008, Nov 1, 2013 IP
  6. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,998
    Best Answers:
    253
    Trophy Points:
    515
    #26
    My question would be why the **** would you PUT name on a form in the first place. The only legitimate reason to do so is to support nyetscape 4 style scripting access to the form; at which point once again welcome to having one's head wedged up 1997's arse.

    Admittedly, SO many people still do write .js 1990's style for accessing forms.
     
    deathshadow, Nov 3, 2013 IP
  7. ezprint2008

    ezprint2008 Well-Known Member

    Messages:
    611
    Likes Received:
    15
    Best Answers:
    2
    Trophy Points:
    140
    Digital Goods:
    1
    #27
    call it habit, thats why ..my basic HTML
    <form name ="formX" method="post" action ="index.php">
    something like that.

    I haven't updated my HTML as much as PHP side.
    it works , but you should give example of your idea ..maybe i'll use it.
    thanks
     
    ezprint2008, Nov 16, 2013 IP
  8. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #28
    I stayed up all night crafting a working example for you. Here's what I came up with:
    
    <form method="post" action="index.php">
    
    Code (markup):
    I put a lot of work into it. I hope it helps!
     
    nico_swd, Nov 17, 2013 IP
  9. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,998
    Best Answers:
    253
    Trophy Points:
    515
    #29
    Partly correct Nico, but I'd probably have an ID for targeting it and it's children with CSS and scripting... since getElementByxxxxx and/or walking the DOM is how MODERN scripts are supposed to be written... instead of the outdated, slow and PROPRIETARY nyetscape style. (even if support is present).
     
    deathshadow, Nov 17, 2013 IP
  10. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #30
    Well yes, if you want to style it or access it with Javascript, I'd go with the ID too. But if that's not necessary (like in the OP's post) then there's no need to add it. Otherwise you're right, of course.
     
    nico_swd, Nov 17, 2013 IP