Search:
Type: Posts; User: mattwidge
Search :
Search took 0.02 seconds.
THANK YOU SIR!!! Works perfectly!
don't worry. i fixed it.
I got rid of everything in the "navigation" div (except "Fear The Spork") & made the "subNav" function change the innerHTML on rollover.
I have a piece of script. What I want to happen is when somebody hovers over the top navigation, the corresponding sub navigation appears & all the other disappear. Here's what I've got:
<ul...
Yeah, sorry. I hadn't looked in to the Paypal IPN properly.
Is there a PayPal service thingy that allows people to send a pre-determined amount & returns a custom URL?
I'm making a web-application that requires 1 single $10 payment on the 2nd of each month.
How I want it to work is this:
1- User signs up & get's 1 month's cycle free
2- Then, access is disabled...
I took out the htmlspecialchars() bit & the < > bit is fixed, now it's just the \r\n part.
By typing:
Test
Test
It displays:
<p>Test\r\n\r\nTest</p>
the DB:
<p>Test\r\n\r\nTest</p>
Still didn't work.
I typed this into the textarea:
text
text
it returned:
Text\r\nText
I check in the DB & it says:
I'm trying to add a <textarea> to a MySQL database.
The <textarea> has multiple lines, so I want to replace \r\n with <p></p>
Here's the <textarea> formatting script:
$entry =...
What's wrong with this script?
if(isset($_GET['cat'])) {
$query = mysql_query("SELECT * FROM nb_posts WHERE category='".$_GET['cat']."'");
} else if(isset($_GET['user'])) {
$query =...
It didn't show the image.
I'm making a comment system & I need to replace the end of a line in a <textarea> with <br />.
I've tried the nl2br(), but it didn't work, & I tried using a str_replace (the str_replace was...
Didn't work.
Here's some more info:
the filename is $id & the filetype will vary. I'm making a thing that uploads an image & is displayed.
How would I implement this?
I'm making a web-app for Conky that's like a Conky script database.
My problem is: I am putting in a preview image in the sidebar.
It will be named like: uploads/**script...
I have a DIV that has a PHP script inside it & I need to refresh that DIV every 5 or so seconds. How can I do this?
I didn't do anything, but now it works. I don't know why it wasn't before, but it is now. yay.
I have bought a domain name & some hosting. I've got the nameservers set up correctly & I've waited the 2 days needed for everything to sort itself out. The problem is: When I try to load the page, I...
How would I do that?
I can set cookies using:
document.cookie = 'flag'+divid+'=true; expires=; path=/';
However, I don't know how to delete cookies or how to read all the "flagxx" cookies...
It's kinda hard to explain it, but I'll try my best.
The PHP while continually loops until all the relevant data has been collected from a MySQL database. Each time it loops, it creates a DIV:
...
I am making a web-app that has flagging in it. I've got that working, however, it doesn't maintain through a refresh (which happens every 20 seconds or so). How do I make it maintain through a...
Sorry for double post, but here's a stripped-down version of my webpage:
<html>
<head>
<script type="text/javascript">
function flag(id,btn) {
var divid = id;
var abtn = btn;
I've found a way that instead of displaying a month from a certain date, it shows the last day of the month instead. This suits my needs fine.