There is nothing special required to change a page to PHP - just change the
file's name from "stpd.html" to "stpd.php" (and make sure any links to the
page are updated to use the new extension). You could populate a dropdown
list with something like this:
<select name="person">
<?php
$query = mysql_query('SELECT name FROM person_table');
while ($row = mysql_fetch_assoc($query)) {
echo '<option value="' . $row['name'] . '>' . $row['name'] .
'</option>';
}
?>
</select>
On Tuesday, April 23, 2013 8:00:35 AM UTC-4, elizerbertling wrote:
>
> Hi,me again, i have 2 problems here
> 1. I have 2 pages which are stpd.html and stpd2.html, the problem is i
> would like to add a link(detail information) on my first page. If admin
> want to know more detail about a person and he will selects a people name
> in dropdownlist and then click the link(detail information) to view the
> detail on Second Page. The people name is from my Mysql database And Mysql
> syntax will be used on my first page.. But my first page is HTML format,
> and how can i change to PHP format which* is not affect the result.*
> *
> *
> *2. How to to link the dropdownlst with the text link, so it can jump to
> second page *
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.