Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can you insert javascript in php code?

Answers were Sorted based on User's Feedback



How can you insert javascript in php code?..

Answer / bnvs kishore.

<?php
//php coding.
?>
<script langauge="javascript">
//javascript coding.
</javascript>
<?php
//php coding.
?>

Is This Answer Correct ?    15 Yes 22 No

How can you insert javascript in php code?..

Answer / tamil selvan

<?php
echo <script type="text/javascript">
</script>
?>

Is This Answer Correct ?    24 Yes 68 No

How can you insert javascript in php code?..

Answer / tejas

<?
<script language='javascript'>

</script>

?>

Is This Answer Correct ?    38 Yes 85 No

Post New Answer

More PHP Interview Questions

Tell me what is the difference between ereg_replace() and eregi_replace()?

0 Answers  


How can we submit a form without a submit button? What is the use of obj_star?

2 Answers   Rushmore Consultancy,


What is encapsulation in oop php?

1 Answers  


<?php /** * @version 1.0 $ * @package HelloWorld * @copyright (C) 2005 Andrew Eddie * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL */ /** ensure this file is being included by a parent file */ defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?> <?php $database =& JFactory::getDBO(); //$sql = 'SELECT name, username FROM #__users'; $sql="select a.id, a.title, a.introtext, a.created_by, a.created from jos_content a, jos_content_frontpage b where a.id=b.content_id and b.ordering='2'"; $database->setQuery( $sql ); $user = NULL; $user = $database->loadObject(); //echo 'Name: ' . $user->name . '<br />'; echo '<h1>' . $user->title . '</h1><br />'; //echo 'Username: ' . $user->username; echo ' ' . $user->introtext; i write this and fetch the result from the database the result is The Intranet is up and working ! Our intranet is up and working and should be accessible from both Mumbai and NOIDA. As you will notice, this template, look & feel is not in line with our corporate indentity but we chose the route of "form-follows-funtion" In the first phase, we are rolling out functionality that is critical to all of us - Policies and How-to documents. In subsequent phases, we will be launching other features. Keep watching this space for more details i want to see only 4 line of top then how this may done

0 Answers   Infovision,


What is the difference between client-side and server-side programming?

0 Answers  


Can the value of a constant change during the script's execution?

0 Answers  


How to check a key exist in an array?

0 Answers  


What is fulltextsearch

2 Answers   A1 Technology,


What is the difference between include and require?

0 Answers  


Where can I learn php?

0 Answers  


Is php dying 2018?

0 Answers  


What is php regular expression?

0 Answers  


Categories