hi all,

Can I use a variable from a .php file to give a value to an HTML FormMail form field thus:? please reply soon.

Thanks
-----------------------<URL SNIPPED>

yes

See here.

When printing the form, just put the PHP variable in the "value" attribute of the input field.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.