www.webdeveloper.com
Results 1 to 5 of 5

Thread: [RESOLVED] Javascript & PHP

  1. #1
    Join Date
    Sep 2007
    Posts
    5

    resolved [RESOLVED] Javascript & PHP

    Is it possible to do this?

    Code:
    <a href="clientdis.php?clientid=<?PHP echo @$clientid; ?>" onClick="openDialog1('clientdis.php?clientid=<?PHP echo @$clientid; ?>'); return false;">Client Company</a>
    When I load the page, it never passes the id value. What's wrong??

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Do you mean $clientid is not replaced in the html?
    At least 98% of internet users' DNA is identical to that of chimpanzees

  3. #3
    Join Date
    Sep 2007
    Posts
    5
    Correct.

  4. #4
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    What is it's value and where is it defined?
    At least 98% of internet users' DNA is identical to that of chimpanzees

  5. #5
    Join Date
    Sep 2007
    Posts
    5
    Your last comment helped me look through my code and i was not using the correct one. Thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles