User Profile

Collapse

Profile Sidebar

Collapse
Mark Ruth
Mark Ruth
Last Activity: Dec 7 '11, 05:02 PM
Joined: Dec 6 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Mark Ruth
    replied to PHP Hyperlink in an if else php statement
    in PHP
    I tried your code and still got an empty page but your syntax example send me down a path that resulted in me finding a working solution.
    here is my working section of code:
    Code:
    <?php 
    $v1 = $row_Recordset1['Name'];
    $v2 = $row_Recordset1['VacationID'];
    if ($v1 =="Open")
    {
    echo ("<a href=\"VacationSignUp.php?VacationID=$v2\">Signup</a>");
    }
    else
    ...
    See more | Go to post

    Leave a comment:


  • Mark Ruth
    started a topic PHP Hyperlink in an if else php statement
    in PHP

    PHP Hyperlink in an if else php statement

    This code runs fine and creates a link for each record in my record set with Name-=”Open” I hard coded the link to point to record 7 but I need to be able to dynamically grab the actual record number. If Name <>”Open” then the cell says “In Progress” without a link.

    <td>
    <?php
    $v1 = $row_Recordset1['Name'];
    ?>

    <?php
    if ($v1 =="Open")
    ...
    See more | Go to post
No activity results to display
Show More
Working...