- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
21 Posted Topics
Re: To update a single record, use mysql_query("UPDATE tablename SET enabled='$value' WHERE id='$id'"); $value will require a conditional statement to determine what its current state is and what you want to change it to, something like: if ($value == 1){ $value = 0; } else{ $value = 1; } To get … | |
I'm having trouble with cross-browser compatibilty with a jQuery click function. I want it to return the width of #bbox and have it play the animations based on what it returns. I have set the width of #bbox to 0px in my CSS as the starting state. THE PROBLEM: w … | |
![]() | Re: You can use AND statements in your if statement to sort out what yo |
Re: A little hard to follow. Are you asking whether you can post your own Alexa and Pagerank numbers on your site? If so, the answer is yes. If you're looking to actually generate more complex data from their services, you'd need to look into what's available through their APIs. | |
Re: I had some problems in the past with Bluehost's permissions. You might try playing around with those on the files/folder in question. | |
Re: Are you putting the result names into an array? To do this, use a while loop for your MySQL result, like this: while($row = mysqli_fetch_array($result)){ $name[] = $row['name']; } ![]() | |
Re: You might try looking into jQuery's .each() method, which allows you to loop through items in an array: [http://api.jquery.com/jQuery.each/](http://api.jquery.com/jQuery.each/) | |
Re: You could have the sub-menu in a hidden div, so that when you hover or click on the relevant main-menu item, you can ise jQuery's native fadeIn() to make the submenu appear. After you've defined the submenu location in your CSS, the jQuery would be something like this: $("#menuitem").hover( function(){ … | |
Re: Just echo it between your textarea tags: <textarea name='AdditionalTraining' rows=6 cols=30 readonly="enabled"> <?php echo $AdditionalTraining; ?> </textarea> | |
Re: There are a few popular jquery plugins that might help: http://code.google.com/p/jqueryrotate/ http://www.zachstronaut.com/posts/2009/08/07/jquery-animate-css-rotate-scale.html | |
Re: Embarrassing as it is to say, I always start with the for Dummies books. They give a decent roadmap for getting started. | |
Re: I'd use PHP session, and set a $_SESSION variable which would then get checked for at the beginning of each page they visit. This will work fine, as long as you're not needing to remember the username next time they visit (i.e. close their browser). If you do want to … | |
For some reason this ajax call sends data to the php file fine, and the MYSQL call works, but the php does not return anything to the ajax. I'm not sure if it's an issue with the ajax call or the php (I suspect the former). Could it have something … | |
Re: Not sure if this is what you are asking, but if you set the container div to a fixed width and height, it will prevent the images from moving around on resize. Also, be sure that your images and rollovers are the same size. If you're adding borders, padding, etc, … | |
Okay, enough's enough, I need some help. I've been trying to do a simple loop to fade three images in and out, one after another [ids are img1, img2, img3]. The code below only does the third image, and other things I've tried either do the same image three times, … | |
jQuery issue here. After calling some ajax, I'm having a problem getting a particular div to reload a php file. The only solution that I've come up with is to completely reload the page, but this is really undesirable, because this function is being used as part of a simple … | |
I'm having trouble making the following code work. I'm trying to change text in "columnleft" with the showMess function, when I hover on the paragraph with the class "title." The really frustrating part is that this code has worked elsewhere for me. What am I missing? [code] <!DOCTYPE html PUBLIC … | |
Hi there, I'm using php to try and take two separate arrays ($colors and $message), write them to a single multidimensional array ($endline), and then write the resulting md array into a csv. This works fine on my localhost, but for some reason it doesn't work through my web host. … | |
Re: This totally worked. This problem has been giving me grief for months, and I've had to use all sorts of lousy work-arounds. Thank you, thank you, thank you. | |
Hi, My computer has been running really weirdly lately. When I start up or reboot, it permanently slows to a crawl (and sometimes freezes). It seems like it just isn't loading properly. there are several things you should know: 1. I've run Adaware/Spybot/SymantecAV and none of these have detected anything. … | |
Alright, I need some suggestions. I've recently upgraded my mobo to an ASUS A8V Deluxe, and Processor to an Athlon 64 3000+. I've had a Radeon 9800 PRO for awhile and the older system ran games without any problems until now. Additional relevant specs: 450W PSU (just upgraded) 512 Megs … |
The End.