Jump to content

Php numbers


php75

Recommended Posts

You will need to provide more information.

 

Are you trying to pre-populate a form? So that way a form field has a default value before the user does anything?

 

Or is the user doing something with the form / page that results in you inserting a value into a form field?

 

If it's the latter, you will need to use JavaScript as kicken mentioned.

Link to comment
Share on other sites

thank you for your reply..Just i want to learn about it...For example By using Arithmetic operators If i type some numbers with or without decimal values in html text box then without clicking automatically displays some values in table content.

This is my doubt...If possible give me a source code with explanation....

Link to comment
Share on other sites

If you want to learn, you need to actually start programming. You know, writing your own code with your own hands.

 

As the others have already said, your task cannot be solved with PHP. It's a JavaScript problem (of course you could combine the two, but this makes no sense in your case). So do you want us to move this to the JavaScript section, or do you want to rephrase the question? For example, you can do it with PHP if the calculation happens after you've submitted the form.

 

In any case, start writing code and solving your own problems. Of course we can help you with specific(!) questions, but don't just ask us to do the work for you.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.