User Profile

Collapse

Profile Sidebar

Collapse
hbhaskar
hbhaskar
Last Activity: Mar 14 '11, 11:51 AM
Joined: Feb 28 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • hbhaskar
    started a topic multiple option in checkbox
    in PHP

    multiple option in checkbox

    for passing on multiple values through a variable, i used the following command within a form

    Code:
    $query = "SELECT * FROM case_query where case_no='$case_no'";
    $result = mysql_query($query);
    while($row = mysql_fetch_array($result))
    {
    extract($row);
    // queue_owner and query_id are the fields in table case_query
     echo "<tr><td ><input type='checkbox' name='C1'  value='$queue_owner'></td><td
    ...
    See more | Go to post
    Last edited by Dormilich; Mar 5 '11, 10:00 AM. Reason: please use [CODE] [/CODE] tags when posting code

  • hbhaskar
    replied to Getting blank when hyperlinking in PHP
    in PHP
    see "case_id","case _no" and "date_rec" are the fields in the table "query"
    See more | Go to post

    Leave a comment:


  • hbhaskar
    started a topic Getting blank when hyperlinking in PHP
    in PHP

    Getting blank when hyperlinking in PHP

    I used the following command to hyperlink
    Code:
    $result_id1 = mysql_query("SELECT * FROM query order by case_id");
    for ($i=0; $row1=mysql_fetch_array($result_id1); $i++)
    {
    //case_no is a field in the table "query"
    echo "<TD><b><a href='http://localhost/test/details.php?case=$row1[case_no]'> $row1[case_no]</a></b> </TD>";
    }
    now the file details.php...
    See more | Go to post
    Last edited by Dormilich; Feb 28 '11, 03:05 PM. Reason: please use [CODE] [/CODE] tags when posting code
No activity results to display
Show More
Working...