User info ('friend') will be kept in a database (mysql). php will be needed to extract that info. html is required to give the info some structure and css will make it look nice and lovely. So, in essence, you'll need all 4.
In addition, when clicking a 'friend to add', some programs will give you some info about them before you actually add them (like a confirmation) without reloading the page. This requires something called Ajax, which can be just a sprinkling of javascript over the top of some mysql/php/html/css. If you're just starting out, give the ajax a miss. Learning 4 markups/languages at once should be enough for anyone.
Javascript is a little more complicated (in my opinion) than pHp, although there are many similarities. It's also a pain in the proverbial to debug if inexperienced.
diafol
Rhod Gilbert Fan (ardav)
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
He means the lightbox that pops up. Search for either thickbox or lightbox, (This is a Javascript issue so take further posts over to that forum)
ShawnCplus
Code Monkey
1,583 posts since Apr 2005
Reputation Points: 526
Solved Threads: 268
Thankx much for all ur contibutions,what i get here is like
i`m now supposed to Learn JAVASCRIPT.
Yes, you're dealing with the web, you have to learn Javascript.
ShawnCplus
Code Monkey
1,583 posts since Apr 2005
Reputation Points: 526
Solved Threads: 268
He means the lightbox that pops up. Search for either thickbox or lightbox, (This is a Javascript issue so take further posts over to that forum)
I HATE Facebook and all that social networking twaddle, so I haven't seen it in action (I ain't got no friends!).
However, I've used a good few lightboxes in the past, but they do very with regard to how much js you need to know.
Here's a good roundup site: http://www.blinklist.com/tag/lightbox/
You don't have to have an ajax-enabled lightbox for the functionality you're after. That should simplify the implementation.
With regard to learning JS, yes of course, if you're creating web sites, you'll need to learn it sooner or later, but in my view, creating solid, robust sites that don't cack up when you try to change a database value or look at something in a different browser should be your priority.
You could implement js frameworks to do all the heavy lifting (e.g. prototype with scriptaculous / mootools or jquery).
diafol
Rhod Gilbert Fan (ardav)
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080