Hello Sir, Thanks for spending time for my mail and thanks for you kind response, but sir though php is a server side scripting language it supports the following tag
<script language="php">....</script> This is mentioned in the php manual, and I have done lot of scripts of same kind using above tags an' all of them are working fine. This is part of php manual --------------------------------------------------------------------------- Migrating from PHP/FI 2.0 to PHP 3.0 Start/end tags The first thing you probably will notice is that PHP's start and end tags have changed. The old <? > form has been replaced by three new possible forms: Example A-1. Migration: old start/end tags <? echo "This is PHP/FI 2.0 code.\n"; > As of version 2.0, PHP/FI also supports this variation: Example A-2. Migration: first new start/end tags <? echo "This is PHP 3.0 code!\n"; ?> Notice that the end tag now consists of a question mark and a greater-than character instead of just greater-than. However, if you plan on using XML on your server, you will get problems with the first new variant, because PHP may try to execute the XML markup in XML documents as PHP code. Because of this, the following variation was introduced: Example A-3. Migration: second new start/end tags <?php echo "This is PHP 3.0 code!\n"; ?> Some people have had problems with editors that don't understand the processing instruction tags at all. Microsoft FrontPage is one such editor, and as a workaround for these, the following variation was introduced as well: Example A-4. Migration: third new start/end tags <script language="php"> echo "This is PHP 3.0 code!\n"; </script> ------------------------------------------------------------------------ Thanking you, cheers :) - JFK kishor Nilgiri Networks On Tue, 18 Dec 2001, Jim Lucas wrote: > Plus, what is the <script language='php'> tag for. > PHP is a server side language, not client side. > and you have the above mentioned tag inside of an IF statement. so, if the > statement doesn't return true, it will never print the openning tag but it > will always print the closing "</script>" tag. > > Jim > ----- Original Message ----- > From: "J.F.Kishor" <[EMAIL PROTECTED]> > To: "PHP Mailing List" <[EMAIL PROTECTED]> > Sent: Tuesday, December 18, 2001 5:26 AM > Subject: [PHP] Error while calling a function > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]