School Map:
Home / Enroll
$ Student Records; Class
$ News @ LIVE
Tech Radio * Support/FAQ
| Store | FORUMS
(#541 2004-03-05 00:27:05) Post Reply |
|
slinky
|
my post got deleted ohwell i'm up to the 4th one
heres it again |
(#542 2004-03-07 22:47:31) Post Reply |
|
Havoc
|
You can see the page in action at http://xtremegamesinc.com/test.php |
(#543 2004-03-08 21:43:14) Post Reply |
|
TechSirius
|
Hope I get an A :-P |
(#549 2004-03-14 15:35:16) Post Reply |
|
BoBByCooL
|
|
(#550 2004-03-14 17:57:42) Post Reply |
|
boyce
|
I am a complete newcomer with a very basic understanding of html but thought i'd give this a shot :)
<? /*assigning variables*/ $nickname="boyce"; $fav_url="http://www.somemadeupplace.com"; /*putting what displays in the browser*/ print("hello my nickname is $nickname<br><br>"); print("and my favourite site is $fav_url"); ?> |
(#551 2004-03-17 22:15:22) Post Reply |
|
phpprogboy
|
|
(#552 2004-03-17 22:22:57) Post Reply |
|
phpprogboy
|
Here posted again.
|
(#553 2004-03-19 13:32:54) Post Reply |
|
Firedancer
|
Hello, I'm a total newbie at PHP. I've read some of the other posts and everybody else seems to be so much more advanced, but I hope I can keep up with the lessons. I really like the way the lessons are presented with the "homework" and the student forums and everything. Thanks you so much!
<HTML> <HEAD> <TITLE>First Assignment</TITLE> </HEAD> <BODY> <?php // assign variables $name='Joan'; $url='<a href="http://www.cnn.com">CNN</a>'; // display nick and favorite url print ("My name is $name. My favorite url is $url.") ?> </BODY> </HTML> |
(#554 2004-03-19 13:33:42) Post Reply |
|
Firedancer
|
Hello, I'm a total newbie at PHP. I've read some of the other posts and everybody else seems to be so much more advanced, but I hope I can keep up with the lessons. I really like the way the lessons are presented with the "homework" and the student forums and everything. Thanks you so much!
<HTML> <HEAD> <TITLE>First Assignment</TITLE> </HEAD> <BODY> <?php // assign variables $name='Joan'; $url='<a href="http://www.cnn.com">CNN</a>'; // display nick and favorite url print ("My name is $name. My favorite url is $url.") ?> </BODY> </HTML> |
(#555 2004-03-21 17:06:10) Post Reply |
|
kimmysue
|
here we go...
<? //my nic name $nick="Kimmy Sue"; //my favorit url $url="http://www.pixelpaper.net/"; //print this sentence and add the above info print("My Nick is $nick and my favorite URL is <a href=$url>$url</a>"); ?> |
(#556 2004-03-21 21:02:29) Post Reply |
|
DumbBiker
|
<?
//My name goes here. It's my first variable. $Name="Dale Schibbelhut. "; // OK, I'll admit my favorite site listed below is my own site. It's my second variable $favorite="www.lets-ride.com. "; /*The site below is the first time I ever used PHP. I want to learn more about PHP so I can put it to work on other sites I'll use it for my third variable*/ $shopping_site="www.road-ware.com"; //display results print($Name); print($favorite); print($shopping_site); ?> |
(#557 2004-03-22 11:57:59) Post Reply |
|
Emdec
|
|
(#564 2004-03-23 22:52:17) Post Reply |
|
Maurkeys
|
Here's my week 1 assignment.
<? $myfirstname="Duane"; // The above string will be used to output my first name $mylastname="Wall"; //The above string will be used to output my last name $website="http://www.igottaname.com"; // The above string will be used to output a url print("Hello my name is $myfirstname $mylastname.<br>The website I like to visit is $website"); ?> |
(#565 2004-03-27 16:57:19) Post Reply |
|
infinull
|
I have already used php enough to know how to do this, but ya gotta start somewhere:
|
(#566 2004-03-27 18:03:04) Post Reply |
|
Technel
|
Alright, assignment #1:
Any suggestions, comments, etc? |
(#571 2004-03-31 08:46:16) Post Reply |
|
Nyaf
|
I finished first week's lesson, but it doesn't show up on my website - I ftp'ed it and I know my web host has php, because the short version script worked and it said that they have version 4.3.2. Perhaps I overlooked something. I am very new in this. Thanks. Hope you are having a great day. Nya
<html> <head> <title>Nya's first Script School lesson in php code</title> </head> <body bgcolor="B22222" text="ffffff" link="00008B"> <? //this script shows how to display name and website url using assigned variables //first assigning values to strings $myname='Nya'; $mysurname='Fleron'; $my_website='<a href="http://www.nyagregorfleron.net">www.nyagregorfleron.net</a>'; $comment='Learn something new!' //Display information print("$comment <br> $my_website<br> Peace and love<br> $myname $mysurname"); //Current date print("<br>Today is:" date("m/j/y")) ?> </body> </html> |
(#572 2004-04-03 19:00:02) Post Reply |
|
enshoku
|
<html>
<head> <title>Script School Week #1: Functions</title> <head> <?php /* TO-DO ASSIGNMENT #1: Write a script to store and print your name (nick) and at least one favorite url to the browser using variables to assign them. Make the variable names conform to the rules explained above and use comments in the code explaining each line of code. Cut and paste your code to the Week 1 forum to share with others in the appropriate "To-do Assignment #1" folder. */ //declaring variables for my name and favorite url $name = "Scarlet"; $favurl = "http://www.ambiguouslyblack.com"; //declaring function to perform print("My name is $name and I love to visit $favurl everyday."); ?> </head> |
(#575 2004-04-08 00:33:16) Post Reply |
|
lklint
|
There you have it. My first official php page :-D /Lars |
(#576 2004-04-08 07:18:18) Post Reply |
|
Huub
|
Here we go!
|
(#577 2004-04-08 07:19:18) Post Reply |
|
Huub
|
Sorry for the last post, big mistake...
|
(#579 2004-04-10 15:21:43) Post Reply |
|
greywolf
|
<?
//This is a leason to display name and fav website //Assign variables $myname='Greywolf'; $website='http://wolf-irc.net'; //display info print("Hello my name is $name.<br/>My personal website is $website.); ok first off im new here and im still workin it out i think this is right if not please tell me what i did wrong |
(#580 2004-04-11 14:19:38) Post Reply |
|
ner0
|
<html> <title> ...:::-[w][e][l][c][o][m][e]-:::... </title> </html>
<? $my_name = "Paul"; $my_fave_url = "http://www.err0r.net"; $my_fave_url_2 = "http://www.techgear007.net"; print("My Name Is $my_name and my favourite url is $my_fave_url, i also like $my_fave_url_2"); ?> It Actually Worked 8=D |
(#582 2004-04-16 18:45:44) Post Reply |
|
ettinm
|
this is what i came up with
<html> <body> <?php // set up the variables $my_name = "mike"; $fav_site = "http://www.google.com"; // print them to the screen print("My name is "); print(" "); print($my_name); print(", "); print("My favorite site is "); print($fav_site); ?> </body> </html> |
(#583 2004-04-16 18:48:03) Post Reply |
|
ettinm
|
this is what i came up with
<html> <body> <?php // set up the variables $my_name = "mike"; $fav_site = "http://www.google.com"; // print them to the screen print("My name is "); print(" "); print($my_name); print(", "); print("My favorite site is "); print($fav_site); ?> </body> </html> |
(#584 2004-04-16 18:48:06) Post Reply |
|
ettinm
|
this is what i came up with
<html> <body> <?php // set up the variables $my_name = "mike"; $fav_site = "http://www.google.com"; // print them to the screen print("My name is "); print(" "); print($my_name); print(", "); print("My favorite site is "); print($fav_site); ?> </body> </html> |
(#585 2004-04-24 08:02:05) Post Reply |
|
merlinpa69
|
<?
/* this is the week one assignment for script school it was written on April 25, 2004 */ // start by defining all variables $name = "Tony Corbett"; $address = "York Pennsylvania"; $url = "http://www.angels-attic.com"; // add function to print out our arguments. print($name);?> <br> <? print($address); ?> <br> <? print ($url); // I added the print functions in seperate php tags so I could get the text to print on seperate lines ?> |
(#586 2004-04-25 12:49:40) Post Reply |
|
wilde1000
|
<?
/*Assign username to string $username*/ $username="wilde1000"; /*Assign favorite url to string $favorite_url*/ $favorite_url="http://www.computersrwilde.com"; /*Print it*/ Print("Hi, my name is ".$username." and my favorite website is ".$favorite_url."."); ?> |
(#590 2004-05-19 20:30:50) Post Reply |
|
trin
|
|
(#593 2004-05-24 03:49:13) Post Reply |
|
eder
|
just plain and simple... |
(#594 2004-05-24 14:48:06) Post Reply |
|
madhatter
|
Hi, I'm very new to this whole programming thing. This site seems extremely useful, thankyou for the information. According to the dates, it seems I'm a little late, but oh well, better late than never.
|
View Previous Thread Print This Page |
School Map:
Home / Enroll
$ Student Records; Class
$ News @ LIVE
Tech Radio * Support/FAQ
| Store
Advertising
| Link To Us | Privacy
Copyright 2000-2002 Script School Productions / KMR
Enterprises
No part of this website may be reproduced, copied and/or distributed
in any medium
without express written permission