team2005
asked on
Make poll system
Hi!
Have this included picture.
Have 2 questions and 1 Open question.
System must call a new webpage (php)
depending of what button is pressed.
How is the best way to make this system ?
Call the same php file using parameter transfer ?
Or is the best way to have multipel pages ?
Include my php file for the picture included.
The questions is stored in my mysql database, and it can be more then 2 questions..
Using for loop here ?
Maby store the questions in a array ?
spr1.png
Have this included picture.
Have 2 questions and 1 Open question.
System must call a new webpage (php)
depending of what button is pressed.
How is the best way to make this system ?
Call the same php file using parameter transfer ?
Or is the best way to have multipel pages ?
Include my php file for the picture included.
<?php // RAY_EE_login.php
require_once('RAY_EE_config.php');
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Test system</title>
</head>
<body>
<link rel="stylesheet" href="default.css">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<table summary="Services, or Links box template" class="servicesT" cellspacing="1">
<tr><td colspan="2" class="servHd">Mine kontroller</td></tr>
<tr>
<td class="servBodL" width="92%">Vernerunde #1</td>
<td class="servBodL" width="8%"><input type="submit" id="GULKN" name="B1" value=">"></td>
</tr>
<tr>
<td class="servBodL" width="92%">Årskontroll #2</td>
<td class="servBodL" width="8%"><input type="submit" id="GULKN" name="B2" value=">"></td>
</tr>
</table>
<br>
<table summary="Services, or Links box template" class="servicesT" cellspacing="0">
<tr><td colspan="2" class="servHd">Mine Åpne kontroller</td></tr>
<tr>
<td class="TESTE" width="92%">Vernerunde 020513</td>
<td class="servBodL" width="8%"><input type="submit" id="GULKN" name="B3" value=">"></td>
</tr>
</table>
<br><br>
<table summary="Services, or Links box template" class="servicesT" cellspacing="0">
<tr>
<td width="100%"><input type="submit" id="LOGGUT" value="Logg ut"></td>
</tr>
</table>
</body>
</html>
The questions is stored in my mysql database, and it can be more then 2 questions..
Using for loop here ?
Maby store the questions in a array ?
spr1.png
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Make it radio and style it as a button.
ASKER
thanks
ASKER
Customer want this to be buttons