is there any php code to open window like window.open in js ?

Discussion in 'PHP' started by zuhairtaha, Jul 30, 2010.

  1. #1
    is there any php code to open window like window.open in js ?
    if you have any suggestions plz hlp...
     
    zuhairtaha, Jul 30, 2010 IP
  2. Rainulf

    Rainulf Active Member

    Messages:
    373
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    85
    #2
    PHP is used for making dynamic and interactive webpages, it's not client-side. Opening a window is a browser action and can be done only with javascript or html tags such as _blank =/
     
    Rainulf, Jul 30, 2010 IP
  3. UB Media

    UB Media Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    There is no way you could do that in PHP.
     
    UB Media, Jul 31, 2010 IP
  4. sujendra c

    sujendra c Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi,

    it is good and is used in many ways

    regards,

    phe9oxis,

    http://www.dynamicdrive.com
     
    sujendra c, Jul 31, 2010 IP
  5. ajomehri

    ajomehri Active Member

    Messages:
    212
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #5
    but you can include js and html in a php file by using appropriate tags!
     
    ajomehri, Jul 31, 2010 IP
  6. ZeeshanButt

    ZeeshanButt Well-Known Member

    Messages:
    307
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #6
    What are you trying to achieve exactly? Tell us. I may develop a php function(wrapping js) for you but you need to be clear.
     
    ZeeshanButt, Jul 31, 2010 IP