<img> tag not transferring into $_POST varirable

the mail() function

Moderators: macek, egami, gesf

Post Reply
lokanath7
New php-forum User
New php-forum User
Posts: 139
Joined: Mon Nov 15, 2010 12:11 am

Re: <img> tag not transferring into $_POST varirable

Post by lokanath7 » Mon Aug 29, 2011 6:06 am

<img> tag is not a form element. so it cant be post.

lokanath7
New php-forum User
New php-forum User
Posts: 139
Joined: Mon Nov 15, 2010 12:11 am

Re: <img> tag not transferring into $_POST varirable

Post by lokanath7 » Mon Aug 29, 2011 11:37 pm

if u want to get the value of <img> tag in php u can do it in a diff. manner.
declare a hidden fld.
and when u submit the form in javascript between submit() [ur fnc name] u can assign the img tag value to the hidden fld and when the form submitted successfully u can find the hidden fld value in php easily.

similar condition for other elements as well....

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests