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

How to get the max and min of a data from child table with mysql and php?
i just want to add my session values in array but it display only the last elememt here is my code
Create new folder from public and use as a admin side in laravel
Server hacked, apache2 log contains get with a bash command
I get this error: “array_push() expects parameter 1 to be array, string given” even when the value is of type array
Unset bootstrap alerts after display
Matching inputed data to MySQL stored data. Token based auth style
Wordpress Fatal error: require(): Failed opening required on line 97
PHP: issuing a cron job once every 24hrs from initial date
Override Model property or method in laravel using service provider
A non well formed numeric value encountered using maths functions in cakephp3
XDebug is pausing just once
Using PHP MSSQL PDO with Plesk
json_encode sometime not working
How to lunch Swiftmailer inside a button function
laravel js best practice

Categories

HOME
jboss
spring-data
apache-nifi
vagrant
facebook-messenger
systemd
windows-10
command-prompt
visual-studio-2010
docker-cloud
azure-data-lake
linker
javafx-8
msmq
documentum
pm2
multi-step
async-await
pywinauto
pickle
error-logging
azure-machine-learning
yii2-basic-app
acl
cell
jstree
unrar
ibm-connections
envoy
dotcms
mongodb-3.4
custom-keyboard
cmis
nppexec
aurelia-cli
uivisualeffectview
xll
sspi
export-to-pdf
newtons-method
flipkart
robust
httphandler
xcglogger
non-linear-regression
entropy
deedle
glassfish-4.1
java-2d
logical
system.web.optimization
spring-mongo
traversable
meld
xcopy
currency-exchange-rates
vim-plugin
cryptojs
in-app-billing
srv-record
featuretoggle
wso2ml
postal-code
libz
alwayson
flow-js
rfc5545
python-curses
r.java-file
cout
dmake
aho-corasick
full-text-indexing
ivalueconverter
accountmanager
hyphen
frontbase
grails-2.3
sql-view
notifyjs
dibs
ofstream
android-authenticator
multiple-dispatch
story
dropshadow
glx
differentiation
cassini
explicit
eai
ning
watchpoint
gui-designer

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