PDA

View Full Version : I'm going back to school!!!



Matt2107
05-01-07, 02:36 PM
I've just had a confirmation call that I've successfully enrolled in a short evening course at a local college studying Web page design using Dreamweaver.

I'm looking forward to it. :D

Lozzie C
05-01-07, 02:41 PM
Can't beat college! :D

Matt2107
05-01-07, 02:42 PM
I've even bought a zip up folder thingy and some new pens.

wisewood
05-01-07, 02:43 PM
How much is this costing you? were you not tempted to just download some tutorials? they'd serve you better, and you'd learn it quicker.


I've even bought a zip up folder thingy and some new pens.

I've got one of them... leather. Well, i say i've "got one" ... i was there when the wife bought it for me for xmas, and i didnt get it for xmas, but my birthday is next week lol

draper
05-01-07, 02:43 PM
well done matt - im loving college, although because ive got to start from the beginning it gets boring

Matt2107
05-01-07, 02:53 PM
I could have done some tutorials but I wanted something done at a college to go on my CV.

?125 for an 8 week course. 6pm-9:30 or something.

wisewood
05-01-07, 02:57 PM
?125 isn't bad for dreamweaver, as long as they teach you properly lol

db_1.2
05-01-07, 02:58 PM
Good to hear! College is wicked! Good luck with the course.

P.S.

Sorry i didnt reply your PM a loonggg time ago about my test etc i tried to but your inbox was full:thumb:

Jack
05-01-07, 03:03 PM
Raw HTML in notepad is where its at lol

I taught myself HTML after Yeovil College totally failed to sucessfully teach me anything about it. Took about a month to master basic html - static and floating frames, tables, css etc. Same goes for Visual Basic, we did really minimal stuff at college which confused the heck out of me so I went away and taught myself. Then stopped using it for a couple years, and started again in my last job making crazy databases in VBA. Gotta love trying to guess how to use the VBA GroupWise API, Novell's documentation is minimal and the tech site is rubbish lol

Matt2107
05-01-07, 03:04 PM
?125 isn't bad for dreamweaver, as long as they teach you properly lol

I've got a wonky copy of Dreamweaver 8 and I've self taught myself the basics but I'd like to be able to put something proper down when applying for jobs etc. Ideal I'd like to snare an employer who will pay for full training!

Db - your the second person who has said that... my inbox is never full... I always make sure its empty. Damn crappy glitch i think.

Iain
05-01-07, 03:06 PM
Raw HTML in notepad is where its at lol
Hell yes, text editor all the way (although syntax highlighting is sometimes useful lol). I've taught myself HTML/CSS/PHP too, not too hard to teach yourself and just play around with it. :thumb:

Matt2107
05-01-07, 03:09 PM
I taught myself html in notepad when I was on work experience at 16.
Can't remember any of it now though.

Jack
05-01-07, 03:10 PM
Ideal I'd like to snare an employer who will pay for full training!
MoD! MoD! I'm an official UnixWare CSA thanks to the MoD; come february I'll hopefully be an ACE :D

Alex.
05-01-07, 03:12 PM
ACE Jack....haha....oh dear!

James P
05-01-07, 03:19 PM
one of the best times in my life was at college, you make loads of mates.

Novadex
05-01-07, 03:21 PM
anything Macromedia has top marks...
im a Flash guy :D

wisewood
05-01-07, 03:24 PM
lol @ Notepad. I use Crimson Editor (http://www.crimsoneditor.com/), its like using notepad, only better lol and freeware.

If you're just coding html, notepad is fine, but when you start putting php scripts together debugging is a nightmare without having the line numbers available :D

for example, if there were a bug in the script below taken from the my_messages.php file on the intranet i created at work, on say, line 134 in notepad you'd have to go all the way through counting the rows as you go lol



<?php session_start();
include('css.php');
include('datacon.php');
$wtd = $_GET['wtd'];
function writeMessage()
**
echo "<script type='text/javascript'>";
echo "function handleEnter (field, event) **
var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
if (keyCode == 13) **
var i;
for (i = 0; i < field.form.elements.length; i++)
if (field == field.form.elements[i])
break;
i = (i + 1) % field.form.elements.length;
field.form.elements[i].focus();
return false;
**
else
return true;
**";
echo "</script>";
echo "<table class=content><tr>";
echo "<td valign=top>Select Recipient:</td>";
echo "<td>";
echo "<FORM METHOD=POST ACTION=$PHP_SELF?wtd=send>";
echo "<SELECT name=recipient onkeypress='return handleEnter(this, event)'><OPTION value=\"\" class=form2>Select Staff...</OPTION>";
$users = "SELECT username FROM psuk_users ORDER BY username ASC";
if ($result = mysql_query($users) or die ("Invalid Query: Users")) **
$num = mysql_num_rows($result);
for($i=0;$i<$num;$i++)**
$staff_involved = ucwords(mysql_result($result,$i,"username"));

if($staff_involved=="$_SESSION[username]")**$selected="selected";** else **$selected="";**
echo "<OPTION value=$staff_involved $selected class=form2>$staff_involved";
**
**
echo "<OPTION value=all class=form2>All Staff";
echo "</SELECT>";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td valign=top>Subject:</td>";
echo "<td>";
echo "<INPUT TYPE=text SIZE=28 CLASS=form2 NAME=subject onkeypress='return handleEnter(this, event)'>";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td valign=top>Your Message:</td>";
echo "<td>";
echo "<textarea class=form2 cols=50 rows=7 name=message></textarea>";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td></td><td><input type=submit value='Send Message' class=form2></td>";
echo "</tr>";
echo "</table>";
**
function replyMessage($id)
**
$messages = "SELECT * FROM my_messages WHERE id='$id'";
if ($result = mysql_query($messages) or die ("Invalid Query: messages"))
**
$num = mysql_num_rows($result);
for($i=0;$i<$num;$i++)
**
$sender = ucwords(mysql_result($result,$i,"sender"));
$id = mysql_result($result,$i,"id");
$date_time = mysql_result($result,$i,"date_time");
$date_time = date('D d M Y H:i', $date_time);
$message = nl2br(mysql_result($result,$i,"message"));
$subject = mysql_result($result,$i,"subject");
**
**
echo "<script type='text/javascript'>";
echo "function handleEnter (field, event) **
var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
if (keyCode == 13) **
var i;
for (i = 0; i < field.form.elements.length; i++)
if (field == field.form.elements[i])
break;
i = (i + 1) % field.form.elements.length;
field.form.elements[i].focus();
return false;
**
else
return true;
**";
echo "</script>";
echo "<table class=content><tr>";
echo "<td valign=top>Select Recipient:</td>";
echo "<td>";
echo "<FORM METHOD=POST ACTION=$PHP_SELF?wtd=send>";
echo "<SELECT name=recipient onkeypress='return handleEnter(this, event)'><OPTION value=\"\" class=form2>Select Staff...</OPTION>";
$users = "SELECT username FROM psuk_users ORDER BY username ASC";
if ($result = mysql_query($users) or die ("Invalid Query: Users")) **
$num = mysql_num_rows($result);
for($i=0;$i<$num;$i++)**
$staff_involved = ucwords(mysql_result($result,$i,"username"));

if($staff_involved=="$sender")**$selected="selected";** else **$selected="";**
echo "<OPTION value=$staff_involved $selected class=form2>$staff_involved";
**
**
echo "<OPTION value=all class=form2>All Staff";
echo "</SELECT>";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td valign=top>Subject:</td>";
echo "<td>";
$needle = "Re; ";
$check = strpos($subject, $needle);
if($check<1)**$reply_subject=" Re; $subject";** else **$reply_subject="$subject";**
echo "<INPUT TYPE=text SIZE=28 CLASS=form2 NAME=subject value='$reply_subject' onkeypress='return handleEnter(this, event)'>";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td valign=top>Your Message:</td>";
echo "<td>";
echo "<textarea class=form2 cols=50 rows=7 name=message></textarea>";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td></td><td><input type=submit value='Send Message' class=form2></td>";
echo "</tr>";
echo "</table>";
**

wisewood
05-01-07, 03:28 PM
ran out of space lol... code continues



function forwardMessage($id)
**
$messages = "SELECT * FROM my_messages WHERE id='$id'";
if ($result = mysql_query($messages) or die ("Invalid Query: messages"))
**
$num = mysql_num_rows($result);
for($i=0;$i<$num;$i++)
**
$sender = ucwords(mysql_result($result,$i,"sender"));
$id = mysql_result($result,$i,"id");
$date_time = mysql_result($result,$i,"date_time");
$date_time = date('D d M Y H:i', $date_time);
$message = nl2br(mysql_result($result,$i,"message"));
$subject = mysql_result($result,$i,"subject");
**
**
echo "<script type='text/javascript'>";
echo "function handleEnter (field, event) **
var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
if (keyCode == 13) **
var i;
for (i = 0; i < field.form.elements.length; i++)
if (field == field.form.elements[i])
break;
i = (i + 1) % field.form.elements.length;
field.form.elements[i].focus();
return false;
**
else
return true;
**";
echo "</script>";
echo "<table class=content><tr>";
echo "<td valign=top>Select Recipient:</td>";
echo "<td>";
echo "<FORM METHOD=POST ACTION=$PHP_SELF?wtd=send>";
echo "<SELECT name=recipient onkeypress='return handleEnter(this, event)'><OPTION value=\"\" class=form2>Select Staff...</OPTION>";
$users = "SELECT username FROM psuk_users ORDER BY username ASC";
if ($result = mysql_query($users) or die ("Invalid Query: Users")) **
$num = mysql_num_rows($result);
for($i=0;$i<$num;$i++)**
$staff_involved = ucwords(mysql_result($result,$i,"username"));

if($staff_involved=="$sender")**$selected="selected";** else **$selected="";**
echo "<OPTION value=$staff_involved $selected class=form2>$staff_involved";
**
**
echo "<OPTION value=all class=form2>All Staff";
echo "</SELECT>";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td valign=top>Subject:</td>";
echo "<td>";
echo "<INPUT TYPE=text SIZE=28 CLASS=form2 NAME=subject value='Fw; $subject' onkeypress='return handleEnter(this, event)'>";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td valign=top>Your Message:</td>";
echo "<td>";
echo "<textarea class=form2 cols=50 rows=7 name=message>\n\n\n\n\nFrom:$sender\nDate: $date_time\n\n$message</textarea>";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td></td><td><input type=submit value='Send Message' class=form2></td>";
echo "</tr>";
echo "</table>";
**
function sendMessage($sender, $recipient, $subject, $message)
**
if($recipient=="all")
**
$users = "SELECT username FROM psuk_users ORDER BY username ASC";
if ($result = mysql_query($users) or die ("Invalid Query: Users"))
**
$num = mysql_num_rows($result);
echo "$num<br>";
for($i=0;$i<$num;$i++)
**
$recipient = ucwords(mysql_result($result,$i,"username"));
$date_time = time();
echo "<font class=content>From: $sender<br>To: $recipient<br><br>Subject: $subject<br>Message: $message<br><br>";
$insert = "INSERT INTO `my_messages` ( `sender` , `recipient` , `date_time` , `subject` , `message` ) VALUES ('$sender', '$recipient', '$date_time', '$subject', '$message')";
$insert_result = mysql_query($insert);
echo "<hr><br>";
**
**
if(!$strSQL){echo "ERROR! Could not send... Try again, or seek help.";** else {echo "<META HTTP-EQUIV=Refresh CONTENT='1; URL=my_messages.php'>";**
**
else
**
$date_time = time();
echo "<font class=content>From: $sender<br>To: $recipient<br><br>Subject: $subject<br>Message: $message<br>";
$strSQL = "INSERT INTO `my_messages` ( `sender` , `recipient` , `date_time` , `subject` , `message` ) VALUES ('$sender', '$recipient', '$date_time', '$subject', '$message')";
$result = MYSQL_QUERY($strSQL);
if(!$strSQL){echo "ERROR! Could not send... Try again, or seek help.";** else {echo "<META HTTP-EQUIV=Refresh CONTENT='1; URL=my_messages.php'>";**
$recipient = strtolower($recipient);
$users = "SELECT email FROM psuk_users WHERE username = '$recipient' LIMIT 1";
if ($result = mysql_query($users) or die ("Invalid Query: Users 2"))
**
$num = mysql_num_rows($result);
for($i=0;$i<$num;$i++)
**
$recipient_email = ucwords(mysql_result($result,$i,"email"));
$to = "$recipient_email";
$from_address = "";
$from_name = "Pub Solutions Intranet";
$subject = "New Message";
$message = "You have a new message on the intranet.";
$headers .= "From: \"".$from_name."\" <".$from_address.">\n";
mail($to, $subject, $message, $headers);
**
**
**
**




lol

wisewood
05-01-07, 03:30 PM
and again...



function deleteMessage($id)
**
$strSQL = "UPDATE `my_messages` SET `deleted` = '1' WHERE `id` =$id";
$result = MYSQL_QUERY($strSQL);

if(!$result){echo "ERROR! Could not delete... Try again, or seek help!";** else {echo "<META HTTP-EQUIV=Refresh CONTENT='1; URL=my_messages.php'>";**
**
function viewMessage($id)
**
$strSQL = "UPDATE `my_messages` SET `read` = '1' WHERE `id` =$id";
$result = MYSQL_QUERY($strSQL);

echo "<table class=content border=0 cellspacing=0 cellpadding=4>";
echo "<tr>";
echo "<td><b>From</b></td>";
echo "<td><b>Date / Time</b></td>";
echo "<td><b>Subject</b></td>";
echo "</tr>";
$messages = "SELECT * FROM my_messages WHERE id='$id'";
if ($result = mysql_query($messages) or die ("Invalid Query: messages"))
**
$num = mysql_num_rows($result);
for($i=0;$i<$num;$i++)
**
$sender = ucwords(mysql_result($result,$i,"sender"));
$id = mysql_result($result,$i,"id");
$date_time = mysql_result($result,$i,"date_time");
$date_time = date('D d M Y H:i', $date_time);
$message = nl2br(mysql_result($result,$i,"message"));
$read = mysql_result($result,$i,"read");
$subject = mysql_result($result,$i,"subject");
if($read=="1")**$message_image="<img src='img_bulb_off_sm.bmp' alt='This message has been read' border='0'>"; $delete="<img src=img_calendar_delete_small.bmp border=0>";** else **$message_image="<img src='img_bulb_on_sm.bmp' alt='This message hasnt been read yet!' border='0'>"; $delete="";**

echo "<tr>";
echo "<td><b>$sender</b></td>";
echo "<td width=150>$date_time</td>";
echo "<td width=350>$subject</td>";
echo "</tr>";
echo "<tr>";
echo "<td colspan=2 valign=top><b>Message:</td>";
echo "<td>$message<br><br><a href=my_messages.php?wtd=reply&id=$id><img src=img_postreply.bmp border=0></a><a href=my_messages.php?wtd=forward&id=$id><img src=img_postforward.bmp border=0></a></td>";
echo "</tr>";
**
**
echo "</table>";
**
function viewSentMessage($id)
**
echo "<table class=content border=0 cellspacing=0 cellpadding=4>";
echo "<tr>";
echo "<td><b>To</b></td>";
echo "<td><b>Date / Time</b></td>";
echo "<td><b>Subject</b></td>";
echo "</tr>";
$messages = "SELECT * FROM my_messages WHERE id='$id'";
if ($result = mysql_query($messages) or die ("Invalid Query: messages"))
**
$num = mysql_num_rows($result);
for($i=0;$i<$num;$i++)
**
$recipient = ucwords(mysql_result($result,$i,"recipient"));
$id = mysql_result($result,$i,"id");
$date_time = mysql_result($result,$i,"date_time");
$date_time = date('D d M Y H:i', $date_time);
$message = nl2br(mysql_result($result,$i,"message"));
$read = mysql_result($result,$i,"read");
$subject = mysql_result($result,$i,"subject");
if($read=="1")**$message_image="<img src='img_bulb_off_sm.bmp' alt='This message has been read' border='0'>"; $delete="<img src=img_calendar_delete_small.bmp border=0>";** else **$message_image="<img src='img_bulb_on_sm.bmp' alt='This message hasnt been read yet!' border='0'>"; $delete="";**


echo "<tr>";
echo "<td><b>$recipient</b></td>";
echo "<td width=150>$date_time</td>";
echo "<td width=350><b>$subject</b></td>";
echo "</tr>";
echo "<tr>";
echo "<td colspan=2 valign=top><b>Message:</td>";
echo "<td>$message<br><br><a href=my_messages.php?wtd=forward&id=$id><img src=img_postforward.bmp border=0></a></td>";
echo "</tr>";
**
**
echo "</table>";
**
function allMessages($username)
**
echo "<table class=content border=0 cellspacing=0 cellpadding=4>";
echo "<tr>";
echo "<td valign=middle></td>";
echo "<td valign=middle></td>";
echo "<td><b>From</b></td>";
echo "<td><b>Date / Time</b></td>";
echo "<td><b>Subject</b></td>";
echo "</tr>";
$messages = "SELECT * FROM my_messages WHERE recipient='$_SESSION[username]' AND deleted='' ORDER BY date_time DESC";
if ($result = mysql_query($messages) or die ("Invalid Query: messages"))
**
$num = mysql_num_rows($result);
for($i=0;$i<$num;$i++)
**
$sender = ucwords(mysql_result($result,$i,"sender"));
$id = mysql_result($result,$i,"id");
$date_time = mysql_result($result,$i,"date_time");
$date_time = date('D d M Y H:i', $date_time);
$message = nl2br(mysql_result($result,$i,"message"));
$read = mysql_result($result,$i,"read");
$subject = mysql_result($result,$i,"subject");
if($read=="1")**$message_image="<img src='img_bulb_off_sm.bmp' alt='This message has been read' border='0'>"; $delete="<img src=img_calendar_delete_small.bmp border=0>";** else **$message_image="<img src='img_bulb_on_sm.bmp' alt='This message hasnt been read yet!' border='0'>"; $delete="";**

echo "<tr onClick=location.href='$php_self?wtd=view&id=$id' style=cursor:hand onmouseover=this.style.backgroundColor=''; onmouseout=this.style.backgroundColor=''>";
echo "<td valign=middle><a href=$php_self?wtd=delete&id=$id>$delete</a></td>";
echo "<td valign=middle>$message_image</td>";
echo "<td><b>$sender</b></td>";
echo "<td width=150>$date_time</td>";
echo "<td width=350>$subject</td>";
echo "</tr>";
**
**
echo "</table>";

**
function sentMessages($username)
**
echo "<table class=content border=0 cellspacing=0 cellpadding=4>";
echo "<tr>";
echo "<td valign=middle></td>";
echo "<td><b>To</b></td>";
echo "<td><b>Date / Time</b></td>";
echo "<td><b>Subject</b></td>";
echo "</tr>";
$messages = "SELECT * FROM my_messages WHERE sender='$_SESSION[username]' ORDER BY date_time DESC";
if ($result = mysql_query($messages) or die ("Invalid Query: messages"))
**
$num = mysql_num_rows($result);
for($i=0;$i<$num;$i++)
**
$recipient = ucwords(mysql_result($result,$i,"recipient"));
$id = mysql_result($result,$i,"id");
$date_time = mysql_result($result,$i,"date_time");
$date_time = date('D d M Y H:i', $date_time);
$message = nl2br(mysql_result($result,$i,"message"));
$notified = mysql_result($result,$i,"notified");
$read = mysql_result($result,$i,"read");
$subject = mysql_result($result,$i,"subject");
if($notified=="1")**$message_image="<img src='img_bulb_red_sm.bmp' alt='Recipient has been notified, but hasn't read it yet' border='0'>";**
if($read=="1")**$message_image="<img src='img_bulb_off_sm.bmp' alt='$recipient has read this message' border='0'>"; $delete="<img src=img_calendar_delete_small.bmp border=0>";** elseif($notified=="1") **$message_image="<img src='img_bulb_red_sm.bmp' alt='$recipient has been notified, but hasnt read it yet' border='0'>";** else **$message_image="<img src='img_bulb_on_sm.bmp' alt='$recipient doesnt know about this message yet!' border='0'>"; $delete="";**

echo "<tr onClick=location.href='$php_self?wtd=view_sent&id=$id' style=cursor:hand onmouseover=this.style.backgroundColor=''; onmouseout=this.style.backgroundColor=''>";
echo "<td valign=middle>$message_image</td>";
echo "<td><b>$recipient</b></td>";
echo "<td width=150>$date_time</td>";
echo "<td width=350>$subject</td>";
echo "</tr>";
**
**
echo "</table>";

**
function deletedMessages($username)
**
echo "<table class=content border=0 cellspacing=0 cellpadding=4>";
echo "<tr>";
echo "<td valign=middle></td>";
echo "<td><b>From</b></td>";
echo "<td><b>Date / Time</b></td>";
echo "<td><b>Subject</b></td>";
echo "</tr>";
$messages = "SELECT * FROM my_messages WHERE recipient='$_SESSION[username]' AND deleted='1' ORDER BY date_time DESC";
if ($result = mysql_query($messages) or die ("Invalid Query: messages"))
**
$num = mysql_num_rows($result);
for($i=0;$i<$num;$i++)
**
$sender = ucwords(mysql_result($result,$i,"sender"));
$id = mysql_result($result,$i,"id");
$date_time = mysql_result($result,$i,"date_time");
$date_time = date('D d M Y H:i', $date_time);
$message = nl2br(mysql_result($result,$i,"message"));
$read = mysql_result($result,$i,"read");
$subject = mysql_result($result,$i,"subject");
if($read=="1")**$message_image="<img src='img_bulb_off_sm.bmp' alt='This message has been read' border='0'>"; $delete="<img src=img_calendar_delete_small.bmp border=0>";** else **$message_image="<img src='img_bulb_on_sm.bmp' alt='This message hasnt been read yet!' border='0'>"; $delete="";**

echo "<tr bgcolor=#FFFFFF onClick=location.href='$php_self?wtd=view_deleted&id=$id' style=cursor:hand onmouseover=this.style.backgroundColor='#FFFFFF'; onmouseout=this.style.backgroundColor='#FFFFFF'>";
echo "<td valign=middle>$message_image</td>";
echo "<td><b>$sender</b></td>";
echo "<td width=150>$date_time</td>";
echo "<td width=350>$subject</td>";
echo "</tr>";
**
**
echo "</table>";

**

?>

wisewood
05-01-07, 03:32 PM
<?php
$day = date('d');
$month = date('m');
if($month==12 && $day>=4) **$background="background=images/snowman_background.gif";**
echo "<body $background>";
echo "<table>";
echo "<tr>";
echo "<td valign=middle><a href=main_menu.php><img src=img_backup.bmp border=0></a><img src=img_bulb_on.bmp></td>";
echo "<td><font class=header1><b>My Messages</b></font></td>";
echo "</tr>";
echo "<tr>";
echo "<td colspan=2>
<a href=my_messages.php?wtd=write><img src=img_postnew.bmp border=0></a>
<a href=my_messages.php><img src=img_postin.bmp border=0></a>
<a href=my_messages.php?wtd=sent><img src=img_postout.bmp border=0></a>
</td>";
echo "</tr>";
echo "</table>";


if($wtd=="")
**
$dhtml_id="2";
allMessages("$_SESSION[username]");
**
if($wtd=="write")
**
writeMessage();
**
if($wtd=="send")
**
sendMessage("$_SESSION[username]", "$_POST[recipient]", "$_POST[subject]", "$_POST[message]");
**
if($wtd=="delete")
**
deleteMessage("$_GET[id]");
**
if($wtd=="view")
**
viewMessage("$_GET[id]");
**
if($wtd=="view_sent")
**
viewSentMessage("$_GET[id]");
**
if($wtd=="view_deleted")
**
viewDeletedMessage("$_GET[id]");
**
if($wtd=="sent")
**
sentMessages("$_SESSION[username]");
**
if($wtd=="deleted")
**
deletedMessages("$_SESSION[username]");
**
if($wtd=="reply")
**
replyMessage("$_GET[id]");
**
if($wtd=="forward")
**
forwardMessage("$_GET[id]");
**
?>


So you see, to debug that with notepad would take you quite a while.

PS. That code wont work, the copy and paste and quick reply has mucked some of it up lol

Matt2107
05-01-07, 03:32 PM
lol ^

Jack
05-01-07, 03:36 PM
I was bout to say "I don't know PHP" but looking at that it actually makes relative sense to me lol.... oh dear!

If you want to be REALLY hardcore, use vi on Unix :D

wisewood
05-01-07, 03:38 PM
PHP is really straightforward, especially if you code it tidy so people can understand what you've done. The reason i used my_messages.php as an example was just that, its tidy. Most of my other files are a real mess lol

PS. can anyone spot the special code in that script that kicks in for christmas? lol

wisewood
05-01-07, 03:56 PM
Db - your the second person who has said that... my inbox is never full... I always make sure its empty. Damn crappy glitch i think.

Sent items count to filling your inbox too... so can often be that you have 10 in your inbox and a gazillion sent items :thumb:

Iain
05-01-07, 04:11 PM
I swear I just bull****ted PHP as I learnt it until I got something that works... That's how programming should be lol And as for vi... No. Just no.

bump
05-01-07, 10:09 PM
vi is far nicer than emacs. PHP isn't that bad either, I've been messing around with processing (http:/.www.processing.org) and linking it to an arduino (http://www.arduino.cc/en/) board.

Matt2107
07-01-07, 11:51 AM
Sent items count to filling your inbox too... so can often be that you have 10 in your inbox and a gazillion sent items :thumb:

lol i always delete them too... i try to leave at least 30 spaces.

draper
07-01-07, 11:57 AM
lol i always delete them too... i try to leave at least 30 spaces.

someone thinks there popular than they are :thumb: lol

Matt2107
07-01-07, 11:59 AM
someone thinks there popular than they are :thumb: lol

lol cheeky ...... it just mega ....es me off when someones inbox is full.

Treat others as you would like to be treated.

wisewood
09-01-07, 04:16 PM
** Goes away to write a script to auto send 31 messages to Matt twice a day **

Matt2107
09-01-07, 04:21 PM
Noooooooooooo! lol

I start school on Wednesday night ;)

wisewood
09-01-07, 04:28 PM
I go back in again tonight after 3 glorious weeks off :(

Matt2107
09-01-07, 04:31 PM
lol should i take the teacher an apple?

I'm kinda hoping that they'll be hardly anyone on the course... as I'll get more out of it.

wisewood
09-01-07, 04:32 PM
You're just hoping for some one-on-one action with the teacher lol

Take the teacher an iPod shuffle... thats what all the cool kids are doing these days.

Matt2107
09-01-07, 04:34 PM
You're just hoping for some one-on-one action with the teacher lol

Take the teacher an iPod shuffle... thats what all the cool kids are doing these days.

lol I wouldnt be suprised if teacher was younger than me.

wisewood
09-01-07, 04:35 PM
12 year old kid with a hoodie and a can of Bawls.

Matt2107
09-01-07, 04:39 PM
12 year old kid with a hoodie and a can of Bawls.

lol who's probably set up a toilet cam to catch his sister on the loo and sells memberships to a site he's set up.... hence being "qualified" to teach me.

wisewood
09-01-07, 04:41 PM
http://toiletpaperonline.com/

Matt2107
09-01-07, 04:44 PM
hmmm I don't think I'll click that link at work. :D

wisewood
09-01-07, 04:45 PM
its a news site lol just has a suitable domain name