₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,949 members, 8,424,302 topics. Date: Thursday, 11 June 2026 at 12:00 AM

Toggle theme

Code To Link Webpage Please!!! - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingCode To Link Webpage Please!!! (1156 Views)

1 Reply (Go Down)

Code To Link Webpage Please!!! by JimmyBishop(op):
I am a novice in web programming. i need a help pls. I have drop down of the 37 states in Nigeria of which i want if i click any, it will bring a page that contains: Name, passport photo, position, address, phone, email of a person. I want to create just a page for it instead of 37 pages. How can i code it to work. I use PHP. Your help will be most appreciated. Thanks.

<td height="163" colspan="2"><p align="center">
<img src="photo" alt="" name="photo" width="227" height="223" id="photo" /></p>
<tr>
<td width="172" height="227" valign="top">
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Name:</strong></font></pre>
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Position:</strong></font></pre>
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Email:</strong></font></pre>
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Phone:</strong></font></pre>
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Address:</strong></font></pre>
</td>
<td width="1218" valign="top">
<pre class="style1 style4"><label for="name"></label></pre>
<pre class="style1 style4"><label for="position"></label></pre>
<pre class="style1 style4"><label for="email"></label></pre>
<pre class="style1 style4"><label for="phone"></label></pre>
<pre class="style1 style4"><label for="address"></label></pre>
</tr>
Re: Code To Link Webpage Please!!! by FincoApps(m): 8:03pm On Dec 05, 2016
JimmyBishop:
I am a novice in web programming. i need a help pls. I have drop down of the 37 states in Nigeria of which i want if i click any, it will bring a page that contains: Name, passport photo, position, address, phone, email of a person. I want to create just a page for it instead of 37 pages. How can i code it to work. Your help will be most appreciated. Thanks.

<td height="163" colspan="2"><p align="center">
<img src="photo" alt="" name="photo" width="227" height="223" id="photo" /></p>
<tr>
<td width="172" height="227" valign="top">
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Name:</strong></font></pre>
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Position:</strong></font></pre>
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Email:</strong></font></pre>
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Phone:</strong></font></pre>
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Address:</strong></font></pre>
</td>
<td width="1218" valign="top">
<pre class="style1 style4"><label for="name"></label></pre>
<pre class="style1 style4"><label for="position"></label></pre>
<pre class="style1 style4"><label for="email"></label></pre>
<pre class="style1 style4"><label for="phone"></label></pre>
<pre class="style1 style4"><label for="address"></label></pre>
</tr>
What server language are you using ?
Re: Code To Link Webpage Please!!! by b1s0la(f): 9:32pm On Dec 05, 2016
JimmyBishop:
I am a novice in web programming. i need a help pls. I have drop down of the 37 states in Nigeria of which i want if i click any, it will bring a page that contains: Name, passport photo, position, address, phone, email of a person. I want to create just a page for it instead of 37 pages. How can i code it to work. Your help will be most appreciated. Thanks.

<td height="163" colspan="2"><p align="center">
<img src="photo" alt="" name="photo" width="227" height="223" id="photo" /></p>
<tr>
<td width="172" height="227" valign="top">
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Name:</strong></font></pre>
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Position:</strong></font></pre>
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Email:</strong></font></pre>
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Phone:</strong></font></pre>
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Address:</strong></font></pre>
</td>
<td width="1218" valign="top">
<pre class="style1 style4"><label for="name"></label></pre>
<pre class="style1 style4"><label for="position"></label></pre>
<pre class="style1 style4"><label for="email"></label></pre>
<pre class="style1 style4"><label for="phone"></label></pre>
<pre class="style1 style4"><label for="address"></label></pre>
</tr>
use a modal, wen u click on any state as u said, d name, phone Num, etc will pop out on DAT same page. Google modal in JavaScript, den copy d code. And make sure u import Js on ur script. Dats all
Re: Code To Link Webpage Please!!! by uwem18: 9:58pm On Dec 05, 2016
JimmyBishop:
I am a novice in web programming. i need a help pls. I have drop down of the 37 states in Nigeria of which i want if i click any, it will bring a page that contains: Name, passport photo, position, address, phone, email of a person. I want to create just a page for it instead of 37 pages. How can i code it to work. Your help will be most appreciated. Thanks.

<td height="163" colspan="2"><p align="center">
<img src="photo" alt="" name="photo" width="227" height="223" id="photo" /></p>
<tr>
<td width="172" height="227" valign="top">
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Name:</strong></font></pre>
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Position:</strong></font></pre>
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Email:</strong></font></pre>
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Phone:</strong></font></pre>
<pre class="style1"><strong style="font-family:Arial, Helvetica, sans-serif"><font color="#003300">Address:</strong></font></pre>
</td>
<td width="1218" valign="top">
<pre class="style1 style4"><label for="name"></label></pre>
<pre class="style1 style4"><label for="position"></label></pre>
<pre class="style1 style4"><label for="email"></label></pre>
<pre class="style1 style4"><label for="phone"></label></pre>
<pre class="style1 style4"><label for="address"></label></pre>
</tr>
Use database, such as msql.
Re: Code To Link Webpage Please!!! by delighteddell(m): 10:31pm On Dec 05, 2016
If ure using php, ur can pass the value thru d url (e.g name-of-page.php/?expected-value=$d_click value), get d value on a second page ($_GET['expected-value']), then u can us d value t query d dbase,which then come up wi whatever u want. PS: don't forget to filter ur $_GET for security reasons. Bad guys sti around.
1 Reply

I Need A Webpage And An App.How to design the background of your webpage with codingRate Dis Webpage Design234

Using Jfreechart With Mysql To Plot A Graph Using JAVAA Software Developer NeededDid Anyone Experience This On Nairaland? (pictures)