submit for with either php or jquery using get but no ajax functionality
<p>im trying to figure out how i can do this.</p>

<p>i have a list of names being pulled from the database and when i click on a name i want another page to load with that names details.</p>

<p>I've done this before using ajax in an ajax driven contact book i made, but now i need to be able to take that persons name attach it to the $_GET and submit the form so another page loads with the persons name, just by having that persons name I can query my database.</p>

<p>Thats easy, but the trick here is that i have like 10 names being pulled from the database inside of a while loop.</p>

<p>so now I have ten tables with short details of the person along with their name. I want to have a click here for more details option. Thats whats confusing me, I don't want to use javascript just yet if at all possible. But without jquery I don't know how to grab the ID of the name. which is pointing towards the ajax route which i don't want to go into at this time.</p>

<p>any help would really be appreciated.</p>

<p>here is my while loop code with my attempt:</p>

<pre><code>            &lt;? while($project = mysql_fetch_assoc($pquery)){ ?&gt;
             &lt;form action="projectview.php" method="GET" id="viewproject"&gt;
                    &lt;table border="0" align="right" style="border-bottom: 1px dashed #BDBDBD;" width="100%"&gt;
                    &lt;tr&gt;&lt;td colspan="2"&gt;&lt;span&gt;&lt;input type="submit" name="view" id="&lt;?=$project['idProjects'];?&gt;"&gt;&lt;?=$project['project_name'];?&gt;&lt;input type="hidden" name="&lt;?=$project['idProjects'];?&gt;"&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
                    &lt;tr&gt;&lt;td align="right" colspan="2"&gt;&lt;span&gt;post-production&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
                        &lt;tr&gt;&lt;td&gt;Time:&lt;/td&gt;&lt;td&gt;&lt;?=daysDifference($project['end_date']);?&gt; remaining&lt;/td&gt;&lt;/tr&gt;
                        &lt;tr&gt;&lt;td&gt;Budget:&amp;nbsp;&lt;/td&gt;&lt;td&gt;&lt;?=$project['actual_budget'];?&gt;&lt;/td&gt;&lt;/tr&gt;
                    &lt;tr&gt;&lt;td colspan="2"&gt;&lt;?=$project['end_date'];?&gt;&lt;/td&gt;&lt;/tr&gt;
                    &lt;/table&gt;
              &lt;/form&gt;  
                &lt;br /&gt;
                &lt;div style="padding: 3px;"&gt;&amp;nbsp;&lt;/div&gt;
             &lt;? } ?&gt;
</code></pre>
