dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: PHP Link Question

  1. #1
    Bad Monkey qetret's Avatar
    Join Date
    Aug 2001
    Location
    England
    Posts
    922

    PHP Link Question

    Sorry about such a ridiculous question, I'm struggling with this simple task though.

    I cannot get the following to open in a new window, can anyone help please?

    Code:
    <? echo ($title!='') ? "onclick=document.location='bs-bookings-edit.php?id=".$goid."'" : '' ?>
    Thanks

  2. #2
    Member
    Join Date
    Aug 2012
    Posts
    55
    $this->load->helper('url');


    echo anchor('http://your.link.com/whatever', 'title="My News"', array('target' => '_blank', 'class' => 'new_window'));

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center