School Map:
Home / Enroll
$ Student Records; Class
$ News @ LIVE
Tech Radio * Support/FAQ
| Store | FORUMS
(#479 2004-01-18 17:09:54) Post Reply |
|
krac
|
<HTML>
<HEAD> <TITLE> my assignment #1 </TITLE> </HEAD> <BODY> <?php // this code will display my information in my website // variables $name="Myk"; $surname="Miranda"; $nick="Krac"; $site="www.angbarkada.org"; // this will display all my information print("<br>my name is $name $miranda, most of my frends call me $nick.<br/> One of my favorite site is $site <br/>"); ?> </BODY> </HEAD> |
(#484 2004-01-23 22:27:33) Post Reply |
|
5p0ng3
|
//TO-DO ASSIGNMENT 1
//by 5p0ng3 $mynick= "5p0ng3"; $myurl = "www.gamers.nu"; print($mynick); print($myurl); |
(#485 2004-01-23 22:32:25) Post Reply |
|
5p0ng3
|
//OOPS FORGOT SOME STUFF
//TO-DO ASSIGNMENT 1; //by 5p0ng3 // im a c++ programmer so this will take some getting used to :) //do i have to put the <html> and <head> like the other posts? //please excuse my ignorance of web programming <? $mynick= "5p0ng3"; $myurl = "www.gamers.nu"; print($mynick); print($myurl); ?> |
(#486 2004-01-24 19:04:43) Post Reply |
|
TDavid
|
//do i have to put the <html> and <head> like the other posts?
No, not unless it is part of the to-do assignment ;) Welcome to the course! |
(#487 2004-01-24 20:01:35) Post Reply |
|
Hixie
|
<HTML>
<HEAD> <TITLE>Hixie's week one assignment</TITLE> </HEAD> <BODY> <?php // assigning the variables $myname = James; $mynick = Hixie; $my_site = www.Manked.co.uk; $age = 15; //this information will be displayed print(Hello all, my name is $myname but most people call me $mynick.<br> I'm only $age but im really into computers and i thought i would try programming.<br> im current trying to learn PHP because then i can $my_site alot better); ?> </BODY> </HEAD> ---------------------------- I uploaded this onto my webspace (and i did the php test and it worked) and it came up with this error "Parse error: parse error in /homepages/8/d31394786/htdocs/Manked2004/phptest.php3 on line 14 Hello" did i something wrong? |
(#488 2004-01-24 20:06:27) Post Reply |
|
Hixie
|
<HTML>
<HEAD> <TITLE>Hixie's week one assignment</TITLE> </HEAD> <BODY> <?php // assigning the variables $myname = James; $mynick = Hixie; $my_site = www.Manked.co.uk; $age = 15; //this information will be displayed print ("Hello all, my name is $myname but most people call me $mynick.<br> I'm only $age but im really into computers and i thought i would try programming.<br> im current trying to learn PHP because then i can $my_site alot better"); ?> </BODY> </HEAD> </HTML> ----------------- i made a few adjustments, and it worked it can be found here: http://www.ajmwebdesign.com/Ma...04/phptest.php3 |
(#489 2004-01-24 20:13:36) Post Reply |
|
Hixie
|
sorry for the 3 posts, I found i needed "'s round the information seemed to make it work, the final code can be found at http://www.ajmwebdesign.com/Ma...inalphp1st.php3 for the time being - looking forward to the course |
(#490 2004-01-31 04:16:23) Post Reply |
|
koolguy
|
<html>
<head> <title>PHP RULES!</title> </head> <body> <?php // my variables with respective values, oh and look at the semicolon $apellido="G"; $nombre="Fernando"; $url="http://www.univision.com"; $apodo="webformula"; //Something about your friendly neighborhood latino in Chicago print("Hola, mi name is $nombre $apellido. Love Spidey so I took the nickname $apodo. Hope to someday create a poweful web site just like this one here $url"); ?> </body> </html> |
(#498 2004-02-06 04:07:02) Post Reply |
|
JamesNMira
|
<HTML>
<HEAD> <TITLE>My First Script - BY: James</TITLE> </HEAD> <BODY BGCOLOR="#000000"> <?php // My First Coding Assignment // By James //Variables $fname="James"; $lname="Joyner"; $website="www.scriptschool.com"; print('<FONT COLOR="#0000FF" SIZE="+3">'); print("Hi, "); print("My name is $fname $lname! This is my first script.<BR>"); print("I am glad to be apart of $website..."); ?> </BODY> </HTML> |
(#499 2004-02-07 21:41:20) Post Reply |
|
nydud55
|
yeah!!!!
i finally my 1st script working here it goes <?php $nick='attila'; $likes='i like socoms II'; print("my nick name is $nick and i like $likes"); ?> |
(#500 2004-02-09 16:30:54) Post Reply |
|
rusty
|
<html>
<head> <title>My first Assignment</title> </head> <?php /* variables containing name, surname and favourite url to learn php programming */ $name="Unver";//first name $surname="Rustem";//last name $fav_url="http://www.navini.com";//favourite url print("Name:$name<br>");//now print them all print("Surname:$surname<br>"); print("Favourite url:$fav_url<br>"); printf("My PHP Version %s", phpversion()); ?> </html> |
(#501 2004-02-10 08:51:57) Post Reply |
|
reaperx
|
Hi all heres my attempt at the first assignment any helpfull sugestions would be much appreciated.
|
(#506 2004-02-12 12:38:58) Post Reply |
|
amgames89
|
i am extremely new and i have no idea what i am doing, well actually, i think i have some idea of how php works by looking at other students so here i go:
|
(#507 2004-02-12 12:41:49) Post Reply |
|
amgames89
|
oops i messed up on mine:
|
(#508 2004-02-12 20:57:45) Post Reply |
|
liquidsoul
|
<HTML>
<HEAD> <TITLE>SchoolScript.com Assignment #1</TITLE> </HEAD <?php // String Name $firstname="Troy"; $lastname="Edwards"; $nickname="liquidsoul"; $mywebsite="www.google.com"; $myfavoritenumber=13; //diplay this information in the browser print('Hello I my name is $firstname $lastname. My online nickname is $nickname. My favorite Search Website is $mywebsite. //Current Date print("<br>The current date is: ".date("m/j/y")) ?> </BODY> </HTML> |
(#509 2004-02-12 20:58:04) Post Reply |
|
liquidsoul
|
<HTML>
<HEAD> <TITLE>SchoolScript.com Assignment #1</TITLE> </HEAD <?php // String Name $firstname="Troy"; $lastname="Edwards"; $nickname="liquidsoul"; $mywebsite="www.google.com"; $myfavoritenumber=13; //diplay this information in the browser print('Hello I my name is $firstname $lastname. My online nickname is $nickname. My favorite Search Website is $mywebsite. //Current Date print("<br>The current date is: ".date("m/j/y")) ?> </BODY> </HTML> |
(#510 2004-02-12 20:58:16) Post Reply |
|
liquidsoul
|
<HTML>
<HEAD> <TITLE>SchoolScript.com Assignment #1</TITLE> </HEAD <?php // String Name $firstname="Troy"; $lastname="Edwards"; $nickname="liquidsoul"; $mywebsite="www.google.com"; $myfavoritenumber=13; //diplay this information in the browser print('Hello I my name is $firstname $lastname. My online nickname is $nickname. My favorite Search Website is $mywebsite. //Current Date print("<br>The current date is: ".date("m/j/y")) ?> </BODY> </HTML> |
(#511 2004-02-12 21:10:21) Post Reply |
|
liquidsoul
|
I see the error I have made and it is now corrected .
|
(#512 2004-02-12 21:30:32) Post Reply |
|
liquidsoul
|
Correct assignment ..Guess I learned not to work on this untill I was able to test it first ..
<HTML> <HEAD> <TITLE>SchoolScript.com Assignment #1</TITLE> </HEAD> <BODY> <?php // String Name $firstname="Troy"; $lastname="Edwards"; $nickname="liquidsoul"; $mywebsite="www.google.com"; $favoritenumber=13; //diplay this information in the browser print("Hello, my name is <b>$firstname$lastname</b>.<BR> My online nickname is<b> $nickname.</b><BR> My favorite Search Website is<b> $mywebsite</b><br>My favorite number is:<B>$favoritenumber</B>"); //Current Date print("<br>The current date is:<b> ".date("m/j/y</b>")) ?> </BODY> </HTML> |
(#514 2004-02-16 10:53:34) Post Reply |
|
smilingdog
|
<html>
<head> </head> <body> <?php /*This is my first assignment it creates variables for first name, last name and a favorite url.*/ $firstname = "Tom"; $lastname = "La Velle"; $faveurl = "http://www.sourceforge.net"; /*Now the print function will output the variables to printer. Oh, by the way, I am also using the comment functionality*/ print("This is my name: $firstname $lastname<br>"); print("and this is my favorite URL: $faveurl"); ?> </body> </html> |
(#518 2004-02-18 20:49:58) Post Reply |
|
ice52us
|
<html>
<head> <title>steeeve</title> </head> <body> <?php $name='steve johnson'; print (hi my name is $name, how are you?); ?> </body> </html> |
(#520 2004-02-19 09:20:45) Post Reply |
|
nymor
|
Here it is:
<html> <head> <title> Week #1 PHP Assignment </title> </head> <body> <?php //Assign strings $name = 'Aaron'; $web1 = 'http://www.LangMaker.com'; $web2 = 'http://www.diarenye.net'; //Print info print("Hello! My name is $name!<br /> One of my favorite websites is $web1, another is $web2."); ?> </body> </html> Any suggestions? |
(#522 2004-02-20 14:37:48) Post Reply |
|
kites
|
<html>
<head> <title> Assignment 1, assogn a script to print name and website </title> </head? </body> <?php // this program is going to use php to display my name and favorite website $firstname='Gary'; $lastname='Kitts'; $nickname='kites'; $website='http://www.google.com'; // display information in browser print ("Hello my name is $firstname $lastname my frends call me $nickname.<br>My favorite website is $website.") ?> </body> </html> |
(#523 2004-02-20 14:40:04) Post Reply |
|
kites
|
assign...sorry for the mistake!!!! |
(#525 2004-02-22 20:50:09) Post Reply |
|
bounty
|
<html>
<head> <title>My Site</title> </head> <body> <?php// start code //variables using php $firstname='Rick'<br> $lastname='jobe'<br> $nickname='luckyolboy'<br> $url='www.yahoo.com'<br> //comand to print print(;Hello my name is $firstname $lastname<br> My nickname is $nickname<br> And my favorite url is $url <br> ?> //end code </body> </html> |
(#526 2004-02-22 20:59:08) Post Reply |
|
bounty
|
Corrections:)
<html> <head> <title>My Site</title> </head> <body> <?php //start code //variables using php $firstname='Rick' $lastname='jobe' $nickname='luckyolboy' $url='www.yahoo.com' //comand to print print('Hello my name is $firstname $lastname<br> My nickname is $nickname<br> And my favorite url is $url <br>') ?> //end code </body> </html> |
(#527 2004-02-23 00:41:07) Post Reply |
|
slinky
|
|
(#529 2004-02-27 13:46:55) Post Reply |
|
jed
|
it isnt working on my host but is it ok |
(#530 2004-02-28 23:49:09) Post Reply |
|
dwpreston
|
<HTML>
<HEAD> <TITLE>SchoolScript.com Assignment 1</TITLE> </HEAD> <BODY> <?php // display my name and website using variables in PHP. // Assigns. $firstname="Douglas"; $lastname="Preston"; $website="http://www.prestons-tx.us/dwpreston"; // Display variables in browser. print("Hello, My Name is $firstname $lastname.<br>My favorite site is $website."); // Print todays date. print("<br>Todays Date is: ".date("m/d/y")) ?> </BODY> </HTML> |
(#535 2004-03-03 18:19:14) Post Reply |
|
newf102
|
asignment 1
<html> <head><title>script school assognment 1</title></head> <body> <? //this will display my name and my favorite site using varibles //the variables $name='newf'; $site='<a href"http://www.addictinggames.com" target="_blank">my fav site</a>'; //display in the browser print("howdie, my names is $newf i am cool and liek to spend all day on $site") ?> </body> </html> |
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