Hi john....
Tried running the code, however when english check box is ticked & SUMBIT is pressed - the browser displays "Operand should contain 1 column(s)"
Before english check box is ticked, browser already displays some errors as shown below.
...
User Profile
Collapse
-
Display table based on checkbox selection
Below is a table generated by DW for displaying a table of all subjects in a MySQL database. I'm totally new to php and would be grateful for any assistance on how the table could be displayed based on the subject checkbox (line 87).
...Code:<?php require_once('Connections/Education.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, -
Sorry Marcus....it was my mistake. Should have not remove <?php when added your code. It works now with
Thank You.....Code:<td> <?php echo "<a href='{$row_rsMath['Link']}'>{$row_rsMath['Link']}</a>" ?> </td>Leave a comment:
-
Hi Markus,
Thanks.....The result is in hyper-link, however the contents is not as what is in the database.
Example, the LINK coloum calls for www.yahoo.com, \Maths\NUMBERS TO 10 000 K3-SET1\quiz.html, etc.
Result after adding : echo "<a href='{$row_rsM ath['Link']}'>{$row_rsMath['Link']}</a>";
...Leave a comment:
-
Display SQL data in HyperLink
I'm very new to PHP and am trying to get one column (called LINK) of data to be displayed in the table, however as a hyper-link. I wish the user to be able to click on the link in order to launch a new quiz for example. Basically I need what is to be displayed by line 81 to be in a hyper-link format.
Table Display :
...Code:<?php require_once('Connections/Education.php'); ?> <?php if (!function_exists("GetSQLValueString"))
No activity results to display
Show More
Leave a comment: