ryanSmithART.com/courses/365/2014


- week 15 -

*** Towson course evaluations ***

give back grades & QUIZZES


Some of you seriously need to update your class webpages.
* Ask your neighbors for help.


**Ask about Project D Presentations **
*Collect Files

Here's some examples of "self-promotion" sites that I showed last class:
AlexHeilner | Carrie Fucile | Jason Sloan | Laura Hatcher | Chris Thurman | Tracy Costopoulos


Student work:
tinapye.com | Tom | Joey | Sarah


- CSS3 & HTML5 - "responsive web design" - & other fun stuff
- Here's some code



start talking about PHP

What is PHP ?

"PHP for the web..." Book

Intro to PHP:


step 1 - connect to a server

step 2 - save webpage with .php extension

step 3 - test php version with this code:

<?php
phpinfo();
?>

step 4 - insert php into html format

<?php
print "this text was made with PHP";
?>

step 5 - make another .php page (& save it)

step 6 - try inserting that page into your previous .php page

<div id="footy">
<?php
include ('footer.php');
?>
<!--end footy--></div>

EXAMPLE ( view page source ) | here's the html with php | php pages' code | CSS code

 




a little more PHP

see registration form:
http://userpages.umbc.edu/~rsmith33/388/register.php

here's the php code


find contact forms online for free:
http://www.foxyform.com/

talk about forms:

<form id="form1" name="form1" method="post" action="">
<label>Label : text field
<input type="text" name="id : text field" id="id : text field" />
</label>
</form>

<form id="form2" name="form2" method="post" action="">
<label>area
<textarea name="area" id="area" cols="45" rows="5"></textarea>
</label>
</form>





More with PHP forms
* why use a contact form?
or why use ryanSmithstudent[at]aol[dot]com

When outputting PHP code:
\n in PHP is like a line break <br> in HTML

NOTE:
this is actually linked to my email : ryanSmithstudent[at]aol[dot]com
Please don't hit submit, because I'll wind up with dozens of unnecessary emails
http://userpages.umbc.edu/~rsmith33/contact/contact.html

Here's the code [ feel free to steal it & edit it ] :

contact.html    |    contactengine.php    |    contactthanks.php




HOME WORK


- finish "Project D"