An attempt at a personal site. yes I KNOW the padding on the right side is wrong. If anyone can think of why, i'd be grateful.
http://me.yarrt.com
http://me.yarrt.com
Last edited:


if($foo == 'bar'){
...
mysql_query('update foobarbaz set foo = foo + 1 where bar = "baz"')or die(mysql_error());
$var = "Hi";
$id = "1";
$dbc = mysql_connect("localhost","user","pass")or die(mysql_error());
$db = mysql_select_db("db");
$e1 = "UPDATE table SET var='$var' WHERE id='$id'";
$e2 = mysql_query($e1,$dbc);
Actuallymusic_man said:In your update you forgot to make the foo a variable ($foo).
if($foo == 'bar'){
...
mysql_query('update foobarbaz set foo = foo + 1 where bar = "baz"')or die(mysql_error());
Done!manofgames said:On your outbound links, I'd put target="_blank" so that people can still say on your site when navigating away.
He asked me to put the number there to make it easier for potential employers to contact him, and he can ring me up (or email me) and get it removed in minutes if he wants to.manofgames said:A side note off the design aspect: do you really think its wise linking to a site that has your dad's mobile number?? There are a lot of evil people out there, I'd suggest not tempting them.
Could be, you never know =Pmanofgames said:Also, I'd suggest that employers might not be interested in which primary school you went to etc.


