49 users online (0 members and 49 guests)  

Thread: simple question


  Results 1 to 3 of 3

Related

  1. Simple CSS question about Headline    Forum: Myspace Forum
    Replies: 0
  2. Keep It Simple S****d    Forum: HTML Forum
    Replies: 3
  3. simple frame question    Forum: HTML Forum
    Replies: 2
  4. simple link question    Forum: HTML Forum
    Replies: 5
  1. #1
    minds_gifts's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2003
    Posts
    15

    simple question

    Hello,

    I have a text called telephone number and when i click on this i would like to open a small window and show the telephone number for the corresponding record.Before, i queried the records from the table and able to display the records.I've problem only in displaying this one:
    PHP Code:
    echo"<tr>
        <td width='50%' bordercolorlight='#C0C0C0' bordercolordark='#C0C0C0'><a href='"
    .$row[telephone]."'>Telephone number</a></td>
      </tr>"

    So, How should my a href st should look like??

    Many thanks

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    I am not sure I understand what the problem is, sorry. would you mind explaining a bit more?
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    Doorknob's Avatar
    Super Newbie

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Malaysia
    Posts
    316
    PHP:--------------------------------------------------------------------------------
    echo"<tr>
    <td width='50%' bordercolorlight='#C0C0C0' bordercolordark='#C0C0C0'><a href='".$row[telephone]."'>Telephone number</a></td>
    </tr>";

    --------------------------------------------------------------------------------

    should look like
    <a href=# onClick='window.open(".$row[telephone].'');'>Telephone Number</a>

    i think



Tags for this Thread