fusedreality 15 Newbie Poster

simply state in the css the percentage of the size you want your h1 size. It gets the value of 100% from your body text. So, if you wanted the h1 tag to be twice the size of normal text, you'd put this in:

h1 {
font-size:200%;
}
fusedreality 15 Newbie Poster

The way mysql_fetch_array() works is that it sets a pointer which knows which row you're going for.

After your while($row...) statement is completed you have to reset this. You can do this with:

<?php
mysql_data_seek($result,0);
?>

The technical documentation for this function is available here.

Your second problem is what ddymacek mentioned:

you are using $res1 in your while statement and only $res[] in your echo statements.
change them to all be $res1 or $res.

fusedreality 15 Newbie Poster

You don't want to put it as an onclick event, as that's a bit more complicated and assumes that the user has JavaScript. I'd suggest making a file that destroys the session and redirects the user. This is all you need (I'm not even sure you need to add session_start(), but it doesn't hurt):

<?php
session_start();
session_destroy();
header("Location: index.php");
?>
fusedreality 15 Newbie Poster

There's a function that clears session variables for you: session_destroy().

Also, the function header() will let you redirect to any page. E.g.

header("Location: index.php");
fusedreality 15 Newbie Poster

I'd suggest using rgba to define your background. This will give a background which is transparent while keeping your text solid. This post on 24ways should be able to instruct you on how to do this.

fusedreality 15 Newbie Poster

Phew. 3. Looks like I can't do anything crazy and blame it on this test then. Drats, I had a plan and everything! :P

fusedreality 15 Newbie Poster

Depends.

All I can think of is that perhaps that in your scripts, if they're standalone files, you haven't included 'session_start();'. Apart from that I've got no idea.