Home
About
Contact
HOME
HTML
CSS
JavaScript
C
C++
Java
Python
MySQL
Tips & Tricks
Web Design
Home
get one column value in php from mysql database
get one column value in php from mysql database
Kahnu044
December 11, 2021
$sql =
"
SELECT
p_name
FROM
products
where
p_id
=
1
"
;
$result = mysqli_query($conn, $sql);
$row = mysqli_fetch_array($result);
$site_url= $row[
'p_name'
];
echo $site_url;
Post a Comment
0 Comments
Search This Blog
Labels
Php
41
Web Design
37
CSS
23
HTML
22
Javascript
15
Tips & Tricks
15
MySQL
9
Java
8
Python
6
linux
6
Other
4
git
3
kali linux
3
laravel
3
sailsjs
3
wordpress
3
cmd
2
cpanel
2
firebase
2
node
2
react
2
xampp
2
C
1
C++
1
Django
1
Jquery
1
apache2
1
cloudflare
1
codeigniter
1
domain
1
github
1
hosting
1
mysql stopped
1
postgres
1
sbi
1
ssh
1
tailwind
1
tech
1
ubuntu
1
ubutnu
1
wifi
1
windows
1
windows 10
1
windows 11
1
Popular Posts
0 Comments