Web Analytics Made Easy -
StatCounter Help Putting MySql Result (1 value) into Specific Field on Page - CodingForum

Announcement

Collapse
No announcement yet.

Help Putting MySql Result (1 value) into Specific Field on Page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help Putting MySql Result (1 value) into Specific Field on Page

    I need some sample PHP code that will demonstrate how to take a single column result and put it in an HTML page - basically, I click on a button and select a unique name from the member table, and want to display it on my page next to Your Name is: ________________

    I know sql and I know this sounds easy but I am lost when it comes to formatting the result and placing it in a specific spot on my page. This is not a table, just a single value. Any help is appreciated. -thanks

  • #2
    Plenty of basic examples at php.net:

    http://us2.php.net/manual/en/function.mysql-query.php

    Comment

    Working...
    X