Hey all, this has been annoying me for a bit now and to be honest, Google isn’t really helping me understand what I actually need to do.
First, let me tell you about the website I am making. The point of the website is to make people keep a record of what jobs they have applied for. Simple!
Sooooo, my problem!
Basically, the code below displays information from a database called job_db and a table called jobs.
The jobs table consist of the following columns -
id, job_title, job_business, date_applied and end_date.
///////////////////////////////////////////// coding \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
<?php include "header.php"; ?> <?php // Connect to server and select database. mysql_connect("localhost", "root", "")or die("cannot connect"); mysql_select_db("job_db")or die("cannot select DB"); // select record from mysql $sql="SELECT * FROM jobs"; $result=mysql_query($sql); ?>
|
The column “
id, username, password, email, last_log_date.
However, I do not know how to add this table into my coding and view the user.
Can anyone help me here?