Type: Posts; User:
For my latest project, I have 3 spans that use jquery .load to fetch data from a php page which counts the number rows meeting requirements, in turn telling user's if they have new notifications. All...
Never mind, I changed it to mysql_query instead of mysqli_query and it works. go figure
Hi, I'm trying to use a posted column name to output it's contents. It's hard for me to explain, so maybe the code below will speak better.
$field = $_POST['id']; // this is the column name...
Oh, I didn't know that. My bad, it was a varchar, I changed it to float and it works perfectly. I apologize for wasting your time my good sir.
How can I select the top 5 values from my mysql?
The following doesn't work. It doesn't work because if a user has a score of 98, and another user has 102, it shows the user with 98 above 102...
Hello! I have the following code that I just can't seem to get to work.
Here are the issue that aren't working:
1. The items that are stored in the users account aren't showing up as selected...
Hi! I want to make a function that will trigger another function 3 seconds after it is triggered.
...function is here...
Thanks! I modified your code to fit my needs and it works great.
Sorry to the others - the 'not working' was the last 4 lines in my code.
Hi! I have the following code, but it is just not working.
(I'm just showing the code snippets that I think are necessary, let me know if you need more)
$hata = "helmet1";
I have a php page that creates an image, and another that takes that image and adds a few more things. The problem is that the second doesn't like the .php file extension, so I want to change...
Hello! I am using LiveValidator Prototype (LiveValidation.com), and it's working great, except for the fact that it doesn't have a feature to check if an item exists in a database, in this case, a...
Hello! I do not know much about sql injection, let alone how to prevent it.
I tried googling it, but ended up with super confusing and sometimes conflicting information, and I'm not even sure if...
Thank you for the advice :)
Hello! I would like a script that pops up another web page over the current when a link is clicked (I know that's going to use onClick). the problem is I want it to JUST be the page, no borders,...
Hello! I have a pagination script retrieving 6 rows per page, but the problem is that it's putting the rows straight up and down, on top of each other. My table is 563px tall, and 352px wide, and I...
Here's a script I found. I just cannot get it to work the way I wanted - could anybody help?
Place code to connect to your DB here.
include('config.php'); // include your...
Thanks, I'll check that out
Hello! I am creating a little relatively simple virtual catalog, but frankly, I'm a coding novice (quite obviously) and could not figure out how to configure a regular pagination for my needs.
Never mind - I figured it out
$ip = $_SERVER['REMOTE_ADDR'];
$sqlcontent = mysql_query("select * from usr_config");
I have a script that takes longer to load than the page, so I would like to have it say "Loading - please wait!" until the script has loaded. I don't want it to hide the entire page - just this one...
Hello! I would like to know how to retrieve MySQL data, and add one month to it.
The data is saved like this: August 4, 2010
$newdate = $vip[nextgift] + 1 month;
That is basically an...
It allows the options in group 2 that contain the value "2" & "4" to be visible, thus selectable.
here's the script I was given:
function allow(rb1, list)
var rb2 = rb1.form.group2;
for ( var r = 0; r < rb2.length; ++r )
rb = rb2[r];