[ad_1]
In this video tutorial I’ll start explaining how to create a new user registration system for a message board system. This is also a review of PHP, MySQL, HTML, CSS, and JavaScript.
Code is Here:
Recaptcha Article:
[ad_1]
In this video tutorial I’ll start explaining how to create a new user registration system for a message board system. This is also a review of PHP, MySQL, HTML, CSS, and JavaScript.
Code is Here:
Recaptcha Article:
by
Tags:
If I'm to make a website with a special feature which I think I should create from scratch, but if forum with no special feature is needed, would it be a better idea to simply use a framework like phpBB, bbpress, etc ? I've been learning many different things (you've been a very very excellent source) and when it comes to a big picture like using frameworks, I have no idea what the right approach would be.
Derek your voice keeps me coming back to your tutorials man, the way you start with "well hello internet" and the way it sometimes swoops down and back up again
You've got a good voice
Why do you use a input type=hidden to check if the form is submitted, if you can just check if the submit button itself is pressed: if(isset($_POST['submit'])){} ?
is there any advantages of using the hidden input type?
very nice videos! ive learnt a lot using your vids π
can someone help me it gives me a bunch of errors here is the code:
<?php
DEFINE ('DBUSER', 'root');
DEFINE ('DBPW', '');
DEFINE ('DBHOST', 'localhost');
DEFINE ('DBNAME', 'msgbrd');
if ($dbc = mysql_connect (DBHOST, DBUSER, DBPW))
{
if (!mysql_select_db(DBNAME))
{
trigger_error("Could not select the database"
.mysql_error());
exit();
}
} else {
trigger_error("Could not connect to MySQL");
exit();
}
function escape_data ($data)
{
if (function_exists('mysql_real_escape_string'))
{
global $dbc;
$data = mysql_real_escape_string (trim($data), $dbc);
$data = strip_tags($data);
} else {
$data = mysql_real_escape_string(trim($data));
$data = strip_tags($data);
}
return $data;
}
?>
——————————————————————————————————————–
and some people say to change "mysql" to "mysqli" but it gives me these errors;
"Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in C:wampwwwforum1configmsgbrd.php on line 9"
function of that error:
mysqli_select_db ( )
and this error :
" Could not select the database in C:wampwwwforum1configmsgbrd.php on line 12"
function of that error:
trigger_error()
Iβm fairly new to PHP and MySQL. I have a WAMP server setup for learning purposes. Iβm trying to follow this tutorial on my setup, but I get an error. The mysql_connect function has been deprecated and no longer works. The message says to use PDO or MySQLi instead.
I did some research and it seems like PDO is the best choice going forward. Can you make a video showing how this forum would work using PDO? Is it just a matter of changing the connection function, or does the majority of the code need to be changed as well?
Thanks.
Derek please i cant seem find the part 1 of this video
Yes
Like a chat application?
Can you do a tutorial on message box between user?
You need to save everything into the web server folder. Does that help?
How do u get it to open the page to test if it worked
Merci beaucoup π
Thank you very much π I just would like to improve everything and fix many of my past mistakes to make the information much better. Thanks for the kind words. I appreciate them
man you shouldn't be sorry ever actually we should thank you about your effort it's only me love every thing organized and it's all about that i follow your playlist and i couldn't found these tutorials in any playlist and i am afraid that there are another tutorials not in any playlist and i won't watch it but i wanna thank you really about your awesome tutorials
Sorry about that. I have to clean some things up. I never expected to make 500 videos. If you search for PHP Forum on my YouTube channel they all come up in order. Sorry about the confusion
Unfortunately it's not belong to it and i found many of your "Awesome" tutorials not belong to any playlist
PHP which I think I called Web Design and Programming
which playlist this tutorial belong man π
You're very welcome π I'm glad you enjoyed it
Good tutorial for beginner of php. Little complicated I felt but by watching two to three times I got ur logic. Thank you Sir for such a nice video tutorial
No problem. I'm sorry the code isn't better organized
First this is just a basic forum and isn't ready to be used online. I'm just showing the basics of what a forum would have. The most common issue is that you must have your password defined as char(40) in the database. You can get all of the code by typing "newthinktank PHP FORUMS" in google. I hope that helps
I'm glad it did π
Thank you it helped
Probably the best thing to do is to go to my website. Click on Videos – Web Programming – PHP & MySQL. That lists every video in order, on one page. I'm sorry it is so complicated. I decided to cover so many random advanced topics in this tutorial. I also have a slow version of this tutorial. Go to Web Design – Learn PHP, also on my site. It is considerably slower. I hope that helps
Ok, it is not that I am lost or anything, but some of your concepts are hard to follow along with because you move so fast. I am not a pro on all the concepts and coding but I am familiar with them. However is it possible that you could slow down for you previous tutorials that you will be making to cater for slow learners like my self. Also where do I start on your videos because I have browse through trying to find a starting place but still I am directed to something else. Where do I start?
@tamondong1000 Links to the code are in the underbar under the video on YouTube
@Boudabang You're welcome π
Thanks Derek for the tutorial, really helps
@bry789123 I may just make a Facebook clone. It won't have an API, but Facebook doesn't really have working API π They do, but it changes everyday so what's the point. I just checked and bookingfaces isn't taken. Maybe I'll get it and see if I can get sued π Ahh to smiley faces! Next I'm going to type LOL
@TechreSite When I make a promise I stick to it. Real life has been a bit busy lately
Leave a Reply