When i dump data on my site, I need those "enum" values to repersent what they stand for. Dumping them just prints what is in the fields. Like a "Male" = "0" and "Female" = "1". To make my website display what the values mean. Maybe someone can point me in the right direction.
hi, thank you for your time and effert for creating these tutorials, can you make one tutorial of (how to querry the database from web using php, ie make the query from user input, rather than saying select * ,,, just put and id and then retrive the entire row that have connection with that row.
your time and effort appreciated very much. aram1918@yahoo.co.uk
thank you sir i will be glad to add money to a paypal email for this help, i have my own server and php my admin but i needed to display sku on a web page for my helper to have fast access very good help! i will formulate a question later on help in another issue
In mysql the date format is in yyyy/mm/dd , is there a way to manipulate this so that when it displays on your page with the rest of the retrieved data that it can be dd/mm/yy ?
@dashbyictfd i agree it worked perfect on my code and i looked at another site and the code was using loops like crazy this was a lot easier code very short ans sweet
I've tried and failed working with several php/MYSQL tutorials but this one works great! Can see the text clearly and the steps are clear and simple. Top stuff!
I have been following your tut and i'm trying to imply it to my coding. Pretty much im trying to do the same thing. i want to retrieve data from my forum that i made onto my site but its not working. do u have msn or an email so i can explain it more in detail? its probably an easy fix.
Firstly. Very well done tutorial. Wish I had found something like this when I was starting off. =(
Just a small note.
Using mysql_fetch_array is unnecessary as it returns both the name of the db column AND it's index number. There's no point in returning both when you're only going to be using one. I've never been in a situation where I needed anything more than the associative name.
Comment removed
BerimbauSenzala 2 weeks ago
thanks a lot..:)
farha2012 4 months ago
Thanks nice and neat work.
I just added the username and password of my PHPAdmin
Thanks
MegaTony1965 6 months ago
TY helped a lot..
soldieroscar 7 months ago
thanks man, this helped a lot.
KaibaCorporationDTDL 8 months ago
So, that query will always take all the data and put it into an array? No exception?
mastersuv 9 months ago
Hello Sir, What if i would like to retrieve the image from the database? i think the type is blog.it is the same process?plss help me...
from~gel_marc@yahoo.com
angelbacs 11 months ago
man i love you very much :D now i know how to connect to an online database!
batangyagit20 1 year ago
PHP gurus
samiwistler 1 year ago
You probably already know this but ... YOU ARE THE MAN!!!!!!!! thanks for your help!
titanicmusic14 1 year ago
When i dump data on my site, I need those "enum" values to repersent what they stand for. Dumping them just prints what is in the fields. Like a "Male" = "0" and "Female" = "1". To make my website display what the values mean. Maybe someone can point me in the right direction.
mmelson350 1 year ago
hi, thank you for your time and effert for creating these tutorials, can you make one tutorial of (how to querry the database from web using php, ie make the query from user input, rather than saying select * ,,, just put and id and then retrive the entire row that have connection with that row.
your time and effort appreciated very much. aram1918@yahoo.co.uk
aramkurdi 1 year ago
Many Thanks, great Job!.
anayfp 1 year ago
thank you sir i will be glad to add money to a paypal email for this help, i have my own server and php my admin but i needed to display sku on a web page for my helper to have fast access very good help! i will formulate a question later on help in another issue
ncbookz 1 year ago
In mysql the date format is in yyyy/mm/dd , is there a way to manipulate this so that when it displays on your page with the rest of the retrieved data that it can be dd/mm/yy ?
dashbyictfd 1 year ago
This was the first tutorial on this that I had followed that was
a) complete
and
b) I got working
great thanks.
dashbyictfd 1 year ago
@dashbyictfd i agree it worked perfect on my code and i looked at another site and the code was using loops like crazy this was a lot easier code very short ans sweet
ncbookz 1 year ago
I've tried and failed working with several php/MYSQL tutorials but this one works great! Can see the text clearly and the steps are clear and simple. Top stuff!
betaalpha987 2 years ago
I have been following your tut and i'm trying to imply it to my coding. Pretty much im trying to do the same thing. i want to retrieve data from my forum that i made onto my site but its not working. do u have msn or an email so i can explain it more in detail? its probably an easy fix.
TheyCallmeSR 2 years ago
@TheyCallmeSR if your forum uses a database then it will work this worked perfect for me he did a great job it is perfectemente
ncbookz 1 year ago
Firstly. Very well done tutorial. Wish I had found something like this when I was starting off. =(
Just a small note.
Using mysql_fetch_array is unnecessary as it returns both the name of the db column AND it's index number. There's no point in returning both when you're only going to be using one. I've never been in a situation where I needed anything more than the associative name.
So instead, just use:
while($row = mysql_fetch_assoc($result)){
//etc
I'd be willing to be that it's faster
WayneWexford 2 years ago
What keyboard are you using?
WeedingWaimbow 2 years ago
YOU SOUND LIKE MARK ZUCKERBERG
HxNxIxC 3 years ago
He's got a beautiful accent. Which region people sound like this?
duubamg 2 years ago
what is the link
timboiscool 3 years ago
Great tutorial dude :)
Though I'm a Pro on PHP but I love your videos, you explain good.
Very good for newbies.
Petterss22 3 years ago
hey if your pretty good at it could you make a video on how to put a username and pass on a site?
littleweb1 3 years ago
Yes, sure.
But I hate the uploading limit.
Petterss22 3 years ago
good one..hope you can post more of these!
23528 3 years ago
GREAT tutorial. I am hoping to see more advanced use of php/mysql in future videos from you.
alasxdair 3 years ago