Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2003
    Posts
    23

    Unanswered: page_load with php

    Hi everyone, I'm trying to learn PHP. In Asp.net there is a page load event, what's the syntax for this in PHP. Cause as soon as the page load I would like to set the text box value. And How do I set the value of a text box dynamically. Thanks for the help.

  2. #2
    Join Date
    Jan 2004
    Location
    India
    Posts
    168
    You can simply use javascript for this purpose... as this is a client side requirement.

    onLoad()
    this is the function that can be used in the body of the web page where you want to do that work.
    else if you insist in php the you can use
    <php
    Your function of syntax............
    ?>
    add your line to it and include this in the top of the file

    Regards
    Rajesh

Posting Permissions

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