w0296094
November 9th, 2010, 10:11 PM
Hey guys this is what i want to do:
I want to have a word that also acts like a hyperlink, or more specifically, acts as a form category that has already been selected. I.e.:
"You can select your non-profit by TYPE, ORGANIZATION, or FACULTY. "
any of the words that have been underlined will be clicked on and each word will execute a command:
<form action="viewdatabaseinformation.php" method="post">
<br />
<select name="searchtype">
<option value="TYPE">Type</option>
</select>
<br />
<input type="submit" value="Search">
In other words, as I click TYPE, it will be as if I selected type from a drop-down form and clicked submit. Is there anyway I can do this with PHP alone.
(I will be using PHP and mysql, using apache)
I want to have a word that also acts like a hyperlink, or more specifically, acts as a form category that has already been selected. I.e.:
"You can select your non-profit by TYPE, ORGANIZATION, or FACULTY. "
any of the words that have been underlined will be clicked on and each word will execute a command:
<form action="viewdatabaseinformation.php" method="post">
<br />
<select name="searchtype">
<option value="TYPE">Type</option>
</select>
<br />
<input type="submit" value="Search">
In other words, as I click TYPE, it will be as if I selected type from a drop-down form and clicked submit. Is there anyway I can do this with PHP alone.
(I will be using PHP and mysql, using apache)