what is this error "Call to unsupported or undefined
function mysql_connect();" and when you will get this?
Answers were Sorted based on User's Feedback
Answer / vijaya
This type of error will be displayed when mysql extension is
not enabled in your configuration file. This means,
mysql_connect is not supported.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / shishir mudliyar
"Call to unsupported or undefined
function mysql_connect();"
these message is displayed when mysql dll file is not
specified in php.ini file or .dll which support mysql is
comment on php.ini file.
| Is This Answer Correct ? | 0 Yes | 1 No |
Explain me is multiple inheritance supported in php?
Tell me what is the use of "ksort" in php?
Tell me how can we get the error when there is a problem to upload a file?
Explain the advantages of using PHP?
Why session is required?
Explain Type juggling?
What is php mean?
Can you use php and javascript together?
What is sorting php?
<?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
How are sessions maintained?
can anyone explain about stored procedure,Triggers and transaction in php?