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

Laravel 5 Migration namespace
Category permalinks not built correctly
how i can give a 2-d array values to a linear array in php [closed]
Echo/Print something to page with delay in php
PHP class for Twitter feed - Warning: Invalid argument supplied for foreach() in
PHP mssql and while loop skips one item
Get a stored procedure from other user in Oracle using Dreamfactory
Symfony 2.7. How to get/set value of the Form field after Form submission?
Passing Table Rows & Single Variable together in Controller Response in Laravel
SQL Rounding a non decimal number [duplicate]
Rectrict user to its own page and show their own project
mysqli prepared statements remove new lines
How to get row of the table with maximum value
Is there any way to overwrite CONSUMER_KEY and CONSUMER_SECRET
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW)
PHP: Showing How Long Ago A File Was Modified

Categories

HOME
opengl
user-interface
magento2
facebook-messenger
openxml
couchdb
postgresql-9.4
compilation
code-formatting
openlayers-3
amp
wagtail
siesta
erd
fbloginview
mailmerge
sslhandshakeexception
sql-injection
max-msp-jitter
bsd
neo4j.rb
coreldraw
environment
python-appium
webviewclient
offline-caching
openbravo
tf-idf
intune
premake
android-canvas
pdfnet
stackpanel
aurelia-cli
recovery
android-n
newtons-method
opal-framework
destroy
wysihtml5
android-5.0-lollipop
beeline
md5-file
amazon-elastic-beanstalk
gestures
line-intersection
algebra
gnome-terminal
mpmovieplayercontroller
openerp-6
java-2d
streamwriter
libharu
jsonix
unsigned
sharepoint-apps
jemdoc
flipclock
currency-exchange-rates
univocity
flask-security
m4
helm
cryptojs
juniper-network-connect
blockquote
360-degrees
uitest
android-handler
sequence-sql
darwin
ocmockito
scala-swing
nsmutabledata
kognitio-wx2
jcheckbox
phonegap-facebook-plugin
zend-mail
osascript
webmethod
accessory
jomsocial
autonumber
compiler-flags
revmob
arel
icenium
daap
uploading
acpi
dynamic-c
data-dump
git-log
explicit
odac
j2mepolish
prism-2
server-load
regioninfo
webclient.uploaddata

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App