User Profile

Collapse

Profile Sidebar

Collapse
RANJIT SINGH
RANJIT SINGH
Last Activity: Jun 25 '11, 12:33 PM
Joined: Jun 13 '11
Location: Malaysia, Pahang
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • RANJIT SINGH
    replied to Display table based on checkbox selection
    in PHP
    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.

    ...
    See more | Go to post

    Leave a comment:


  • RANJIT SINGH
    started a topic Display table based on checkbox selection
    in PHP

    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,
    ...
    See more | Go to post

  • RANJIT SINGH
    replied to Display SQL data in HyperLink
    in PHP
    Sorry Marcus....it was my mistake. Should have not remove <?php when added your code. It works now with

    Code:
    <td> <?php echo "<a href='{$row_rsMath['Link']}'>{$row_rsMath['Link']}</a>" ?> </td>
    Thank You.....
    See more | Go to post

    Leave a comment:


  • RANJIT SINGH
    replied to Display SQL data in HyperLink
    in PHP
    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>";

    ...
    See more | Go to post

    Leave a comment:


  • RANJIT SINGH
    started a topic Display SQL data in HyperLink
    in PHP

    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"))
    ...
    See more | Go to post
No activity results to display
Show More
Working...