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

00 (double zero) is being seen on my query string as 0
UPS Shipping Tutorial (PHP)
Moving wordpress site from Nginx to Dedicated Server Windows
Can't catch exceptions in laravel
facing function mysqli_init fatal error whereas mysqli driver is installed already
Custom validator constraint in Symfony 3
PDO mysql query statement issue
Cannot create cookies on HTTPS site [duplicate]
codeigniter not display redirect page same
Can't send a mail with the php function (Hostinger) [duplicate]
php not updating my sql database table any suggestion where the error is as it dosnt show any error [duplicate]
Laravel permission and scopes
PayPal IPN not work after payment
Script keeps showing array to string conversion mistake
Convert to 12 format time
How could I make xsl:value-of dynamic?

Categories

HOME
opengl
knockout.js
firebase
mod-rewrite
apache-nifi
generics
ontouchlistener
bots
enums
hid
stacktrace.js
loopbackjs
code-formatting
filesize
whmcs
mirc
google-sheets-query
javafx-8
roku
solution
migrate
orc
dma
bnf
c#-7.0
tomcat8
exec-maven-plugin
boomi
cloudsim
renderscript
cpu-usage
raml
cmake-gui
error-logging
bsd
coreldraw
batch-rename
pdf.js
vuforia
firemonkey-style
web-config-transform
cellular-network
beego
onchange
sendmessage
region
phpstorm-2016.1
vcenter
mongoengine
image-optimization
numerics
assertions
redgate
forms-authentication
llvm-ir
netapp
suds
newtons-method
jshint
openstack-glance
word-2007
hmmlearn
wildfly-9
streamwriter
tablespace
openquery
data-management
p6spy
conan
openseadragon
dpkg
qtcpsocket
deferred-rendering
android-syncadapter
codecharge
timestamping
vimperator
okta-api
phpquery
fanotify
swagger-maven-plugin
web-api
ocmockito
nsmutabledata
mojo
vs-unit-testing-framework
iodocs
tabris
aho-corasick
jini
hotswap
jomsocial
spring-social-linkedin
windows-taskbar
pbkdf2
pacman
sunstudio
spark-view-engine
hardcode
infopath-2007
differentiation
haiku
fork-join
ninject-interception
resharper-5.1
3270
fuzzy-comparison
inversion
acceleration
code-camp

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