Mic's Noob Website Thread - Advice / Help

Soldato
Joined
31 Oct 2005
Posts
8,847
Location
Leeds
Hi there, I'm going to be building a website over the next few weeks, but I'm not that hot at website creation so I thought I'd create a thread for advice over the next few weeks

Currently I have this very basic CCS layout

I wish to get the picture in the images folder positioned in the Header

The image should be positioned to completely fill the header but be in line with the main container below on the right

Any help would be mostly appreciated, but I would like to know how it's done, I want to learn:) and google has not yeiled many results

Link to website

http://www.megaupload.com/?d=MV5INU7T
 
Firstly I would suggest you get the following book:

Head First HTML with CSS & XHTML

Great for beginners!

Secondly, if you want advice on a specific problem it helps if you have the website hosted already as people won't want to be downloading and setting it up just to help you troubleshoot it!

Look for some free hosting to start with until its built and then get yourself some paid hosting.

cheers big ears, will look into it
 
my next question is this

I'm looking for a program / script that is an online ticket program, I'm looking for something really basic, SQL driven or something, google seems to think I want a ticket system for support, I actually want one for tickets for concerts or football matches

As for the hosting, should be up around next week, for now I'll look for a free dodgy one that supports php, any suggestions?
 
anyhoo, thought I'd give a bit of background on the website

It's for uni project, not after the perfect site just need to prove I understand certain techniques, anyway

I currently have a few forms , see here http://micholden.site50.net/register.html

For some reason the forms text fields are not showing their boarder's, therefore "disappearing" into the white background

Any ideas?
 
hello there again, I have been plodding away and have got to

http://micholden.site50.net/indexrss.html

Please don't laugh, it's just to prove to the examiner I understand certain features

Note some links are dead

ANYWAY

I have to look at storing a subset of data and have looked at the array php method

I'm going to ask each customer what their 3 favourite toon players are within the current register page

I've looked at a good 10 tutorials and had a go but I don't know how to paste the array code within the current register.php

<li><a href="map.html">About Us</a></li>
<li><a href="finaltest.xml">Subscribe</a></li>
<li></li></ul>
</div>
<h2 align="center"><em>Newcastle United</em></h2>
<p><?php
include "connection.php";
//Get the information from the form. NB This must be validated and cleaned
$id = $_GET['id'];
$firstname = $_GET['firstname'];
$secondname = $_GET['secondname'];
$username = $_GET['username'];
$email = $_GET['email'];
$password = $_GET['password'];


$query = "INSERT INTO a5168769_cust (id, firstname, secondname, username, email, password) VALUES ('$id', '$firstname', '$secondname', '$username', '$email', '$password')";
// execute query
// print $query;
$result = mysql_query($query) or die ("Error in query: $query. ".mysql_error());

// print message with ID of inserted record
print "<br />Your customer ID number is ".mysql_insert_id();

?>



</p>

<p>
<?php
print "<b>Thank you for registering with us</b>" ;
echo "<b>$firstname!</b> <b>You can now access the NUFC Shop, full of great Geordie Gifts for all fans</b>";
print "<b>We will send all updates and news to <a href=mailto:$email>$email</a></b>";
?>

The SQL for this is
CREATE TABLE a5168769_cust(
id VARCHAR(20) not null,
firstname VARCHAR(20) not null,
secondname VARCHAR(20) not null,
username VARCHAR(30) PRIMARY KEY,
email VARCHAR(20) not null,
password VARCHAR(10) not null );

So obviously I know how to create the array fields within the SQL but I can't for the life of me work out the register.php method to stick the stuff in the SQL database
 
Back
Top Bottom