School Map:  Home / Enroll $ Student Records; Class  
$ News @ LIVE Tech Radio * Support/FAQ | Store | FORUMS

 

 (#541 2004-03-05 00:27:05) Post Reply
Page 0 1 2 3 4 5 6 7 8

slinky
Need To Set


Enrolled: Feb 2004
Posts: 7
AP: 1

my post got deleted ohwell i'm up to the 4th one

heres it again


<?php
//setting varables
$name = "my name is kirk"
$nick = "my nickname is Radeon|X or Slinky"
$age = "i'm 13 years old"
$email = "my email is killer_of_all1@hotmail.com"
//now printing them onto the page
echo("hi $name $nick $age and $email");
?>[/echo]
there for my script school stuff go to www.kirk.forgedhosting.com/ss/index.php


 

 (#542 2004-03-07 22:47:31) Post Reply
Page 0 1 2 3 4 5 6 7 8

Havoc
Need To Set


Enrolled: Mar 2004
Posts: 3
AP: 1



<?php
//setting varables
$name = "Chris";
$nickname = "Havoc";
$age = "13";
$email = "Star007cd@aol.com or Havoc@xtremegamesinc.com";
$site = "http://xtremegamesinc.com";
//now printing them onto the page
echo("Hey $name $nickname $age $site and $email");
?>



You can see the page in action at http://xtremegamesinc.com/test.php

 

 (#543 2004-03-08 21:43:14) Post Reply
Page 0 1 2 3 4 5 6 7 8

TechSirius
Need To Set


Enrolled: Mar 2004
Posts: 1
AP: 1



<?
//strings
$introduction="hello, my name is"
$myurlfav="My favorite webpage is"
$name="TechSirius"
$url="http://www.wwclass.com"
//print strings
print($introduction $name. <br> $myurlfav $url.)
?>




Hope I get an A :-P

 

 (#549 2004-03-14 15:35:16) Post Reply
Page 0 1 2 3 4 5 6 7 8

BoBByCooL
Need To Set


Enrolled: Mar 2004
Posts: 1
AP: 1




<html>
<head>
<title>Script School Week 1 Assignment</title>
</head>

<body>
<?php
// This file will display my name and website in the browser
// Variable assignment

$name='BoBByCooL';
$website='http://www.halifax.tk';
$website2='http://www.cybersystem.tk';

// Show the information in the browser

print
(
"Hi, I am $name. My domain is $website. I also own $website2.");
?>

</body>
</html>



 

 (#550 2004-03-14 17:57:42) Post Reply
Page 0 1 2 3 4 5 6 7 8

boyce
Need To Set


Enrolled: Mar 2004
Posts: 1
AP: 1

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
Page 0 1 2 3 4 5 6 7 8

phpprogboy
Need To Set


Enrolled: Mar 2004
Posts: 2
AP: 1



<html>
<head>
<title>Script School Week 1 Assignment</title>
</head>

<body>
<?php
$myname
='Jamal';
$lastname='smith';
$nick='phpprogboy';
$website='http://vegetasblues.com';
//Show the info in browser
print("Hi, my name is $myname,my nick name is $nick.My last name is
$lastname.);
?>

</body>
</html>



 

 (#552 2004-03-17 22:22:57) Post Reply
Page 0 1 2 3 4 5 6 7 8

phpprogboy
Need To Set


Enrolled: Mar 2004
Posts: 2
AP: 1

Here posted again.



<html>
<head>
<title>Script School Week 1 Assignment</title>
</head>

<body>
<?php
$myname
='Jamal';
$lastname='smith';
$nick='phpprogboy';
$website='http://vegetasblues.com';
//Show the info in browser
print("Hi, my name is $myname,my nick name is $nick.My last name is
$lastname.);
?>

//That print command will make my information show on the browser

</body>
</html>



 

 (#553 2004-03-19 13:32:54) Post Reply
Page 0 1 2 3 4 5 6 7 8

Firedancer
Need To Set


Enrolled: Mar 2004
Posts: 2
AP: 1

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
Page 0 1 2 3 4 5 6 7 8

Firedancer
Need To Set


Enrolled: Mar 2004
Posts: 2
AP: 1

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
Page 0 1 2 3 4 5 6 7 8

kimmysue
Need To Set


Enrolled: Mar 2004
Posts: 1
AP: 1

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
Page 0 1 2 3 4 5 6 7 8

DumbBiker
Need To Set


Enrolled: Mar 2004
Posts: 1
AP: 1

<?
//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
Page 0 1 2 3 4 5 6 7 8

Emdec
Need To Set


Enrolled: Mar 2004
Posts: 8
AP: 1



<html>
<head>
<title>Week 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">

<php
$Myname = "Emdec";
$Mysite = "http://www.walesonline.com ";
$Title = "Walesonline";

print "Hello I am $Myname and my cool site is <a href=" $Mysite "> $Title </a>";

?>
</body>
</html>


 

 (#564 2004-03-23 22:52:17) Post Reply
Page 0 1 2 3 4 5 6 7 8

Maurkeys
Need To Set


Enrolled: Mar 2004
Posts: 1
AP: 1

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
Page 0 1 2 3 4 5 6 7 8

infinull
Need To Set


Enrolled: Mar 2004
Posts: 2
AP: 1

I have already used php enough to know how to do this, but ya gotta start somewhere:


<html>
<head>
<title>cool</title>
</head>
<body>

<?php
/* this is my first assignment
Why do I have to use so many comments*/
$name = "Infiull";//this is my name
// and after this is a great search engine:
$url = "http://www.google.com";
print(
"hi my name is " . $name . "<br>n");
print(
"and my favorite search engine is " . $url ."<br>n");
print(
"Oh! and the date is " . date("m/j/y"));
?>
</body>


 

 (#566 2004-03-27 18:03:04) Post Reply
Page 0 1 2 3 4 5 6 7 8

Technel
Need To Set


Enrolled: Mar 2004
Posts: 6
AP: 1

Alright, assignment #1:



<html>
<head>
<title>Script School Assignment #1</title>
</head>
<body>
<?php
// Assign the variables
$firstname = "Michael";
$lastname = "Schreifels";
$website = "Nitrox.uni.cc";

// Display information
print ("Hello, my name is $firstname $lastname.<br><br>My favorite website is $website.");
?>
</body>
</html>



Any suggestions, comments, etc?

 

 (#571 2004-03-31 08:46:16) Post Reply
Page 0 1 2 3 4 5 6 7 8

Nyaf
Need To Set


Enrolled: Mar 2004
Posts: 1
AP: 1

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
Page 0 1 2 3 4 5 6 7 8

enshoku
Need To Set


Enrolled: Apr 2004
Posts: 3
AP: 1

<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
Page 0 1 2 3 4 5 6 7 8

lklint
Need To Set


Enrolled: Apr 2004
Posts: 3
AP: 1



<html>
<head>
<title> - Details for lklint - </title>
</head>
<body>
<?
//This page will give a few details about me
//First I assign the variables used on the page
//Nickname
$nick = "lklint";
//First name
$fname = "Lars";
//Last Name
$lname = "Klint";
//My favourite web page
$favurl = "http://www.php.net";
//Print the details to screen
print("Hi, everybody. <br/>My nick here at Script School is ".$nick.", but");
print(
" my real name is ".$fname." ".$lname.".<br/> ");
print(
"One of my favourite web sites is <a href='http://www.php.net' target='_blank'>http://www.php.net</a>.<br/>");
print(
"I want to learn PHP so I can improve my web site.")
?>
</body>
</html>



There you have it. My first official php page :-D

/Lars

 

 (#576 2004-04-08 07:18:18) Post Reply
Page 0 1 2 3 4 5 6 7 8

Huub
Need To Set


Enrolled: Apr 2004
Posts: 2
AP: 1

Here we go!


<?php
$name
=Ahsmann;
$surname=Huub;
$language=PHP;
print(
My name is $surname $name and i hope i learn $language here!);
?>



 

 (#577 2004-04-08 07:19:18) Post Reply
Page 0 1 2 3 4 5 6 7 8

Huub
Need To Set


Enrolled: Apr 2004
Posts: 2
AP: 1

Sorry for the last post, big mistake...



<?php
$name
=Ahsmann;
$surname=Huub;
$language=PHP;
print(
"My name is $surname $name and i hope i learn $language here!");
?>



 

 (#579 2004-04-10 15:21:43) Post Reply
Page 0 1 2 3 4 5 6 7 8

greywolf
Need To Set


Enrolled: Apr 2004
Posts: 1
AP: 1

<?
//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
Page 0 1 2 3 4 5 6 7 8

ner0
Need To Set


Enrolled: Apr 2004
Posts: 1
AP: 1

<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
Page 0 1 2 3 4 5 6 7 8

ettinm
Need To Set


Enrolled: Apr 2004
Posts: 3
AP: 1

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
Page 0 1 2 3 4 5 6 7 8

ettinm
Need To Set


Enrolled: Apr 2004
Posts: 3
AP: 1

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
Page 0 1 2 3 4 5 6 7 8

ettinm
Need To Set


Enrolled: Apr 2004
Posts: 3
AP: 1

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
Page 0 1 2 3 4 5 6 7 8

merlinpa69
Need To Set


Enrolled: Apr 2004
Posts: 1
AP: 1

<?
/* 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
Page 0 1 2 3 4 5 6 7 8

wilde1000
Need To Set


Enrolled: Apr 2004
Posts: 3
AP: 1

<?
/*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
Page 0 1 2 3 4 5 6 7 8

trin
Need To Set


Enrolled: May 2004
Posts: 1
AP: 1




<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>PHP - the first</title>

<style type="text/css">
body {font-family:Verdana, Arial, Helvetica, sans-serif; color:#333399}

a {text-decoration:none; color:#336699; font-weight:bold; border: 2 dotted #000000; background-color: cccccc}
a:hover {text-decoration:none; color:#000000; font-weight:bold; border: 2 dotted #333399; background-color:#FFFFFF}

</style>
</head>

<body>
<?php
/* ASSIGNMENT, WEEK ONE: Write a script to store and print your name (nick) and at least one favorite url to the browser using variables, use comments and variable names which conform to the course discussion. */

$name = "Ruthanne - A. K. A. Trin";
$hobby = "webdesign ";
$site1 = '<a href="http://trinsan.com">Trinsan.com</a>';
$site2 = '<a href="http://subaru.nu/main.html">Subaru.nu</a>';

//I definitely need to practice remembering how to do this. :)

$fav = '<a href="http://dynamicdrive.com">Dynamic Drive</a>';

//Time to pull it all together! This is the part that shows up in the browser.

Print("Hello! My name is $name. I'm one of those fortunate people whose work and hobby happen to be the same thing: $hobby. I had lots of fun building $site1 and $site2 (among others) although both are far from finished. Up until now, my favorite site has been $fav - but now, I think I need to add a new one: scriptschool.com!");

?>
</body>
</html>


 

 (#593 2004-05-24 03:49:13) Post Reply
Page 0 1 2 3 4 5 6 7 8

eder
Need To Set


Enrolled: May 2004
Posts: 1
AP: 1




<?php

// set variables
// my nickname
$nickName="WillyB";
// my favorite url
$urlFave="http://www.bayanihan.gov.ph/";

//this prints my nick name and my favorite url
print("Hi guys! im new here... my nick name is $nickName and my favorite URL is $urlFave.");

?>




just plain and simple...

 

 (#594 2004-05-24 14:48:06) Post Reply
Page 0 1 2 3 4 5 6 7 8

madhatter
Need To Set


Enrolled: May 2004
Posts: 10
AP: 1

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.



<html>
<body>

<?php
// assign myname
$myname = 'madhatter';
// assign myfavsite
$myfavsite = '<a href="http://www.scriptschool.com">
<A HREF="http://www.scriptschool.com</a>
\';" TARGET=_blank>http://www.scriptschool.com</a>\';</A>


//display in browser

print("My nickname is $myname,<br /><br />and my favorite site is

$myfavsite");


php?>



</body>
</html>



 

  Page 0 1 2 3 4 5 6 7 8

View Previous Thread
Print this page Print This Page

View Next Thread

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