php


Plz help me solve this


Fatal error: Call to undefined function mysql_connect() in
C:\xampp\htdocs\asset\library\database.php on line 4.........
<?php
require_once 'config.php';
$dbConn = mysql_connect ($dbHost, $dbUser, $dbPass) or die ('MySQL connect failed. ' . mysql_error());
mysql_select_db($dbName) or die('Cannot select database. ' . mysql_error());
function dbQuery($sql)
{
$result = mysql_query($sql) or die(mysql_error());
return $result;
}
function dbAffectedRows()
{
global $dbConn;
return mysql_affected_rows($dbConn);
}

Related Links

How to encrypt the $_GET data in php?
jquery mobile lost css with ajax post
if div with id has certain text remove other div
PHP inside PHP Syntax and Logic
How to send sms using php script from ftp server
Regex phone validation
MySql, PHP display Picture on HTml
Updating a page element in a php script
jQuery: Ajax before submitting form
subdomain to url redirect with mod_rewrite and htaccess?
associate cakephp model to non-cakephp database table
Adding Content-type to Pear Mail
Form Evaluation With PHP
Loading an array of arrays from mysql
Parsing text in php
jquery- how to run ajax in document ready?

Categories

HOME
jboss
visual-studio
libgdx
memory
lambda
keyboard
verification
functional-programming
seedstack
writefile
filesize
bing-search
twitter-fabric
mirc
iptables
visualforce
share
onvif
native-base
pyresttest
siesta
scrape
feature-extraction
sonata
asp.net-core-1.0
orange-api
vmware-workstation
asciimath
hidden
gravity
wsf
pst
connection-refused
animated-gif
substance
tilemill
opnet
rust-cargo
plantuml
appcode
counting
nest
pdfminer
love2d
ms-solver-foundation
macports
gitolite
linq.js
oauth2
viewcontroller
code-push
nuclio
lvalue
dymola
wildfly-9
textpattern
ibm-was
nette
postal-code
fantom
roxygen2
darwin
explain
physicsjs
android-audiomanager
nsmutabledata
microsoft-expression-web
accessory
sqlbindparameter
typesafe-stack
proxy-server
cgrectmake
fitch-proofs
mkannotation
acpi
delphi-prism
data-dump
fork-join
turbine
downgrade
ccnet-config
.net-services
rawcontacts
source-code-protection
rtti
tso
icon-language

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App