Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

php form question

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

php form question

Postby phpwreker » Sat Dec 08, 2012 1:19 pm

how can i make my users use this form here

http://stackoverflow.com/questions/11186403/calculation-of-item-and-quantity-price-then-sending-email

... ?

that form sends an email to an adiministrator reporting the item and quantity orderd

but doesnt send any user information .. like who sends the email ... or which user sends the email ?

how can i add a registered user information or logined user information to that form ?

Image


the buy product is the link

that gives a form ..

and sends the submit button form action to a phpscript which sends an email .. to the administrator

but no signs of any user identification ...

...

a bit of an update

Image
User avatar
phpwreker
New php-forum User
New php-forum User
 
Posts: 22
Joined: Fri Dec 02, 2011 9:58 am

Re: php form question

Postby phpwreker » Fri Dec 14, 2012 4:02 pm

lol something anyone ?
User avatar
phpwreker
New php-forum User
New php-forum User
 
Posts: 22
Joined: Fri Dec 02, 2011 9:58 am

Re: php form question

Postby faust » Sat Dec 15, 2012 5:24 am

That depends a lot from many many other things. How do you log in the user, where do you keep his credentials (session, cookies, text files, db...), what info do you wish to pass etc. etc. Your question can't be that simply answered by anyone...
faust
New php-forum User
New php-forum User
 
Posts: 109
Joined: Thu May 03, 2012 7:22 am

Re: php form question

Postby phpwreker » Wed Dec 19, 2012 8:52 pm

yea i should concentrate more on the html form to display select and submit

product
item
quantity

http://s1.postimage.org/72rsm1rbz/displ ... submit.png

i am not sure what else i should try to put in the product table
User avatar
phpwreker
New php-forum User
New php-forum User
 
Posts: 22
Joined: Fri Dec 02, 2011 9:58 am


Return to PHP coding => General

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.