Connecting and adding data to MySql database - Creating your own website in php and html

preview_player
Показать описание
This is the fifth tutorial in my web development series.
Рекомендации по теме
Комментарии
Автор

good to see another video from you. :)

samable
Автор

Can you please make another video on how to make it so people can't just link into the php file (for example, go to localhost/loggedin.php) and instead just available for people who are logged in. Thanks!

OliverLeopold
Автор

I was thinking about something like that, I haven't recorded videos in this series for a while though. I am thinking about starting it up again, and I might do something like that if I do :)

-- Hirsh

hirshagarwal
Автор

Note to anyone having issues with Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in.

The mysql_ functions are deprecated and were removed with php version 7. I'm don't know the solution yet but just so you know it's nothing that you added incorrectly from the code in the videos.

jasonzimmerman
Автор

Oh man, this is a really common problem and I have forgotten how to fix it. Check to make sure that you are using the correct type of ticks (" or '), I think that might be what causes it. If it's not leave another comment and I will try to help. Also I think that I get the error at some point in the video and fix it, not sure though.

hirshagarwal
Автор

I subscribed to your channel. This was a great idea for a tutorial series. But there are problems in the code. And I wish that it was finished. I'm not sure how you fixed the issue from the fourth tutorial, and I'm having issues on this one. If you have any advice for where I can go to learn PHP and mysql better please let me know. I really haven't done much with them so I trying to get some basics down. I don't know why but this PHP and mysql stuff is getting me confused. I thought it would be easier because I have experience in Java, Javascript, Jquery, Html, and Css but I guess not.

jasonzimmerman
Автор

Great job Hirsh, it was really helpful. BTW have you already mad the other video? If yes I'm not able to see it if not is it possible for you to kindly make a listing website where one can create user rights for them to be able to post listings which are stored on the database and if they are not given the rights they can only see the listings.

francisshirekuli
Автор

getting this and m sending codes also
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in on line 21

ameetpawar
Автор

can you say me how u rectified the warning regarding mysqli_fetch_array() expects parameter 1 to be resource

PrudhviKunapareddy
Автор

đã thành công khi làm chỗ DA L0 05:22 2:13 4:56

LiênHoa-pn
Автор

Well you said this will probably work so thats the only thing that doesnt for me :D
Thise line right here
mysql_query("INSERT INTO `users` VALUES(' ', '$userreg', '$passreg')")
or die("Strange error");
Well it sends me a strange error msg and if i take out the "or die();" part and put ; at end if mysql_query(); it gives like an error page not found.
Would apriciate your help, all in all very good tutorials.

Wacaboyfull
Автор

Make it like fb
enter status update and retrieve all users status updates in the wall

bloodquefolia
Автор

lol, thanks, I have been away for a while.

hirshagarwal
Автор

có DA L0 05:22 2:13 4:56 làm mau lẹ và an toàn lắm

seoomm-df
Автор

Warning: mysql_fetch_array() expects parameter 1 to be resource, string given in D:\xmpp\htdocs\connect.php on line 19

Warning: mysql_fetch_array() expects parameter 1 to be resource, string given in D:\xmpp\htdocs\connect.php on line 20

sanketsud
Автор

Mò cả buổi trời không xong may mắn sao tìm được DA L0 05:22 2:13 4:56 họ làm cho vừa nhanh lại được việc

luonggia
welcome to shbcf.ru