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

Trying to get property of non-object when its clearly a property on an object
How to display array -1 in foreach
Framework for storing settings in a database (PHP and MySQL) [closed]
How to Send an HTML and CSS Stylized Email Through PHP From Server
Something wrong with php code [closed]
Split an array by key
Cannot Read GCM server response using JAXL php library
Cannot respond with 404 in HEAD request
Append filtertag to DomDocument using PHP
PHP/MySQL Find event within UNIX time span
Looking for multiple strings from txt file with simple_html_dom, only displays last
mysql_num_rows() expects parameter 1 to be resource on line 17 [duplicate]
Input data to MySQL fails
send email and insert data to database php mysql [closed]
Template vars on Mail::send PrestaShop
Scenario not working on form validation with Yii 2

Categories

HOME
openshift
opencart
seedstack
adobe
odata
android-emulator
yahoo
azure-graph-api
lda
solution
scrape
cqrs
locationmanager
clish
multi-step
l20n
azure-machine-learning
data-type-conversion
generator
fluent-migrator
sybase-ase
restier
animated-gif
jstree
onchange
acrobat
premake
mongodb-3.4
series
image-optimization
pdfminer
jslint
eclipse-gmf
reset
utf
python-jira
pyttsx
fluid-mac-app-engine
latexml
asihttprequest
linq-to-excel
autorelease
viewmodel
android-5.0-lollipop
brightscript
comm
amazon-elastic-beanstalk
deedle
connect-direct
clrs
rational-performance-test
e
dmarc
maven-release-plugin
right-to-left
rails-engines
jemdoc
myfaces
ui4j
miniconda
google-maps-api-2
largenumber
openshift-cartridge
cfwheels
mixins
ngcordova
artisan
com0com
mgwt
incron
comctl32
webmethod
forio-contour
refit
nodeload
preorder
illuminate-container
dynamic-rdlc-generation
jquery-cycle
oembed
lynx
image-formats
msinfo32
cakeyframeanimation
uipangesturerecognizer
microblogging
datacontracts
getopts
fork-join
dip
mysqli-multi-query
spring-modules
eai
ning
acceleration
isapi-redirect
chronic
word-automation
parentid

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile