Tell me more ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have been googling for last few hours but no luck.

I am looking for a simple example on how I can query MySQL using PHP and then use the output in an input box.

My confusion is where do I put the PHP code. I added input box using <input> but I need to know where I add my PHP code and how does it access it.

Please share an example.

share|improve this question

closed as not a real question by John Conde Nov 21 '12 at 23:00

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

Browse other questions tagged or ask your own question.