Go Back   vb.org Archive > Community Central > Community Lounge
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-31-2002, 10:31 AM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How did you learn PHP?

A book? If so, which one?

Otherwise, how did you all learn so much PHP! I find it hard, I can just about understand the code when I see it, writing it myself is next to impossible!

I want to learn PHP, but I don't know where to start, the PHP manual just scares me, so I stayed away from it

Please share your ideas and please help me
Reply With Quote
  #2  
Old 10-31-2002, 10:40 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well i learnded it through vb.

just turned around some functions and looked what would be the effect ^^

ok, i have to say i've learned programming itself long time ago, but with the same method.
just changein things and look what happens.

i think that's the fastes way.
I just need books for a fast lookup of syntax
Reply With Quote
  #3  
Old 10-31-2002, 11:01 AM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I looked at coding, and just fooled around with it just as Xenon said, but I am yet more to learn

-Arunan
Reply With Quote
  #4  
Old 10-31-2002, 11:31 AM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But how? I've had a vB since February, and I only know a small amount of PHP, and they're just things like bbuserinfo[usergroupid]==5 etc...and that's not really PHP, it's not a function in itself, so it isn't the most useful thing out there

Is there a good book I could learn from?
Reply With Quote
  #5  
Old 10-31-2002, 11:51 AM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Set up a test vB and have a play, think of small changes you would like and then see if you can make them. I know more about PHP through playing with vB than I do about any other language.

Try getting a book like Teach Yourself PHP in 24hrs or somthing to help you get started
Reply With Quote
  #6  
Old 10-31-2002, 01:28 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I learnt what I know from installing hacks on my friends board...

At first I just found and did what it said, but a little while later, I just played with code, read alot of hacks, and tried to analyse how they worked...

If you notice, I also ask alot of questions, as I am always striving for more knowledge...

I then learnt a bit of MySQL, and can now perform more difficult vB related stuff...

Its all a matter of time, patience, and the eagerness to not just "be scared away" by the PHP manual...

At first, I looked at it, and had no clue whatsoever...

Now I can look at it, and I have made more progress in the last 2 months by looking at it than i ever did in all the time before combined...

Satan
Reply With Quote
  #7  
Old 10-31-2002, 01:33 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I learned PHP mostly from vBulletin, and the same goes with MySQL. I still need to sharpen my skills with PHP/MySQL queries, as well learning the more useful functions of PHP, or creating my own.

I wouldn't have learned PHP so quickly though if it wasn't for my AP Computer Science class, which I learned C++ through. C++ has so many common similarities to PHP, that when I got into PHP it flowed very nicely as the syntax was almost identical. I enjoy PHP way more than C++ though, as the need for compilers bores me. I am still interested in learning more from that language though. The main thing I dislike of C++ was instantiating variables, where you have to define them as int, char, bool, and to follow those properties through coding. While in PHP you just slap on a "$" to make it a variable, and it isn't specific to characters or numbers, etc. And overall PHP is just more hands on, as it's on the web.
Reply With Quote
  #8  
Old 10-31-2002, 07:16 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can do if functions, commenting out and some very basic queries... thats about it

- miSt
Reply With Quote
  #9  
Old 10-31-2002, 07:36 PM
Goldknight's Avatar
Goldknight Goldknight is offline
 
Join Date: Aug 2002
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

N9ne, I can relate about PHP manual.. it throw me off, I have bit hard time to understand it until I bought four books and my skills rocket every day..

Try these books

Beginning PHP4 by Wrox
Professional PHP4 by Wrox
PHP and MySQL Web Development (Sams)
Even better, Build your own Database Driven Website using PHP & MySQL by great Kevin Yank at Sitepoint.com..

If you want to know more about PHP and how to learn etc.. go to Useful resources and books for anyone who wants to learn PHP and mySQL It is best of the bestest information on PHP for books, resources, and tutorials etc.. Go there or die =D
Reply With Quote
  #10  
Old 10-31-2002, 08:01 PM
nsr81 nsr81 is offline
 
Join Date: Mar 2002
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was introduced to PHP in December 2001 by a classmate. At that time I had about 18 months of C programming experience. I had trouble with basics, like database connectivity and data types. Then I bought "PHP fast&easy web development" which helped me with basic stuff, but that's about it. After that I went with the manual at php.net and a few tutorials here and there.
Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03860 seconds
  • Memory Usage 2,245KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete