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

WooCommerce - Product Expiration based on custom meta value
Passing data via Modal Bootstrap and getting php variable?
How to get data from 3 different mysql tables with one query
fastCgi request timeout vs PHP max_execution_time
PDOException' Invalid parameter number: parameter was not defined
Asp + vXML dynamic data
Make $id in foreach loop unique
Send PDF string with phpmailer and mpdf
How to fix GuzzleHttp\Exception\ServerException when using a Pool?
PHP DateInterval. Go back to the beginning of the year
Issues while creating a session
Exploding youtube code form string
Cannot run phpunit test, failed opening required class
Modify cake association result array
Bootstrap Modal YouTube embed with while (extension errors)
Laravel 4.2 filter - “Trying to get property of non-object” Error

Categories

HOME
oracle
azure-functions
barcode-scanner
ios-simulator
typeerror
gallery
navigation
haxe
google-search-console
gprs
firebase-database
azure-graph-api
amazon-emr
freertos
mixpanel
fosuserbundle
rpmbuild
varnish-vcl
jaspersoft-studio
cloudsim
codefluent
raml
angular2-highcharts
coreldraw
sharedpreferences
multi-upload
acl
window-managers
beego
fatfs
amazon-iam
autodesk-model-derivative
mapnik
sca
cups
nanogallery
ms-dos
eclipse-gmf
mv
variable-variables
telephonymanager
newtons-method
oauth2-playground
google-prediction
morphline
common-table-expression
qvtkwidget
ssi
deployd
icecast
sony-future-lab-n
karabiner
test-data
pjax
libharu
zynq
ftp-client
openseadragon
swiffy
gravatar
okta-api
diawi
deeplink
miniconda
variable-length-array
self
dsa
srv-record
360-degrees
green-threads
cache-manifest
relational-model
dbmigrate
utf8-decode
inequality
iplimage
treeline
maven-central
tabletools
pre
iosched
xsd2code
codahale-metrics
google-code-prettify
ember-table
node.js-stream
web-frameworks
reentrancy
office-app
struts2-json-plugin
story
image-formats
flymake
expression-web
botnet
cewolf
ninject-interception
icicles
aspbutton
rational-unified-process
tso
version-control-migration
objectinstantiation

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile