At the moment I have a layer than scrools top to bottom and back again if the content within it exceeds the page, however this is proving to be a unusable.
So I thought about rotating between layers automatically, display layer 1 for 10 secs then layer 2 for 10 secs, back to layer 1 etc.
Using...
aha, I didn`t know there was a mid hehe. I used left and right but couldn`t get the month out on it's own!
thanks chopstik I have given you a star and have bookmarked this page for future reference.
A database holds the date as a varchar in the format yyyymmdd so today is held as 20080320
Is it possible to output this on my page as 20/03/2008
At present I just call it using rs("deadlinedate") which outputs 20080320. I tried to use right and left
thanks for any help you can give
I found this script on a javascript site that automatically scrolls the window up and down, is it possible to make tchange this to make a layer scroll up and down instead of the whle window??
<script type="text/javascript">
function page_size() {
var y, h;
if(window.innerHeight &&...
Is it possible to copy input from a text field into another text field, but minus the space?
So if someone types into text1
tek tips is great
into text2 goes
tektipsisgreat
The field can either be populated when the user clicks away from text1 or as each key is presed, which is easier...
In my edit page of my cms I am writing the form and populating it if there is content existing, but how do I check if the checkbox has a value of 1, if so then echo 'checked'?
Here is what I am doing
$query1=" SELECT * FROM properties where id = '{$_GET['id']}' "...
I have really enjoyed doing this despite constantly being baffled by it. I may take you up on that offer jpadie just as soon as I have fully digested what is going on in this script and read a few more tutorials (and w3schools). I am definately going to have a go at setting up a website of my own.
Thanks for helping me with this, especially on the weekend :)
It seems it is being saved to the /tmp directory, I looked on ftp and couldn`t find any folders with that name, so created one but still no luck.
session
Session Support enabled
Registered save handlers files user
Directive Local...
Yes I changed it to 600 however if I click a link, type in password, then click another link straight away I need to type password, click another link, type password etc
The edit.php?id=2 just does not work, after logging in it sends me to edit.asp
I can`t get the code to work, it keeps logging out after every page, and a page such as edit.php?id=2 will not display as it goes to login then to edit.php each time :o(
Thank you for the comprehensive reply jpadie, I will definately digest each area of the code to work out what does what, especially the nonces part which I had never heard of before.
I am enjoying this project that was thrust upon me, I might even try to build a website of my own after this :)
I am trying to create a simple text field login but am struggling
<?php
session_start();
if($_POST){
$_SESSION['username']=$_POST["loginpass"];
}
if(!$_SESSION['username'] == "password"){
echo "You are not authenticated. Please login.<br><br>
<form action='index.php' method='post'>...
I had this problem with our website, the hosting company wouldn`t release the database when we wanted to move hosts however I managed to write a script that queried the database (I had passwords for the DB access) and outputted each row etc to a csv which I then used to create a new database.
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.