Jump to content

freshbee

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

freshbee's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Dear Friends, Is there any modules avail in php, from where dynamically html elements can be created. For example, by calling a function with set of arguments will create a table. Thanks in advance...
  2. Dear Friends, Can I write a function in php which includes all the javascripts. And call that function wherever necessary. Ex : [pre]class USER { public function include_js_files() { echo "<script language=javascript src=../scripts/IsValid.js></script>"; echo "<script language=javascript src=../scripts/IsAlpha.js></script>"; echo "<script language=javascript src=../scripts/IsEmail.js></script>"; } public function edit_user($user_id,$role_id) { self::include_js_files(); ..... echo "<form id=1 onsubmit='return chk_input();' method=post action='edit.php'>"; ..... ..... } }[/pre] Thanks in advance.
  3. Thanks a lot, Actually I had a issue with include_once so I want to use some other function. Thanks, get_included_files function will be useful to me.
  4. Dear Friends, Is there any function to check whether the file is already included ? Thanks in Advance.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.