• Announcements

    • boen_robot

      Guidelines and Netiquette   03/28/2017

      Posting Problems:   Having problems posting your topic? Read through this: To join, you agree to our terms and conditions and fill out and submit a registration form. An activation email will be sent to your email adress, so you'll need to verify your account. After that the account has to be validated by one of the moderators. This will mean that it can take up to a day to be activated. A couple of things to remember to ensure approval: Don't use an email address in one of those $2 four character .com domains eg. xyds.com. These will be deleted and the domain added to the banned list. Don't use an email address that is within a domain with a bad reputation for spam. A Google search is run on every email address and email domain. Don't sign up with an email address that doesn't exist, doesn't work or requires the sender to answer a quiz before their email can get to you. Put your country and or state and city in the signup form. Blank forms will go to the botton of the "to do" list. And make sure that your email address and your country match, saying you're from Alabama and using a .ru email address is not going to get you activated. After a membership is activated the first few posts will be monitored. Posting spam or unapproved topics described in the agreement results in an immediate ban. The email provider and the IP addresses associated with the account will be banned and all posts will be deleted. These strict measures have been deemed necessary to hinder spam. Sorry for any inconvenience this causes, but it's not liable to change. If, after reading this, you still can't post and don't understand why, contact one of the Moderators listed here.   Topic Guidelines   Including the following information can expedite an accurate response from board members: Must be a Specific Problem or Question related to web design and development Include Code in Question (wrap with   for small blocks of code and for longer blocks   ) Include Code Author Include Extra Notes/Modifications/Attempts Include web link to page/file when possible Content Guidelines   You may not post, upload, link to, or email any Content that contains, promotes, gives instruction about, or provides prohibited Content. Prohibited Content includes any Content that breaks any local, state, county, national or international law. Prohibited Content also includes: No direct or indirect advertising or websites, forums, products, services No hijacking of posts (do not post your question in someone elses) Content that infringes upon any rights [ex. MP3s and ROMs] (including, but not limited to, copyrights and trademarks) Abusive, threatening, defamatory, racist, or obscene Viruses or any other harmful computer software False Information or libel Spam, chain letters, or Pyramid schemes Gambling or Illicit drugs Terrorism Hacking or cheating for internet/online games Warez, Roms, CD-Keys, Cracks, Passwords, or Serial Numbers Pornography, nudity, or sexual material of any kind Excessive profanity Invasive of privacy or impersonation of any person/entity Hacking materials or information Posting Tips   There are more BBcodes than there are buttons for on the reply menu. To get the full list, click "BB Code Help" underneath the clickable smilie face menu. Use   for small snippets of code Use   for lengthy snippets of code Use   if your snippet is HTML (optional) Use   if your snippet is SQL (optional) Rules of Conduct   Be nice. There's no need for calling someone stupid if they ask an 'easy' question. Keep your avatars and signatures absolutely child friendly. We have a younger audience on this forum. Keep your language appropriate for the same reason above. Do not PM moderators for help on the forum. Post on the topic, or create a new one.   Spam:   Recently, as you have all without doubt noticed, we have had lots of spam and advertisement on the forum. Therefore, we'd like to alert you as to what to do when you have found any of the aforementioned annoying messages: it. Immediately. Give a clear reason, please, if the advertising is not evident. DO NOT POST! Report, let the post stay as is, and we will get to it, meanwhile if you continue to post as normal in the other threads, it won't be on the top so long. Refrain from PMing the member. This won't help at all, as they are most likely spambots anyway. Thank you.       Images in signatures:   After thinking of users on dial-up, we have decided to enforce the following rules regarding signatures. Please pay heed to them. Respecting these rules is respecting the members on this forum with dial-up. Signature rules: No animated images AT ALL. No matter the amount of animation. Maximum image widthxheight: 300x150 Maximum image (file) size: 15kb Use calm colors. Do not use highly contrasting images in your signature, as this can get really annoying when seeing several posts from one member in the same thread. The same prohibited content goes for images as for posts. Lastly, use common sense. No lengthy signatures please. Save us some scrolling. Thank you.       Links in signatures:   Please understand that w3schools.com only exists because of voluntary work and is barely supported by the advertising littered throughout the tutorials and the forum. So, please, stop advertising other sites. DO not post links that drive traffic away from the w3schools domain - especially to a site that offers similar if not identical information. Please help support the site by keeping individuals on it. Thank you. Here are some guidelines as to what you can put in your signature: w3schools links --> allowed w3.org links --> allowed browser links --> allowed html editor links --> allowed personal sites --> allowed tutorial sites competing with w3schools --> NOT allowed sites completely irrelevant to webprogramming and this forum --> NOT allowed   Thanks for understanding, and for taking the time to read this. ~W3Schools Modstaff~
kaijim

PHP Tutorial

30 posts in this topic

Great tutorial!W3Schools is been helping me a lot!I learned HTML in 20 minutes :)Thank All of u guys!!

Share this post


Link to post
Share on other sites

The lessons in w3schools.com are very basic. I think if you want to learn any progamming language, start at W3schools

Share this post


Link to post
Share on other sites
You now html all tags tharowley
Ok, lets analyze your mistakes.We started with:
You now html all tags tharowley
We fix the order and add 'the':
You now all the html tags tharowley
Fix spelling of 'thoroughly':
You now all the html tags thoroughly
Capitalize 'html':
You now all the HTML tags thoroughly
Add a question mark(?):
You now all the HTML tags thoroughly?
Grade:You - +5now - +5html - -2all - +5tags +5tharowley -5-10 For order-5 For punctuation-2/45

Share this post


Link to post
Share on other sites

Wow Zachary, what was the point of that? I mean.. god. Well, I give you a 0/45 in that case. Because you tried to fix his and STILL mispelled a word. You figure it out.Maybe the php tutorial should have a gd image tutorial?

4 people like this

Share this post


Link to post
Share on other sites
Wow Zachary, what was the point of that? I mean.. god. Well, I give you a 0/45 in that case. Because you tried to fix his and STILL mispelled a word. You figure it out.Maybe the php tutorial should have a gd image tutorial?
Good point. Put this in the Suggestions forum. It is far more likely the admins will notice it there.

Share this post


Link to post
Share on other sites

Thank you people at W3Schools!I made my own CMS system thanks to your example codes under PHP

Share this post


Link to post
Share on other sites
Wow Zachary, what was the point of that? I mean.. god. Well, I give you a 0/45 in that case. Because you tried to fix his and STILL mispelled a word. You figure it out.
If only thoes who are perfect are authorized to point out the blunders of others, then none of us would ever out grow their blunders. Yes/No ?
1 person likes this

Share this post


Link to post
Share on other sites
Ok, lets analyze your mistakes.We started with:We fix the order and add 'the':Fix spelling of 'thoroughly':Capitalize 'html':Add a question mark(?):Grade:You - +5now - +5html - -2all - +5tags +5tharowley -5-10 For order-5 For punctuation-2/45
LMAO that would be:Do you know all the HTML tags thoroughly?
1 person likes this

Share this post


Link to post
Share on other sites

I don't think that post even exists any more :) and yes I think meaning is as important as punctuation...

Share this post


Link to post
Share on other sites

Spelling is over rated:I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdgnieg The phaonmneal pweor of the hmuan mnid. Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn't mttaer inwaht oredr the ltteers in a wrod are, the olny iprmoatnt tihng is taht the frist and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it wouthit a porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.Amzanig huh?yaeh and I awlyas thought slpeling was ipmorantt!

1 person likes this

Share this post


Link to post
Share on other sites
Yeah.Tihs tnhig may aluctaly be ture. But I'm seurpsrid to see a cpoy of tihs itno a stie oenwd by Mfocosrit. Hvae you nteoicd taht the sotrehr the wrod, the lses mnfaodictiois you can mkae to it, mnkaig tihs a srot of a new lgaguane taht's esay to apadt to?
1 person likes this

Share this post


Link to post
Share on other sites
Capitalization is the difference between "I had to help my uncle Jack off a horse.." and "I had to help my uncle jack off a horse.."
words of wisdom..

Share this post


Link to post
Share on other sites

crap double post..erase plz

Share this post


Link to post
Share on other sites

PHP is very complicated for me to understand, I downloaded PHP and I have to read the manual that comes with it. And I still don't understand. Can you give me an example of how to do this in HTML form then PHP form: (I know how to do HTML form easy but PHP confuses me):Write somethingPut date on websiteCode a form field for sending feedbackWhen someone goes to the website start a session and when the exit the page, end the session(Please don't tell me to go to the tutorials, they only confuse me more. I need human help ;o

Share this post


Link to post
Share on other sites

You use echo to send HTML code to the browser.echo "<div>Hello world</div><hr>";PHP has several date and time functions to use. The date function lets you format the date however you want it.http://www.php.net/manual/en/function.date.phpPHP doesn't have anything to do with form fields. That's all HTML. PHP just uses the name attribute of the form field to get the value that the browser sent to the server. The values are either in $_POST or $_GET, depending on how the form was submitted.To start a session, you use the session_start function. You can use the session_destroy function if you want to completely erase session data, but people typically don't end the session themselves, it will automatically time out after a set period.

Share this post


Link to post
Share on other sites
PHP is very complicated for me to understand, I downloaded PHP and I have to read the manual that comes with it. And I still don't understand. Can you give me an example of how to do this in HTML form then PHP form: (I know how to do HTML form easy but PHP confuses me):
When I read a php manual for the first time, I too didn't understand at all how php works.... have you a local web server (apache + php) running on your PC? I only understood something when I installed one into mine... and now - thanks to PAMPA software - my personal web server is not installed into my PC, but is into my drive pen!

Share this post


Link to post
Share on other sites

Uhm... this may sound a little bit wierd, but what is the recommended age to start learning PHP at?!? Because I'm 13, and I can't understand everything that's inside the tutorial. oO

Share this post


Link to post
Share on other sites

There's no exact age for learning any language. But you should find tutorials about the basics of programming first.Here's basically what you need to know:1. Commands:if()while()for()switch()...2. Data types:StringsNumbers/Integers/FloatsDates...3. Variables4. Operators:+ - * / .5. Logic:AND, OR, NOT

Share this post


Link to post
Share on other sites

Someone here said something about the books published by O'Reilly Media. I'm thinking of buying some of those (and I say some because I'm interested in advanced PHP, C++ and XML), and I'd like to know if they are very well written, so that it will make my work a little bit easier (I had a book - not published by O'reilly Media - about PHP, but I realise that it was not that good, because there were some problems not mentioned in the book, which I learnt about later, so...). I read the Table of Content of three books (2 PHP's and one C), but I'm not that satisfyed (the things just look so unorganized...). Perhaps it's because of the content which is missing in the preview version, but I'd like to know if anyone here has one of these books, and can give me a feedback.Thanks in advance!

1 person likes this

Share this post


Link to post
Share on other sites

I have several of their books, I like them alot. But they are just a publisher, the different authors will have different writing styles. But find one that looks good and pick it up, if you like it and it fits the way you learn then try a couple more. You might even be able to find a local used bookstore that has them for sale for cheap.

Share this post


Link to post
Share on other sites

We all know that php.net is a great resource for PHP documentation. Each of us probably has a favorite reference for Javascript or HTML or CSS or ASP or any other language. These two sites look pretty handy, I guess these could be posted anywhere but I'll stick them here for now (if any mod wants to move, feel free).http://quickref.org/Great reference if you know the name of what you're looking for. Quick and easy to get the reference about how to use it. Works for C, C++, CSS, HTML, HTML DOM, Java, JavaScript, MySQL, Perl, PHP, Python, and Ruby.http://www.gotapi.com/Awesome site that aggregates information from other sites (including w3schools). It has tabs across the tops for the APIs you want to look up, and you can click any of the links in the middle to add another tab. As an example, click the link for PHP at php.net. On the left you'll see the function reference, and if you click any of the functions you'll see the familiar page from php.net load in the frame. Quick and easy way to get where you're looking. Also notice that there's a PHP Tutorials link with tutorials from 600 sources. The CSS, Javascript/DOM, and a few XML references come from w3schools.

Share this post


Link to post
Share on other sites

good tutorial, just finished client scripting now starting server-side scripting,so a noob, but working on it :)any noob tips shoot :)

Share this post


Link to post
Share on other sites
Spelling is over rated:I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdgnieg The phaonmneal pweor of the hmuan mnid. Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn't mttaer inwaht oredr the ltteers in a wrod are, the olny iprmoatnt tihng is taht the frist and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it wouthit a porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.Amzanig huh?yaeh and I awlyas thought slpeling was ipmorantt!
Yeah really amazing, my first laugh today, damn!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.