Search:
Type: Posts; User: AliHurworth
Search :
Search took 0.02 seconds.
Hi, this is a question about implementing jeditable...
Briefly, this is what I'm aiming for...
Open a text file (chapter02.txt - part of the script to Back to the Future)
Each line of script...
Ha seems I'd already done the spade-work in the get_cookie function.
I just used:
function checkCookie() {
var x = get_cookie ('displayWarning');...
Hi all,
This is a cookie question.
I've set a cookie with a name-value pair of warning=none/block.
I'm then aiming to use this to set the CSS when the page loads, for a particular element. The...
(Thanks Dasher)
Okay what worked is as follows.
There might be more CSS than you need, especially the height declarations. The main things are that the li's are displayed as block, and the a's are...
Hi all,
Horizontal list problem:
Cannot get a horizontal list to rollover - it just works in a tiny area where the   is.
HTML:
<ul id="navlist" >
<li id="nav_home" title="return...
Hi just a research question: I'm converting a new user and storing the email as a MD5 in order to get them to check in.
It occurs to me that I could use other values at the same time (so a hashed...
So I've been looking at the PHP, and made some alterations after passing the query properly:
if ($type=='range') {
$query="SELECT COUNT(*) FROM sessions WHERE (DATE BETWEEN CAST...
Hi, I'd like to find out how many records exist between two dates, using PHP and MYSQL.
At the moment I'm getting an error: mysql_num_rows(): supplied argument is not a valid MySQL result resource...
If anyone is still reading, this is the current version of the code. With, ahem, the pass word removed. Seems to run the HTML okay, then stops at the loop.
Can anyone help? I'm really struggling...
Thanks NogDog,
I've changed the code to refelct what you say and it isn't working.
This is the full form:
<form id="new_session" action="prcs_create_session.php" method="post">
<table>
...
Evening...
I'm trying to create a dynamic select drop-down box, but struggling with the SQL to create the options.
This is what I have:
$query = "SELECT * FROM places";
$result =...
Thanks to both of you.
This is the code that worked:
$result=mysql_query('SELECT * FROM wkho_TTX.users WHERE email="'.$email.'" AND mobile="'.$mobile.'"');
So, the deal is that the query...
So, following your advice about quotes at least, it looks like this...
$result=mysql_query('SELECT * FROM wkho_TTX.users WHERE email="$email" AND mobile="$mobile"');
...
No dice. I'm...
Hi there.
I have a problem getting the following code to work:
// username and password sent from form
$email=$_POST['email'];
$mobile=$_POST['mobile'];
// To protect MySQL injection...
Sterling you are right: it was the = vs == thing. Full code to follow.
Hi both, thanks for sorting out the syntax.
However, it still doesn't seem to work as planned...
This is the full code, including your adjustments (don't worry about the teabags thing!):
...
Sterling work. Thanks!
But that's not the problem...
Hi, I've attached a cut-down version of a script I am working on. It's a pretty simple button with a function attached, which creates a random number and compares it with a preset value.
I can't...
...at http://www.holtworth.net/minisites/jm/index.php
In de head:
<script type="text/javascript" src=http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js></script>
<script...
Fang, thank you - that was it!
So this is in the header:
<script type="text/javascript">
$(document).ready(function(){
$('#info').hide();
$('#discog').hide();
$('a#infolink').click(function(){
Hi all,
I'm trying to use jQuery to show and hide three pieces of content according to a user clicking.
This is what I have: (I'm at work, so i can't post the code, although I will later)...
Hi, I am running the scripts below which should return a string containing a URL.
So far, it cannot find the form contents in Firefox, but displays the non-dynamic data such as ?Location=. It won't...
And just to amplify, the script seems to work okay if the form is submitted by a normal button, and the landing page just echo's $sweep.
Hi, if anyone is still listening...
So I've gone over to AJAX and it almost works, except that the returned data isn't being picked up.
The form:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...