15,694 Topics
![]() | |
hello, <?php $q=$_GET['q']; //echo $q; $con=mysqli_connect("localhost","root","",$q); if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $abc=mysqli_query($con,"use $q") or die('cannot show tables'); $result=mysqli_query($con,"show tables"); echo "<select id='abc'>"; while($row= mysqli_fetch_array($result)) { echo "<option value='". $row[0]. "'/>" . $row[0] . "</option>"; } echo "</select>"; ?> i want to response … ![]() | |
All, I'm wondering if their is a way to use the CSS clip to place my image propational within another image. In this case - I am giving users the ability to upload their own image: As an example - this URL shows the uploaded image: http://www.pinkcloud.com/custom_clock/submit.php?upload_message=image uploaded&upload_message_type=success&show_image=kmo_mikeg.jpg Here are … | |
I have a scroll function that I want to fire when the user scrolls to the very bottom of the page. However it is doing the exact opposite; it is firing at the top of the page. I have used this before, and everything on the web says to do … | |
Using AJAX is better then iFrames because things are dynamic, instead of making a call to the server to load an entire HTML page, you can do it dynamically, one question remains. Can I style the look of, and this ties into another thread I started, scroll bars etc ? … | |
hi. i just want to know if that is possible. for example there are 5 blank textboxes with no specific id or class: <input type="text"> <input type="text"> <input type="text"> <input type="text"> <input type="text"> is there a way to loop through the textboxes and find the first blank textbox? say the … | |
Good Day Daniweb, I am encountering a problem in php code meant to allow the user to update their profile picture. I am using jquery.min and jquery.js. The code below runs with no errors reported. The file has been successfully uploaded to upload path using this form. upload.php <form id="imageform" … | |
Hello, Currently on my site the jquery masonry is loading quite oddly, it loads all the images first then it sorts itself into position. i want it to load just like it does in pinterest.com. Please help. Regards, Tamea Jquery Code jQuery( function($) { // Scroll back to top function … | |
Hi, I have en stdClass object array that looks like this Array ( [10] => stdClass Object ( [inlast] => 2013-02-15 00:00:00 ... etc Where the first number (10) is the uniqe identifier for that row, and the array contains all the rows in the table. So my question is … | |
Hi, I have been creating a round robin. This is similar idea to speed dating except everyone has to talk to everyone. Whilst I have been able to create this, there is a lot of repetition in my code and I wondering if any of you have recommendations for removing … | |
Hello, using for each of jquery am fetching td's name but if try to test it by removing name from firbug and try to submit it then my code is breking. so first question, what should anyone do in such case? and another regarding my code is: $('#SkillDetails_table tr').each(function() { … | |
I am trying to learn how to use jQuery and I stumbled upon this code and the requirements below: * disable all the cells from "Every Monday" till "Every Sunday" as the initial status; * make "Never" exclusive from all the rest of options in the same row; * make … | |
Hello How can i add ID='xyz'in IMG tag <div class="main-banner"> <img width="1000" height="242" alt="cropped-Penguins.png" class="attachment-full" src="http://../cropped-Penguins.png"> </div> JQuery which i have tried jQuery('.main-banner').append("img").attr('id','xyz'); But Not Work. Give me suggestion Thank you | |
[CODE]<div id="wrapper"> <div id="header"> <p>This is the Header</p> </div> <div id="navigation"> <p>This is the Navigation</p> <a href="#">Home</a> <a href="#">About</a> <a href="#">Contact</a> </div> <div id="content"> <p>This is the main content</p> </div> <div id="footer"> <p>This is the Footer</p> </div> </div>[/CODE] This is my HTML code. I have menus in navigation div. Content … ![]() | |
Hello, I have been trying to move this box, but so far all common ways of moving the javascript box (whitespaces, CSS) have not worked. I have tried searching the web, amongst other things, and so far nothing has worked. Here is the code: <html> <head> <title></title> <style type="text/css"> #AgodaSearchBox{ … | |
I am working on custom form builder for one of my clients where we have functionality like drag fields , resize, apply css like borders and align fields using jquery. i am done with dragging,resizing and css but one of the major requirement is to apply "google drawing red rule … | |
Im trying to dynamically add fields when add button is being press.. my code here works perfectly but.. what I want is when I click any of my fields it must add instantly and dynamically .. here:: $(document).ready(function() { var max_fields = 10; //maximum input boxes allowed var wrapper = … | |
Hello there Good day to each and everyone of us here. i have a problem displaying the image i have uploaded in the root directory folder. This is my codes in uploading image. I am using jquery.min.js and jquery.form.js. $path = "uploads/"; $valid_formats = array("jpg", "png", "gif", "bmp","jpeg"); if(isset($_POST) and … | |
New version of Moony Parser is out (2.4) It is an Earley parser implementation and accepts Structured-BNF as grammar input. You can try it online at: [http://parser.moonyweb.com](http://parser.moonyweb.com) | |
Hi all First of all I wana tell about my self,, im not a good coder you can say im newbie. I have a problem with jQuery autocomplete. I want to dispaly images in autocomplete. Image path save in DB and physically every image is in different folder. I have … | |
What I want to do is to show an email sign-up pop up when a link is clicked. This is how I am referencing to the external sumome.php file, which contains the js function: <script type="text/javascript" src="http://www.barcabyfans.com/wp-content/themes/hueman/sumome.js"></script> This is what I am writing for the link: <p>Get more awesomeness <a … | |
hello how could i insert or use jquery functions in my netbeans project..?? | |
This jQuery code works, but when translated to the actual page, it's jerky ? [[Link](http://jsfiddle.net/uL8z4p1h/2/)] | |
Hello, I am trying to create a gallery like in this website: [Web Sites](http://themes.webinane.com/dastak/index.html) When you hover mouse over the gallery certain notes appears on top of the images. How to create such thing through jquery? | |
I'm fighting with jquery flexigrid - below is my format. I can get the flexigrid to load thousands of lines if I load them all into a single page, however I want to split out pages inside my json response. According to the documentation I believe my format is correct … | |
Hi guys, thanks in advance for any help. I'm using this tutorial [Click Here](https://www.youtube.com/playlist?list=PL7C25B2F18F68F3EF) To make a multi-file upload. the actual upload works just fine, however the % progress and final file list of uploaded files that is supposed to show at the end is not working. Here is the … | |
Hi guys, i am currently stuck at live update the data fetched from mysql. The problem now is, if the table has thousand of data, the webpage will hang/lag because of the setInterval() are fetching the data over and over again. My question is, what is the best solution for … | |
I am using PhoneGap Build to build an iOS v7.1+ application and using [weinre][1] to debug. I am using the media-capture plugin and file API to capture a video in an attempt get its base64 representation. I can get the video recorder to open, take a video, and return the … | |
Hi everyone, For a social system I am working on, I am in desperate need of being pointed in the right direction for how to create a live ajax feed which calls data from a database. Urgently needed, any help much appreciated! Cheers! Jack(Scaasiboi) | |
Hi, I am trying to dynamically generate horizontal bars for my project. I would want to make these bars draggable, but I am not able to do so. Could you please tell me how this can be done using javascript/jquery. The code written so far is as follows: <!DOCTYPE html> … | |
I tired installing this code on alpenami.michiganhotelsguide.com , but to no avail. The company said that I needed to message them in order to activate tracking. I sent them it, and it is still not working, at which point I assumed it was a problem with the code. Any thoughts? … |
The End.