Current location: Hot Scripts Forums » Programming Languages » PHP » Whats Next?


Whats Next?

Reply
  #1 (permalink)  
Old 11-27-03, 11:45 AM
PHPNewb PHPNewb is offline
New Member
 
Join Date: Nov 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Whats Next?

Hello,
I have been practicing PHP for a few days now and really getting confusing as I go along.
Things I have Learned:
Basic Syntax (Such as <?php ?>)
Commenting a Line
Connecting To MYSQL Database
Variables
Installing It On Computer/Web Server

Now its starts to get complicated and I don't know how to learn things like sessions,arrays,strings,creating tables,etc

Am I missing some kind of step?
Reply With Quote
  #2 (permalink)  
Old 11-27-03, 12:11 PM
hyjacked hyjacked is offline
Wannabe Coder
 
Join Date: Nov 2003
Location: New Brunswick, Canada
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
Ususally you would learn most of that stuff before you dive into the database info. Get a solid grounding before you move up so to speak.

But no problem either way, reading up on what each function that you want to use does is always a good place to start, it's better to know about and understand a function then to just use it. You'll remember it better that way to.

http://www.php.net/docs.php

is a good place to read up on those topics that you've mentioned. It is the main manual for php. It's written in an easy to understand sort of way so that you shouldn't have any troubles getting the hang of them.

As always, feel free to post with more questions you may have.
Reply With Quote
  #3 (permalink)  
Old 11-27-03, 12:26 PM
mdhall's Avatar
mdhall mdhall is offline
Aspiring Coder
 
Join Date: Oct 2003
Posts: 510
Thanks: 1
Thanked 1 Time in 1 Post
Sites such as www.phpfreaks.com have a lot of tutorials to explain php, as well as programs you can download.
Reply With Quote
  #4 (permalink)  
Old 11-27-03, 01:04 PM
fyrestrtr fyrestrtr is offline
Wannabe Coder
 
Join Date: Nov 2003
Posts: 191
Thanks: 0
Thanked 0 Times in 0 Posts
http://www.zend.com/zend/tut can't be beat for some solid tutorials.
Reply With Quote
  #5 (permalink)  
Old 11-28-03, 04:12 AM
Stefan's Avatar
Stefan Stefan is offline
Junior Code Guru
 
Join Date: Jun 2003
Location: Utrecht, The Netherlands
Posts: 599
Thanks: 0
Thanked 0 Times in 0 Posts
I found that for me, the best way to learn was by just doing things. I thought of a nice script to write (a news script was the first thing that came to mind: basic, yet useful) and then just starting writing. starting looking through the php manual and the book I got for the functions I needed to write the script.
Reply With Quote
  #6 (permalink)  
Old 11-28-03, 12:43 PM
Acecool's Avatar
Acecool Acecool is offline
Aspiring Coder
 
Join Date: Nov 2003
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by mdhall
Sites such as www.phpfreaks.com have a lot of tutorials to explain php, as well as programs you can download.
Dont go there, they steal peoples code, happened to me.

Try making functions, you know how to connect to mysql etc right?

function Connect_To_Database() {
// Put the connection stuff in here
require ("./mysql_user_config.php");

connect to $user $pass etc etc

set $user and $pass etc in the mysql_user_config.php file

}

Simply do this to call the function

Connect_To_Database();

Saves alot of time.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 06:02 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.