Jump to content

new to php.general help


TTMW

Recommended Posts

i'm starting to learn php and have played with a few emailers in the past but i want to now try and make a log in type thing for my site,i know thers a load of tutorials out on the web but they all seem to use MySQL and i haven't a clue what it is or does.does my server have to have MySQL enabled like it does with php?or is MySQL part of php? any info on this would be great if anyone can help? and also is a log-in script hard for a beginner to php (not programming) ? thanks

Link to comment
Share on other sites

MySQL is a database - it is not part of php. However, chances are, if your server has php installed then it will also have mysql installed. If you create a php file with just this in:

<?php
phpinfo();
?>

And run it on your server, you should find a section on mysql. If so, mysql is installed.

 

You dont have to use mysql - there are other databases. However, most people do tend to use it. On the otherhand, you dont HAVE to use a database at all. You COULD use text files. However, you'll probably find it far easier to use mysql anyway - working with text files isn't the easiest thing.

 

Membership systems probably aren't too hard a thing to learn, although it does depend on how much you have done already. You might find it better to try and write a few little things, and perhaps get used to using mysql a bit, before you try. However, having something which you're aiming to do will probably help you learn.

 

 

There's an introduction to mysql here:

http://www.phpfreaks.com/tutorials/33/0.php

And a tutorial on membership systems here:

http://www.phpfreaks.com/tutorials/78/0.php

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.