Added: 1 year ago
From: ryanconn4
Views: 9,040
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (60)

Sign In or Sign Up now to post a comment!
  • your a legend, passed my uni assignment because of you

  • Your db isn't always on localhost. it may be hosted on another domain, or another server, depending on your setup.

  • tnx 4 this tutorial it's so easy to learn :))

    plz keep it up. . . .

  • Hello, Ryan. Your is the easiest of all the tutorial, but can you please send me the source code for this tutorial.

  • I watched well over 4 hours worth of tutorials and yours was the only one i could get working thank you sir

  • Thanks soooo much!

    I was looking for this all day!

    Thanks again!

  • does your database connect? coz im having problems with mine.

  • How does the user know it's password once they register?..

  • I have done everything right, i submit my form then the regprocess page shows up white but the data aint transfered to my database.

  • me too it doesnt even go to regprocess with mine .. how to connect to database please help

  • hi there im a beginneer on php and sql...i need to know which software application is best for coding this stuff...

  • thanks. ^^

  • when i submit it only does the password not the user

  • okay, i got this error now "Warning: date() expects at least 1 parameter, 0 given in C:\xampp\htdocs\example_reg.ph­p on line 9" my line is this "$date = date();

    ", why??

  • @slewthisman sorry about that, that was my fault the date function has to have arguments in it for the format of the date.... this is what you want: $date = date("m.d.y");

  • @ryanconn4 thanks for that ryan, it finally works but date and time is not set accurately. in mysql i chose date for date and time for time in type section, is that how you set the date and time according to gmt time zone?

  • @slewthisman no just set it as a string or varchar

  • @ryanconn4 thanks the date is set correctly but the time is still wrong lol, should it to time for time?

  • @slewthisman thats the unix timestamp you can pass parameters in if you want just google php time function

  • unable to see data in mysql after submitting the form. please help me!!!

  • @slewthisman do you have the config file set up?

  • @ryanconn4 finally got it working :)

    Do you know how to set date and time in mysql the date/time user registered?

  • @slewthisman yes just use the php functions for those.... date(); time(); then insert that data.

  • @ryanconn4 would it show in the form?

  • @slewthisman no it wouldnt you would just insert it for every new member that signs up

  • @ryanconn4 thanks, do you have a video of it? its quite hard to program it

  • @slewthisman I should have that in one of my php tutorials

  • @ryanconn4 ok thanks for your help, one more question, should date and time be defined like this $date();

    $time(); and in the insert section should it be like this $insert = 'INSERT into example(date, time) VALUES( "'.$date.'", "'.$time.'")';?

  • @slewthisman no it would be $time = time(); $date = date(); you cant make a function a variable

  • @ryanconn4 pardon me what is config file set up ?

  • @slewthisman same problem how did you fix this ?

  • hello, i followed everything you said in your video. Theres one problem im having at the moment which is every time i fill out the form an error occur which says "Fatal error: Function name must be a string in C:\xampp\htdocs\example_reg.ph­p on line 4". This error refers to "$username = $_POST('username');" on line 4 for me. Any HELP!!!!!!!!!!

  • @slewthisman those need to be brackets not parenthesis should be: $username = $_POST['username'];

  • hi , can you include how you made you tables in mysql?

  • @aldwin1213 yes I will show that in the next video

  • i like this video dude thanx alot

  • @nettusharda Thanks..

  • Comment removed

  • it just went to regprocess and config page and did nothing ,didnt even add into db

  • There is no check if the fields are empty or not.

  • Yes....user can create their profile, edit it and can also see their friends' profile.

    (I dont know how tough it is but each user can have their own directory(folder) where he/she can store their multimedia)

    looking forward to your tutorials..

  • One tutorial request...

    Would you please make a tutorial on how to create an editable user profiles(just like any social networking site)?

  • @ankit123ful Not a problem, your asking for one where each user has their own profile page and they have their own url for that profile page?

  • @ryanconn4 Exactly... I really need a tutorial about how can users have their own profile..

  • @ryanconn4 Yes, ryan, could you please make a video of that, much appreciated.

  • @slewthisman Make a video of which one?

  • @ryanconn4 users profile with the url if possible?

  • @slewthisman I have a video that shows that its on my channel on profile page in php.

  • @ryanconn4 okay thanks for that...i am still not able to trieve data from mysql for some strange reason. its saying "Notice: Undefined variable: _POS in C:\xampp\htdocs\example_reg.ph­p on line 4"..i dont understand why

  • @slewthisman your missing the "T" in your global variable should be $_POST['username'];

    all you need to do is ad the T at the end of POST

  • @ryanconn4 i added the "T" have a look "$username = $_POST['username'];" but when i submit the for form this error comes up "Notice: Undefined variable: _POS in C:\xampp\htdocs\example_reg.ph­p on line 4" is very strange.

  • @slewthisman do you have another post variable you forgot the T on?

  • Comment removed

  • @ryanconn4 i corrected the mistake, there was no error when submitted, but when i looked in my mysql table called example, theres no data, why is that?

  • Comment removed

  • great tutorial...simplest and easiest and NO.1 tutorial for creating a PHP reg. form.

  • @ankit123ful Thanks... Im glad it helped.

  • lol accent is rlly like teacher -.- thank you for this tutorial

  • nice tutorial thanks! oh btw, you are from Texas, right ? cool accent :) cheers from Argentina!

  • @mysql thank you, im glad you liked it, but no im not from texas but close the midwest

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more