|UIButton *Button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; READ MORE »|
$nextWeek = time() + (7 * 24 * 60 * 60);
// 7 days; 24 hours; 60 mins; 60secs
$DB_HostName = “localhost”;
$DB_Name = “myDB”;
$DB_User = “root”;
$DB_Pass = “”;
$DB_Table = “myTable”;
$con = mysql_connect($DB_HostName,$DB_User,$DB_Pass) or die(mysql_error());
mysql_select_db($DB_Name,$con) or die(mysql_error());
|<table>||Defines a table|
|<th>||Defines a table header|
|<tr>||Defines a table row|
|<td>||Defines a table cell|
|<caption>||Defines a table caption|
|<colgroup>||Defines a group of columns in a table, for formatting|
|<col />||Defines attribute values for one or more columns in a table|
|<thead>||Groups the header content in a table|
|<tbody>||Groups the body content in a table|
|<tfoot>||Groups the footer content in a table|
php – syntax
Before we talk about PHP’s syntax, let us first define what syntax is referring to.
- Syntax - The rules that must be followed to write properly structured code.
PHP’s syntax and semantics are similar to most other programming languages (C, Java, Perl) with the addition that all PHP code is contained with a tag, of sorts. All PHP code must be contained within the following…
Cascading Style Sheets come in three flavors: internal, external, and inline. We will cover internal and external, as they are the only flavors a designer should utilize. In this lesson, we cover the basics of the easier type, internal. When using internal CSS, you must add a new tag, <style>, inside the <head> tag. The HTML code below contains an example of <style>’s usage.
An element consists of three essential pieces: an opening tag, the content, and a closing tag.
- <p> - opening paragraph tag
- Element Content - “Once upon a time…”
- </p> - closing tag
A Complete HTML Element:
<p>Once upon a time...</p>
A single page can contain hundreds or thousands of elements, but when all is said and done, every HTML page should have a bare minimum of four critical elements: the HTML, head, title, and body elements.