52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for amith_ami

hi all, pls help... this is my code from where i can select multiple values and post... but it is not displaying the selected values in multiple dropdownlist... how can i solve this???? <?php $loc_con1 = array(1=>'ALL','Andaman and Nicobar Islands','Andhra Pradesh', 'Arunachal Pradesh','Assam', 'Bihar','Chandigarh','Chhattisgarh','Dadra and Nagar Haveli','Daman and Diu','Delhi','Goa','Gujarat','Himachal Pradesh','Jammu …

Web Development display php
Member Avatar for rayearth_1
0
10K
Member Avatar for Aeonix

Link is: `/example.php?id=1`, no space after `1`. if (isset($_GET["id"])) { $id = $_GET["id"]; echo !is_int($_GET["id"]); // yields "1" (true) !!! } Ask me whatever you need. I check to make sure that my system didn't go crazy `!is_int(1)` yields false. So... I don't know... Maybe `$_GET` passes `"1"` instead of …

Web Development php
Member Avatar for cereal
0
275
Member Avatar for mattyd

I am currently working on using Javascript arrays to swap images for rollover buttons. This was working perfectly for one build about a week ago. That is, I am working on something else now and tried to use the same code that worked for this - it's broken now; -A …

Web Development javascript
Member Avatar for mattyd
0
303
Member Avatar for jayhall

Hi All, i am use the follwing code work fine, how can i make id for each row in table or div id so only row show which i req. [CODE]<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> <script type="text/javascript"> $(function() { $('#toggle3').click(function() { $('.toggle3').toggle('slow'); return false; }); }); </script> </head> <body> 1313 </body> </html> …

Web Development javascript javascript-jquery
Member Avatar for Quique_1
0
15K
Member Avatar for James_43

Hi All, Relatively new to JS, but something strange is happening. I have one function: var commentContent = $('textarea.comment-box#comment'); commentContent.keydown(function(e){ if((e.keyCode || e.which) == 13 && !e.shiftKey && commentContent.is(":focus")) { e.preventDefault(); commentForm.submit(); } }); Which works absolutely fine. If the object is focused and I press Enter, the submit function …

Web Development javascript json
Member Avatar for hielo
0
226
Member Avatar for rajilakshmi

Hi, I am developing a web application using JSP, servlet in ubuntu. I want to convert a JSP page into PDF. I dont want to store the PDF file in my local drive. Just convert into PDF and view Dynamically while i click a Button. ## For Example, ## In …

Web Development java java-jsp pdf
Member Avatar for shabeer_1
0
5K
Member Avatar for Aeonix

Connection is successful. No typo's were made (look below). If read it from top to bottom, some of the tests that I show you will seem stupid. Until you look at the end (still keep reading from top to bottom) and find out that it's one of the indicators. SQL …

Web Development php sql
Member Avatar for makaijohn9
0
442
Member Avatar for garyrichard

Hello Everybody.. Can you suggest me PHP code to check whether a domain is available or not... Thanks in Advance

Web Development php
Member Avatar for Thirumani_1
0
2K
Member Avatar for Siberian

I've been looking for an answer on this problem, from what I know you cannot embed, whether that is using for example <object> a SVG file and style that SVG file externally, whether that is a external or embedded CSS file if there is a method that I'm unaware of …

Web Development html-css
Member Avatar for Siberian
0
175
Member Avatar for oliprik

Hello Dani web. This is my first post here so please bear with me if its not 100% correctly setup. Anyways I'm a rookie to php and mysql and I've run into problem with my final project in my first php class. The error given is: "Warning: mysql_num_rows() expects parameter …

Web Development html-css mysql php
Member Avatar for diafol
0
3K
Member Avatar for joshmac

Hello, everyone. I need help with something, and I am hoping that someone could point me in the right direction. Since I am not sure what the technique is called, I will try to explain what I need to the best of my ability. I am trying to create a …

Web Development javascript php
Member Avatar for joshmac
0
895
Member Avatar for CreatorZeus

Probably just overlooking something small but its 5:30 am here so please forgive me. $sql = "SELECT * FROM accounts WHERE username = $testuser"; $result = mysqli_query($conn, $sql); if (!$result || mysqli_num_rows($result) > 0) { // output data of each row while($row = mysqli_fetch_assoc($result)) { echo "id: " . $row["id"]. …

Web Development mysql php sql
Member Avatar for radow
0
174
Member Avatar for FarrisFahad

I am having problems installing PayPal IPN. It returns INVALID every time I process it. Is there something wrong with my code Code: <?php $db_host = 'localhost'; $db_user = ''; $db_password = ''; $db_database = ''; // Connect and select database $connect = mysql_connect($db_host, $db_user, $db_password); $select_db = mysql_select_db($db_database); // …

Web Development php
Member Avatar for FarrisFahad
0
614
Member Avatar for J._1

Im using the youtube api to search for videos. The information gets displayed perfectly on the page similiar to the youtube page layout. I have a function that when each div is clicked it will create an iframe fixed to the top of the page playing the video that was …

Web Development api javascript javascript-jquery
Member Avatar for J._1
0
336
Member Avatar for andreiviziru

I tried loading a swf through <mx:SWFLoader source="game.swf" /> (The game.swf is a flash free game if this helps) But it displayed blank, white screen. Why?

Web Development flash
Member Avatar for andreiviziru
0
379
Member Avatar for Abhishek_26

> i have bind 10 random post form json file in to marquee but the problem is arising , its show like list and showing as marquee works kindly check the code and the output , do some suggestion what to do . Thanks in advance <html> <head> <meta charset="UTF-8"> …

Web Development file-system json php sql
0
278
Member Avatar for baig772

I have a string like `string(8234) "<style>.{ margin-bottom:10px; float:left; display: inline-block; width:56%; text-align:left; padding-right:20px; padding-left:20px; } . > p { display: table-cell; height: 150px; vertical-align: middle; }..................</style>.................` I want to remove `<style>` tag and all its contents. I have tried $description = $product_info['description']; // the string with style tag $text …

Web Development php
Member Avatar for cereal
0
2K
Member Avatar for rpv_sen

Hi i am working on contact form using SMTP. I am unable to send a mail. Please help me to fix the issue. **index.html** <div id="frmContact" class="w-form"> <div id="mail-status"></div> <!-- <form action="contact.php" method="post">--> <label for="name">Name:</label> <input class="w-input" type="text" placeholder="Enter your name" id="cf_name" name="cf_name"> <label for="email"><p class="info">*</p>Email Address: <span id="cf_email-info" class="info"></span></label> …

Web Development javascript-jquery php
Member Avatar for cereal
0
832
Member Avatar for showman13

Good Morning, Hopefully there is someone around this morning that can give me a quick and easy answer. Is there a relatively simple way to prevent a page from reprocessing data when someone hits the 'Refresh' button? I don't want to disable the refresh, but just prevent reprocessing and creating …

Web Development email php
Member Avatar for showman13
0
231
Member Avatar for Joy_3

Hi Guys, I am trying to make a webpage using asp.net and SQL server 2008. Just a simple page through which data will be inserted to the database. But I noticed it is taking duplicate records as wel. So I used "Unique" constraint while the respective table and it is …

Web Development asp.net sql
Member Avatar for Joy_3
0
293
Member Avatar for Aeonix

This is element that I'm trying to achieve: http://i.imgur.com/9XmGXkt.png This is "template" of what I have to work with: https://jsfiddle.net/hcgpyutj/ I tried floating, staticing, absoluting, relativizing, tables, transform. I changed file about 10 times and of each situation something went wrong one way or another. I cannot use flexbox. I …

Web Development
Member Avatar for diafol
0
195
Member Avatar for gayaneducation

I need jsp function for search data(text) inside a html table. not a my sql table. ex: inside a table "<table><tr><td>some text here</td></tr></table>" i have several text. i need jsp function to search one of the text and highlight it with the position where the word is. or can u …

Web Development html-css javascript seo
Member Avatar for Ardit_1
0
851
Member Avatar for RudyM

Hi All, I tried reading through this: https://www.owasp.org/index.php/Password_Storage_Cheat_Sheet . But I'd like to know if the following scenario is considered good practice for a simple login/registration system. The userlist table: create table simp ( USR VARCHAR (128), PWD varchar (512), SALT VARCHAR(512) ) I created a stored procedure to execute …

Web Development php
Member Avatar for RudyM
0
238
Member Avatar for toxicandy

My problem currently is that I am trying to call a function with jquery at a specific event but it is running at the wrong event. The function I want to call is: function resolvedAjax(tid){ $.ajax({type: 'post',url: 'resolveTicket.php',data: 'tid=' +tid, success: function(s){ $('#resolvedTicket').html("Resolved"); mainTable(); }}); } I am trying to …

Member Avatar for toxicandy
0
372
Member Avatar for hrushi9

Function stored in database is not executing. I have following code for output $q = mysql_query("SELECT * FROM pages WHERE page_id='$id'"); $r = mysql_fetch_object($q); //print the pages content echo "<h1>$r->page_title</h2>"; echo $r->page_content; **page_title** & **page_content** are database column **page_content** column have following data slider(); // it may be text or …

Web Development php
Member Avatar for hrushi9
0
448
Member Avatar for malatamil

?mr1=60,60,60,60,60&mr2=90,90,9&0,90,90&mr3=30,30,30,30,30 from the URL it should remove & ifit is there inbetween numbers(ie 90,90**,9&0**,90,90) and ignore this & if it is there like(60,60,60,60,60**&mr2** ). if **after &** mr2 or mr1 or mr3 then it should take the param value ,if it is inbetween should **remove &** only how to use …

Web Development php
Member Avatar for diafol
0
147
Member Avatar for pezzinae

Hello everyone please i need your opinion about a creation of a dashboard that can be seen on a webapplication i´ve trying with the controls of DEVEXPRESS but without success, if anyone knows a better way to achieve this kind of task please let me know another thing......all controls it …

Web Development asp
Member Avatar for pezzinae
0
191
Member Avatar for Violet_82

Hi guys, I have a form which contains a file upload input field. When I select a file, mainly text files, the actual content of the file is displayed in a textarea field. Now, what I need to do, is to send that information - the data contained in the …

Web Development javascript javascript-jquery
Member Avatar for Violet_82
0
273
Member Avatar for cokerz_written

i have error like this : DataTables warning (table id = 'datatables'): Cannot reinitialise DataTable. To retrieve the DataTables object for this table, please pass either no arguments to the dataTable() function, or set bRetrieve to true. Alternatively, to destory the old table and create a new one, set bDestroy …

Member Avatar for Febby
0
1K
Member Avatar for masimies

Hi, Trying to replace jquery-modules, because i need only datepicker, not any additional stuff. Found a light Pikaday datepicker, working just fine as common, but after hours of searching and reading articles, it seems that nobody has not found a good solution to fix date format issue of it, or …

Web Development javascript php
Member Avatar for masimies
0
472
Member Avatar for thatsnotmyname

in my database I have table called memory and it have images , description and title I want to display the image like how online shop display their products (eg: http://www.houseoffraser.co.uk/Women%27s+Tops/310,default,sc.html) I was thinking of using grid or table but I don't know which is better I also want to …

Web Development mysql php
Member Avatar for diafol
0
571
Member Avatar for glao

I wrote this function : function range(start,stop,step) { var array =[]; for ( var i = start; i <= stop; i += step ){ array.push(i); } return array; } var m = range(1,10); console.log("length = " + m.length); And it returns one. Since, range returns an array , should't it …

Web Development javascript
Member Avatar for glao
0
132
Member Avatar for AntonyRayan

Hi, I need your help to zoom a place when click a marker in Leaflet. I used this code from http://leafletjs.com/reference.html#control-zoom map.on('click', function(e) { alert(e.latlng); }); this click event not working

0
158
Member Avatar for garyrichard

I want to create a page like http://uhbvn.org.in/web/portal/faqs With Expand and Collapse all link Along with functionality of Individual Slide Toggle Feature I already worked like http://yamunanagar.nic.in/g/FAQs.asp But in this i have to create separate function for each toggle question Thanks in advance

Web Development
Member Avatar for garyrichard
0
284
Member Avatar for ravoras

Hey Guys, So using a webform textarea I am passing some data into PHP. This data is basically 4 columns of an excel sheet and potentially unlimited rows. Now I want to be able to go through this data, select each of the four individual elements from each row, insert …

Web Development microsoft-office mysql php
Member Avatar for skradoslav
0
4K
Member Avatar for CreatorZeus

im starting to play with html5's new media stuff but i can't quiet figure out how to send a songs info to play in a iframe. any hints?

Web Development html-css javascript php
0
167
Member Avatar for Stefce

I want to make dynamic search button i have this code but doesnt work it gives me this error `Could not connect to database. Fatal error: Wrong SQL: SELECT * FROM kladilnica WHERE Location = Macedonia AND Uplata = 50 AND Liked = 50 Error: Unknown column 'Macedonia' in 'where …

Web Development mysql php sql
Member Avatar for hericles
0
274
Member Avatar for thatsnotmyname

my web application is really simple there are two buttons one called "save" and the other called "show my images" basically the user can save images from facebook API and store them in the server folder called "backup" (to back up their images on the server so if they deleted …

Web Development javascript mysql php
Member Avatar for broj1
0
226
Member Avatar for jonsan32

I've got a new navigation layout I'm trying to implement at this url: http://www.50allstars.com/2016/05/grid-menu.html?m=1 It's not all done yet, but in my tests I've found this page to not work on an old un-unpdatable ipad of mine. I figure since not all people are internet-savvy, I'd best think of the …

Web Development ipad javascript
Member Avatar for broj1
0
169
Member Avatar for tqmd1

Sir I have following codes to create table <?php function create_table(){ $query = "CREATE TABLE IF NOT EXISTS country ( id INT(6) not null AUTO_INCREMENT PRIMARY KEY, name VARCHAR(30) NOT NULL, reg_date TIMESTAMP)"; $host = "localhost"; $db = "mysql"; $user = "root"; $pass = ""; $conn = mysqli_connect($host, $db,$user, $pass) …

Web Development javascript-jquery php
Member Avatar for Stefce
0
401
Member Avatar for FarrisFahad

So I am using jQuery waypoint to get the image id that is viewed on the screen. But I am having problem with content added by AJAX. When I get to the newly added content by AJAX the plugin doesn't work. Here is my code so far: Waypoint = $('.Picture-1A').waypoint(function(direction){ …

Web Development javascript javascript-jquery
Member Avatar for FarrisFahad
0
983
Member Avatar for LONGWAY

I have a problem with the CSS for the logo. I want my logo to be in the middle horizontaly every time but my logo isnt aligned with the centered image in the backgroundand, the logo isnt right in the middle of the browser .With my css code the logo …

Web Development html-css
Member Avatar for LONGWAY
0
419
Member Avatar for Aeonix

CSS file: http://pastebin.com/tBvGjhTX HTML file: http://pastebin.com/r5YUTHgp I have a div with following rules: { width: 75%; margin: 5% auto; } Obviously works everywhere except Microsoft Internet Explorer 0.5 to Edge. While in every normal browser, box takes 75% of width and is centered horizontally. But Microsoft be like "screw that", …

Web Development html-css
Member Avatar for gentlemedia
0
353
Member Avatar for Learner010

first off, i've never been to web development. I'm developing my personal website where, for some purpose , i need to display some math figures. And somebody suggested me to use mathjax for this purpose. i tried it on my own. it works. but i see some font-size related issues. …

Web Development cdn web-browser
Member Avatar for hericles
0
182
Member Avatar for Anand_6

I want to download "Bhavcopy.cvs" file form "bseindia.com" on everyday at 5 pm. automatically. So, I want php code that automatic download this file from "nse" website... Please help.. The URL goes as follows http://www.bseindia.com/download/BhavCopy/Equity/EQ140316_CSV.ZIP I want to build an automated function to automatically upload reports from a URL at …

Web Development file-system php
Member Avatar for hericles
0
538
Member Avatar for Violet_82

HI guys, I run into a problem. I have a input of type file and I'd like to grab the file name of the uploaded file and assign it to a variable, but I don't seem to be able to do that. I'm hiding hte input with opacity 0 and …

Member Avatar for Violet_82
0
321
Member Avatar for Learner010

I'm using mathjax in ckeditor and i want to print the fraction (uploaded here in the link [Click Here](http://tinypic.com/r/23k465g/9)).So,what command i have to write to print that fraction ? Here is what i'm trying : `$$7\(frac\({4}{3}\)\)$$` But it isn't working. So , please suggest me a solution

Web Development mathematics
Member Avatar for rproffitt
0
135
Member Avatar for dawbin

I'm trying to display an image on an HTML page using a PHP script in the image/src tag, but the image is broken. When I hard-code the output of getimage.php into the HTML it shows up just fine so I know the base64 encoding is correct. The page that shows …

Web Development image php
Member Avatar for Tpojka
0
1K
Member Avatar for Aeonix

<!-- example --> <html> <head></head> <body> /* Lots of contents, header, etc. <?php if (isset($_GET["id"])) { echo $anexample[$_GET["id"]]["test"]; } ?> </body> </html> There would be links that would say `example.php?id=1` and `id=5` and `id=9`. However I'd like page to rerender just that particular place. Nothing else in page will change. …

Web Development javascript-jquery php seo
Member Avatar for invisal
0
279
Member Avatar for shany0786

i have table category_master(cat_id(pk),category_name,active) and sub_category table with fields(sub_cat_id(pk),category_id,sub_category_name,active) now what i want is count number of active sub categories having value=1 if this count is 0 then update active=0 in category_master table i have been trying this but no go,can anyone help me in this? SELECT active,category_id, count( * …

Web Development mysql
0
110

The End.