i am confused?what i do
Moderator: General Moderators
-
Sifat Khan
- Forum Newbie
- Posts: 2
- Joined: Wed Jan 16, 2013 1:47 am
i am confused?what i do
hi guys.....
i am in big trouble.i start the php course 3 month ago but there is very confustion running in my mind.how i deal with php and mysql?....i don't understand
i am in big trouble.i start the php course 3 month ago but there is very confustion running in my mind.how i deal with php and mysql?....i don't understand
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: i am confused?what i do
the best way is to use it - use it more and you will understand it better. Use a search engine for 'PHP, MySQL Tutorials' and post any questions you (will) have back here for help 
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: i am confused?what i do
Also look at the PHP manual for the database library you are using (e.g., PDO or mysqli). There is example code that you can copy and try.
(#10850)
Re: i am confused?what i do
YouTube video helps. Try watching basic PHP you'll learn from it.
-
Jessica159
- Forum Newbie
- Posts: 8
- Joined: Mon Mar 11, 2013 2:35 am
Re: i am confused?what i do
Dear, first you clear your confusion from tutorials and if you stick on anywhere then you should visit w3schools which is the best site for learning languages online.
Re: i am confused?what i do
w3schools is a bad place to learn from. At most, half of what they say is good and the other bad is bad, worse, or downright dangerous. People new to PHP won't be able to distinguish what is what.Jessica159 wrote:Dear, first you clear your confusion from tutorials and if you stick on anywhere then you should visit w3schools which is the best site for learning languages online.
Re: i am confused?what i do
I disagree. w3schools is a helpful and useful site.
- Grizzzzzzzzzz
- Forum Contributor
- Posts: 125
- Joined: Wed Sep 02, 2009 8:51 am
Re: i am confused?what i do
<b> tagsDoug G wrote:I disagree. w3schools is a helpful and useful site.
- greyhoundcode
- Forum Regular
- Posts: 613
- Joined: Mon Feb 11, 2008 4:22 am
Re: i am confused?what i do
I think w3schools can be quite handy and, fwiw, I feel http://w3fools.com/ has some misleading statements of its own. Aren't <b> tags still valid - why the rolling eyes?
http://www.w3.org/html/wg/drafts/html/m ... -b-element
http://www.w3.org/html/wg/drafts/html/m ... -b-element
Re: i am confused?what i do
They're being pedantic. <b> tags indicate that the text should be bold, but that's part of the presentation and so should be done using classes and CSS. They're often used just as a means of making things bold rather than being about adding emphasis to a term. <strong> tags carry the more semantic meaning of emphasis; the fact that they're generally styled the same way (by default) just makes the situation more confusing. Same deal with <i> and <em>.greyhoundcode wrote:I think w3schools can be quite handy and, fwiw, I feel http://w3fools.com/ has some misleading statements of its own. Aren't <b> tags still valid - why the rolling eyes?
As an example, consider a table. Often the header cells will be just regular <td>s but with <b>oldness added to make them visually distinct from the rest of the table. This is particularly true when the header cells actually contain more text than just a label, such as this "post a reply" page which has to the left "Message body:" in bold and "Enter your message here..." unweighted. (I'm using the old site theme, by the way.) Using a <th> will automatically style the whole thing so that's less useful. The markup is literally
Code: Select all
<td class="row1" valign="top">
<b class="genmed">Message body:</b>
<br>
<span class="gensmall">Enter your message here, it may contain no more than <strong>60000</strong> characters. </span>
...
</td>Code: Select all
<td class="row1" valign="top">
<strong class="genmed">Message body:</strong>
<br>
<span class="gensmall">Enter your message here, it may contain no more than <strong>60000</strong> characters. </span>
...
</td>However that's not that great an example because an even better setup would be
Code: Select all
<th class="row1"> <!-- with css vertical-align:top, probably applied to all table cells -->
<label class="genmed" for="the textarea containing the message body">Message body:</label>- greyhoundcode
- Forum Regular
- Posts: 613
- Joined: Mon Feb 11, 2008 4:22 am
Re: i am confused?what i do
Or, <b> tags used to indicate that the text should be bold. Now they are used to indicate a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood.<b> tags indicate that the text should be bold
That isn't the same as a <strong> tag which represents strong importance for its contents.