52,566 Archived Topics
Remove Filter ![]() | |
Hi, I trying to user 3 AND operators in one Select Statement. It's not working. Is this even posable. If not, any suggestions? Here is the code: $query_Recordset1 = "SELECT * FROM user JOIN message WHERE message.user2 = '$user2' AND message.user_id = '$user2' AND email = '$email'"; Thanks! | |
jebkharcha.net84.net/smart/index.php please tell security flaw in this site Web Development php | |
hello, our site have 1000 users.here i have to give unique numbers from '000' to '999' to each user. now i am adding from starting '000'. how can i give unique numbers to users when adding and updating users? Thanks ![]() | |
Hello everyone! I am a student and I am currently working for online voting system for my school. I am having a hard time how to prevent users/students from multiple votes. Could please give me some example that users can only vote once using their ID number? I have a … | |
I have a special problem over in terms of sorting out those words like a keyboard type. For example: the user inputs these words into the textarea HOUSE DOLL KITE NICE Then, the result should be DOLL HOUSE KITE NICE this is sorted out according to the qwerty order. <?php … Web Development php | |
I am trying to run the code that was run on Jboss already from the command line. Now i want to make it as a Tomcat project running from the IDE. Don't know how to deploy the WAR file and EAR file to get it run.. .. To code compile … | |
Hello i am currently picking up jsp to extend my knowledge of web languages. I am currently trying to connect to a database but i keep getting a weird error on the index page where i verify conditions for the authentication.jsp page. Parts of Code Below: index.jsp <div id="sidebar"> <% … | |
Hi . i am a final year computer science engineering student , Recently i have learned Java Servlets , JSP and Struts 2 framework . I am looking for help regarding my major project . I am in dark what (which application) i should develop for my major project using … Web Development engineering java java-jsp | |
my website page url is mysite/use.php?v=123(it is dummy entry basically it come from another page) i want to convert my url into mysite.use-123.html. i got a code for this purpose from http://roshanbh.com.np/2008/03/url-rewriting-examples-htaccess.html but problem is that when i paste below code in .htaccess it is not working Options +FollowSymlinks RewriteEngine … Web Development php | |
i have this code in main.jsp <html> <head> <link rel="stylesheet" href="/bipi/css/bp.css" type="text/css" media="screen"/> </head> <body> <div class="navigator"> <a id="currenttab" href="/WEB-INF/jsp/main.jsp">Add</a> <a href="/bipi/display.jsp">Delete</a> <a id="currenttab" href="/WEB-INF/jsp/main.jsp">Main</a> </div> <%--<% String fname = request.getParameter("f_name"); String fage = request.getParameter("f_age"); if (fname != null && fage != null ) { com.test.gerrard.Insert(fname, fage); } %>--%> <form … | |
**downloading file form specifice site using php+curl** Hi ervery one this is my question is here i hope you will help me I am trying to download file form this site http://www.emobilez.com/apps/app-samsung-i8520-beam-381-tawkon-2.0.1.9-115963.htm and my link is that file i want to download ` http://www.emobilez.com/apps/download.php?image_id=115963` using this tutorial http://www.daniweb.com/web-development/php/threads/78356/creating-cookies-using-curl-php but no … Web Development php | |
Hi! I have the following table: <table width="63%" border="0" align="right" cellpadding="0" cellspacing="0" class="findUsResults"> <tr> <th align="left">Company</th> <th align="left">Location</th> <th align="left">Products offered</th> <th align="left">Distance</th> </tr> <tr> <td rel='1'>Company Ltd</td> <td>Town</td> <td><a href="/stockists/ajax.php?id=3" class="various fancybox.ajax">Click to view</a></td> <td>0.9 mil</td> </tr> <tr> <td rel='2'>Company Ltd</td> <td>Town</td> <td><a href="/stockists/ajax.php?id=5" class="various fancybox.ajax">Click to view</a></td> <td>11.56 … Web Development javascript javascript-jquery | |
Hi, This is a problem googled easily, but no solution helped me. Locally I am trying to open a PowerPoint application to read and import a ppt (or pptx) file. this is the command where exception is thrown (ASP.NET VB): [CODE] objApplication = New Microsoft.Office.Interop.PowerPoint.Application [/CODE] the exception text is … Web Development asp.net microsoft microsoft-office office-suite | |
I'm curious - if a production web page is removed for whatever reason, I've read that a permanent redirect should be used for SEO continuity. So, if I'm using ASP for my server side code, what is the best option: 1) Keep the actual ASP page there, and just add … | |
Hello people, First of all, sorry if this is the wrong forum to post in. I've got what i think is a rather specific question, related to web-development. about six months ago, i spend a few months developing an internal application for my internship, about 1 week before i left, … Web Development | |
I am working on an asp,c# .net project for college. and it all works fine but the method are severly misplaced. For example the page which should load a test contains the test checking and evaluating. I think it should b on a class of its own but I don;t … Web Development | |
Hello Users, I have been learning the Prepared Statements in Java which is a newer and better way of entering details into the Database. Have been getting problems with the insertion: NullPointerException and still don't know where I am going wrong. Please Assist me in Solving the Issue. Code Below: … | |
Hi there, Can anyone explain what is wrong with my code? I get an error message saying null value from innerHTML. <script type="text/javascript"> var sub1 = document.getElementById("input1") ; var sub2 = document.getElementById("input2") ; var sub3 = document.getElementById("input3") ; var sub4 = document.getElementById("input4") ; var GPA = (sub1+sub2+sub3+sub4)/4; var para = … Web Development html-css javascript | |
hey..how can i add a time picker in php/html??? where in i can edit or adjust the hour and minutes?? and when i already adjust the time, the succeeding text boxes will automatic increment the minutes by one. i need this urgent for my project. thanks Web Development php | |
Hi, Based on what learned from my readings on web and forums, I'll go for DOM with DOMDocument. "SAX is better for memory efficiency but a bit complex and chalenging." "DOM is uses loads whole xml into memory but easier and widely prefered and used." The question is, based on … Web Development php | |
Hi all, I want to create a login page modal window. Steps are as follows : 1. There will be a login icon(small image). 2. On clicking the icon , a modal window will open having three options (i) Distributor login (ii)Client login. (iii) Employee login .If Distributor login is … Web Development html-css javascript | |
I am using PHP to output an HTML table but when it does the pictures refuses to display. The php array $members['smallimg'] linkts to the .jpg file for example [url]http://www.powerme.edu/me/images/faculty/70_70/gkumar_2012.jpg[/url] // If there is at least 1 member listed as Faculty, then we are going to get the header and … Web Development php | |
Hi, i'm working on page, where I need to add contact-form. I've used code from NiceAndSimpleForm, i mean [code=php] <?php $EmailFrom = "blablabla"; $EmailTo = "blablabla"; $Subject = "blablabla"; $Name = Trim(stripslashes($_POST['Name'])); $City = Trim(stripslashes($_POST['City'])); $Email = Trim(stripslashes($_POST['Email'])); $Message = Trim(stripslashes($_POST['Message'])); // prepare email body text $Body = ""; $Body … Web Development php | |
Hi I am having trouble with this code: <? $host="mysql6.000webhost.com"; // Host name $username="removed"; // Mysql username $password="removed"; // Mysql password $db_name="removed"; // Database name $tbl_name="direct"; // Table name // Connect to server and select database. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("Error. MySQL Not Responding."); $SQL = "SELECT * … | |
Hi, I have used the following code to load data from a php page using AJAX with JQuery.The script running well in all browsers except Firefox. The script I used is as follows. test_ajax.php <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title></head> <body> <script type="text/javascript" src="jquery-1.3.1.min.js"></script> <script type="text/javascript"> function … Web Development javascript-jquery php | |
Hi I know that multiple checkbox values has been discussed earlier but I have't got any wiser starring at them. This is how I want the database entries to look like: id ... drillID ...kommentar ==================== 1559...1...........NULL ------------------------------- 1559...2...........NULL ------------------------------- 1559...3...........NULL With the code below I can print out both … Web Development php ![]() | |
Hi! I have a dynamic checkbox group to chose drills for golf players. When finished there might be 100 or so drills to select from and every player might have 20 drills selected. The code below works fine but prints a long vertical list of ckeckboxes straight down. Is it … Web Development php ![]() | |
Hey I created this application, where a user needs to enter a code (which he has bought from me, offline), after filling up the form, he is redirected to a form. The form checks the mysql database where a coloumn "barcode" has been where all the codes already inserted, if … Web Development php | |
Hi, I'm currently working on a site's HTML code and am wondering how can I achieve this: I need to make certain images change, in a form of a slideshow, randomly and with random intervals; this means I will need it to start with a certain image and to go … Web Development html-amp html-css http-protocol image javascript javascript-jquery | |
Hello everyone, I've been out of college for a little over a year now with my degree in web development (or so it says at least on my degree) My school wasn't the best at training me and i've spent the better half of this year trying to teach myself … Web Development javascript-jquery vbscript | |
I saw many website user page is like www.xyz.com/hhh From these complete information can be retrive of "hhh" user. I want to know that how www.xyz.com?username=hhh can be convert to www.xyz/hhh Any help Web Development php | |
Hi, Code below doesn't work for a file contains HTML content? How do we solve this issue? Result must be *<span* but it dispays blank screen. Thanks in advance **Content of index.txt** <span class="mw-headline" id="Zero"><a href="/wiki/Zero" title="Zero">Zero</a></span></h2> **PHP to read the file** <?php $handler = fopen('index.txt','r'); while ($line = fgets($handler)) … | |
Hi, I am having the C application which I want to access a remote Java Web Service; I have looked for open source SOAP libraries for C and found [CSOAP](http://csoap.sourceforge.net/). However, I am having the following questions/problems with it: 1) Is it possible to access Java Web Services using CSOAP? … Web Development api java open-source xml | |
Hi, FYI. I have very very little knowledge of PHP & MYSQL. i am trying to create a simple webform with insert statement what i am trying to do is that, when i enter a new data into this form this will show the message "1 record is added" and … Web Development php | |
i want to create multilanguage web application......having labels and text boxes and having the button for different language...i any button is press the whole application can be converted in to language respect to that button..............How can in implement the Google dictionary to implement this thing...................plzzzzzzzzzzzz give me suggestion for that.................................. | |
![]() | Hi, I'm trying to learn how to create an upload file form. I'm stuck on a couple of things. This is something I learn in the past but I forgot how to create one, so it's new to me now. I got the script from http://www.w3schools.com/php/php_file_upload.asp 1) I want to … Web Development file-system php ![]() |
Hello, I read an article on "how to prevent users from submitting a form twice." at the url http://www.4guysfromrolla.com/webtech/100406-1.shtml I was able to freeze the web page but was not able to unfreeze the web page. I am using PHP with javascript. Nothing happens when my code executes the "unfreeze" … Web Development html-css javascript | |
From this [article](http://www.daniweb.com/web-development/asp/threads/42314/exporting-asp-pages-to-excel) i found this code snippet that imports html data to excel: <% Response.ContentType = "application/vnd.ms-excel" Response.AddHeader "Content-Disposition", "filename=excelfile.xls" %> <table> <tr> <td>Category Name</td> <td>Category Description</td> </tr> <tr> <td>Software</td> <td>Holds data for software</td> </tr> <tr> <td>Hardware</td> <td>Hardware related data</td> </tr> </table> However, what i want to do is … Web Development asp html-css microsoft-office | |
Hey, I've been trying to generate a pdf file using html2pdf library (http://html2pdf.fr/en/example). What I need to do is to print a table with PHP in that pdf file, so I stored the table in a variable called $contain with all html tags. My code goes this way: 1) It … | |
Hi, I want to have my Short Register Form's content go to the main registration page. So like I type some information into a short register form like username and email but when I click the submit button I get transfered to another page which already has the information entered … Web Development javascript-jquery php session | |
Hello, I am a total noob to web development and am running into some problems. I am trying to search for a specific string, or records that contain a union of strings in a SQL Sever CE database using WebMatrix, and display the results. Ideally, I would like to have … Web Development asp.net | |
Hello Friends. It has been a long time since i posted my codes in the DaniWeb Forum. I have a problem which is really preventing me from moving ahead in the Project. My project requires me to develop a small quiz application with a registration functionality. The registration functionality requires … | |
Hey all, Am working with anothers script on a Wordpress plugin. There is a menu added to one page in the admin area of the plugin using this: <div class="menu-cat"> <h2>select category</h2> <div class='submenu' > <a href="<?= $curaddress ?>" >home</a> </div> <? foreach($cat as $n=>$c): echo " <h3>{$c['info']->name}</h3> "; foreach … | |
I am trying to use bad words filter but I want to load the bad words from a txt file on my server but some how failed to do so.here is my bad words filter code function badWordFilter(&$text, $replace) { $patterns = array( '/butt/i', '/poop/i', '/crap/i' ); $replaces = array( … Web Development php ![]() | |
I wanted to save this array: $words = array ("close","fed","house"); into : $words_assoc = array (21=>"close",13=>"fed",15=>"house"); Web Development php ![]() | |
My Table create is giving me problems. i probably missed something small but i cant find it. $dbase = $_COOKIE['ID'] . "char"; // Create table mysql_select_db($dbase, $con); $sql = "CREATE TABLE games ( gameID int NOT NULL AUTO_INCREMENT, PRIMARY KEY(gameID), gameName varchar(25), intro TEXT, bground TEXT, cast ENUM( '0', '0', … | |
Hi I am trying to add a small piece of code to a script to validate two user inputs. 1. Whether a minimum bid is less that 20 - if so show an error; and 2. Check that the maximum bid is higher than the minimum bid - if not … Web Development php | |
Ok I have a promblem. Im getting a unidentified variable error from **$found:** Whats wrong here? while($row = mysql_fetch_array($result)) { **$found** = true; echo "Character/Alias: " . $row["CharName"] . "<br>Created: " . $row["CharBorn"] . "<br>Game: "; if ($row["CharGame"] == '0') { echo "None"; } else { echo "In-Game"; } } … | |
how to code a jscript similar to fb that click the image and a layer pop out? i would like to see some example on how it is done. thanks! Web Development image javascript |
The End.