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

PHP Array To HTML Table Issue
laravel 4 Undefined index: password
How to customize redirect url after request validation fails in laravel 5?
zf3 - exception while calling authenticate method of Zend Authentication Service
multiple message using SESSION
html container scrolling bug
Trying to change how the remove button works
How to secure video url using laravel?
cakephp3- hashed password doesnt match when compared
How i can get first child element from xml?
PHP - Is there a way to get a variable value if it is set?
Visual Composer: Add options to “Post Grid” component
Joomla 3.7 administration link doesn't work
MongoDB database errors
PHP: How to get an access to the Objects in Array [closed]
cURL unknown SSL protocol error [closed]

Categories

HOME
flask
adobe
histogram
google-webmaster-tools
gallery
google-sheets-query
vue-resource
drag-and-drop
firebase-database
wagtail
telegraf
orc
angular4
sslhandshakeexception
cmake-gui
spring-ldap
dashdb
pyopencl
nurbs
window-managers
history.js
basex
ccavenue
d3.js-v4
infopath2010
windowsiot
steam-web-api
nsmutablearray
osx-lion
cmis
bootstrap-sass
express-session
uivisualeffectview
eclipse-gmf
cheat-engine
sbjson
imgur
autorelease
brightscript
mobile-angular-ui
glassfish-4.1
haraka
deviare
always-on-top
jenkins-workflow
openseadragon
deferred-rendering
wicked-pdf
adjacency-list
i2b2
flask-security
gluon-desktop
angular-amd
alwayson
flow-js
scala-macros
text-align
camus
incron
dnsjava
zend-mail
object-code
communicate
nachos
rails-api
jack
hotswap
compiler-flags
rautomation
unicoins
chefspec
xcode4.5
stretch
trialware
firebird1.5
sigar
servercontrol
botnet
tablet-pc
libxslt
solandra
tessellation
icicles
sscli
j2mepolish
asdoc
spring-modules
stretchblt
acceleration

Resources

Encrypt Message