Dont worry i found this code, and it works
<?php
session_start();
unset($_session['password']);
unset($_session['username']);
session_destroy();
header('Location: /index.php?error=4')
?>
i need help with this. its not working
<html><head><title>Tax</title>
<style type="text/css">
<!--
.style5 {color: #000000}
-->
</style>
</head>
<body bgcolor = "#c67777">
<h1 align=center>Tax Rates</h1></center>
<form name = "form" method = "post" action = "javascriptvoid(0)">
<input...
can you give me an example of this, i have already got:
$query = "SELECT * FROM events ORDER BY Date"; date being my field and events being the table. Im not too sure how to do the greater than the current date thing.. thanks alot!
i am displaying events with dates on a website. I have limited how many records are to be displayed at once, i now want to know how i can keep these records up to date so that events that have passed do not show and are replaced with newer events from the database????
hope this makes sense, thanks
I have displayed a certain amount of records on my site, how do i keep it up to date so that once a date passes; i am displaying events and dates; that one gets replaced with newer ones from the database. thanks!
I'm still not quite sure how im suppose to do it. Im new at PHP. I have already got maintenance pages for the client up and running, but now need to display what the client wants on to the website. I have tried copying and pasting certain scripts, but havent been able to get anything to...
just wondering how i would display 12 hour time to 24 hour time, in my database. I have an events table that has a start and finished time, i dont have the seconds displaying. If this isnt possible, is it possible to display am or pm within the field.
Hope i have explained it enough!
thanks!
hope someone can help me? how do you make specific links one colour and other links another. I have text links in my menu and other links on the page within the content, i want to change the colours of the links in the menu. How do i do this?
thanks
i mean that in the 2nd and 3rd instead of displaying a record theres a empty line with no record in it. I have more than 3 records in my database so it should be displaying. Theres five columns, username, password, level, edit, delete. The database is just holding login information! hope...
hey can anyone help me with displaying more than one record? here is my code.
<html>
<head>
<title>Display all Users</title>
</head>
<body>
<h3>User Details</h3>
<?php
//database connection
include("database.inc");
$query = "Select * From `login`";
$mysql_result=mysql_query($query,$conn)...
hey can anyone help me with displaying more than one record? here is my code.
<html>
<head>
<title>Display all Users</title>
</head>
<body>
<h3>User Details</h3>
<?php
//database connection
include("database.inc");
$query = "Select * From `login`";
$mysql_result=mysql_query($query,$conn)...
i need this form to send the data entered into it to my email and the postcode has to be numeric and and data must be entered into both the postcode and the feedback fields, this is so confusing can anyone help?
<HTML>
<HEAD>
<TITLE> Integrate and Use a Scripting Language </TITLE>
<script type =...
i need this form to send the data entered into it to my email and the postcode has to be numeric and and data must be entered into both the postcode and the feedback fields, this is so confusing can anyone help?
<HTML>
<HEAD>
<TITLE> Integrate and Use a Scripting Language </TITLE>
<script type =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.