52,566 Archived Topics
Remove Filter ![]() | |
Is there any way to search with a variable that is an array. ie) [code=php] mysql_query("Select * FROM table_name WHERE `id` = '$var'"); [/code] where $var is an array. Is this possible? | |
Hello Great developers, i am working on an application, where i am trying to implement the multiple users chat, Basically the users send message to mobile and then get back the reply , then it shows like normal chatting. all everything is working and GREAT :icon_wink: But Except the multiple … Web Development php ![]() | |
iam trying to install phpmydirectory to my localhost server (i have testing it using xampp and wamp)...but there is a problem; when iam using wamp, the installation of mhpmydirectory working just fine, but then i cannot login as administrator. If i check on mysql there is administrator username and password, … Web Development php | |
I am a beginner to advance java and since am learning servlet am getting some weird error in my servlet. I am trying to get the method name and this is the code which i wrote down [CODE] import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.util.*; public class NewServlet extends … | |
Hey all. First post ;) and since i've used this site a lot for help i think its about time i registered and joined up. Im not new to programming but i am new with php + database manipulation. [CODE] $app = mysql_query("SELECT * FROM applicant_classinfo WHERE appid='".$_GET['id']."' AND '".$_GET['cname']."'"); … | |
Hello All, I have a simple question How do i get a variable from one function into another function. I am new to javascript. Here is my code[CODE] function timestart(that) { var x = new Date(); that.value = x; } function timeend(that) { var y = new Date() that.value = … Web Development javascript | |
Hello everybody, I have some trouble with the google maps api. I want to add markers from a xml file to my map but it seems that the function is not parsing my xml file and I am clueless. Any ideas here is my code: [code] <!DOCTYPE html> <html> <head> … Web Development api javascript seo | |
I am having issues parsing JSON data from a web service. The web service is local on my machine, and I have added it as a Web Reference. Simple data types from the service work perfectly. However, if I call a method that returns a complex structure (such as an … | |
I'm trying to get a list of directories using the <CFDIRECTORY tag but the return dataset is only displaying the files in the directory and not the sub-directories. The directory I'm attempting to query has 1 file and many sub-directories but the result only returns the single file. Does any … Web Development coldfusion dataset | |
This is painfully annoying! Everytime I make a change to my web application and publish, I have to wait until VS2008 or VS2010 publishes the entire site. I have 2 folders which have ~70 folders [U]each![/U]. But they are static and will not change ever so I want to see … Web Development asp.net publishing visual-studio | |
I'm trying to make a list of sub titles that links to mid topic jumps on another page. As the sub titlles are the same for each main title and the midtopic jumps increment numerically- I thought I could use cfloop - but I can't get it to work - … Web Development coldfusion | |
Hi, I'm Having a Problem with populating a combo box with more than one result from a query. until this stage i have managed to get the first Row Curso_name,but i still find difficulty in displaying the second row and also adding a "-"between both the rows. Thank You! [CODE=php] … Web Development php | |
Hello Does anyone know how to effectively search for a string in a Mysql table? Here's the problem: Let's say I have a table(id,song) and I want to search for a specific song (ex: One Love) Using the following query returns the exact song when the user enters it exactly … | |
Hi guys, I have a form where users update a posts information. One of the sections is the following : [CODE]<td><input type="text" name="author" size="30" value="<?php poem_info($pid,author); ?>"></td>[/CODE] as you can see I'm using php to populate the field. Here is the function poem_info(): [CODE]function poem_info($pid,$record){ require_once '../classes.db_connect.php'; $db = new … Web Development php | |
hey guys, i have this code in php i don't know if this works but there is no error at all. i am trying to get the value from a database and assign it as the value of the combo box. [CODE]echo "<td align=left><font size = '2'><select name='status' id='status' selecteditem='$status'><option>Active</option><option>Resigned</option></select>"; … Web Development php ![]() | |
hi, i have one database employer, where i m gone found datas, so i want one script in javascript and php, when i clic in name of employer list then show me all information, like number, photo... that belongs to folowing employer. please help me. i uprociate any help.:'( Web Development javascript | |
Hi Can someone plaese tell me what should I study in ASP.net ? what are the syllabus....... please help me | |
Hi, How can I get time of last request Sent in asp.net.. Actually I want to set automatic Idle timeout. So I planned to compare this time with current. Please Help me. Other solutions are also invited.. Thanks in Advance. | |
Hi All, I have a problem in one coding part that was " I want to display one prompt box. When i click on the particular prompt box then it prompts for your name. When you given a name for example Mother, it must display a message like "Greeting mother" … Web Development html-css javascript | |
i want to apply onclick event on a image in the repeater. i don't know how to do it. anybody having any idea plz guide me. thanks in advance | |
Hey guys I am trying to write this application to display members who are celebrating the birthday in a particular week, month. I want the app also to be able to display those who will be celebrating their birthdays in abt 2months. I want to do something like how Facebooks … | |
I have a couple of input boxes where the user will be entering his/her data . for example: Name:------------- Fathers name:----------- mothers name:------------ when the user enters the data , i need the xml to be generated something like this <family> <name> users name </name> <fname> fathers name </fname> <mname> … | |
hello i have this function to check all the checkboxes in the form. function msgSCheck(){ chk = document.msgFList.msgCList; if(document.msgFList.msgCheckCtrl.checked==true){ for (i = 0; i < chk.length; i++) chk[i].checked = true ; }else{ for (i = 0; i < chk.length; i++) chk[i].checked = false ; } } and input checkboxes like … Web Development javascript ![]() | |
Hello, I am trying to insert an html document into a modal window based on the results of a database query using plone/tal and jquery. What I need is for the "href records/rpc*_url" to be a link to the html document of the same name as the query result. i.e. … Web Development html-css javascript sql ![]() | |
I have this code to enter data of checked boxes to be entered in other table of access database. I have taken template field and added a text box in Item Template but how to enter the text box data in a database on a button click. protected void Page_Load(object … Web Development asp.net microsoft-access open-source | |
i need to print this as a report, how do i export it to word or pdf with seeing exactly what is seen on the browser? because sometimes the format is disorganized. please help! thanks! [code=php] <?php session_start(); if(!session_is_registered(myusername)){ header("Location:main_login.php"); } $userId = $_SESSION['userId']; include "../../../_functions.php"; ?> <html> <meta http-equiv=\"Content-Type\" … | |
I just want to scan through a directory containing several subdirectories, each containing several text files, and display the name/word count/character count of each text file in each subdirectory. All I'm looking for is a quick and simple way to do the scanning through all subdirectories finding each file. thanks … Web Development php | |
i'm using C# and MS Access database..i want to search name or serial no using LIKE statement..but i don't know how to do it..and then after i search it will view the match that i search for..let's say i want to search a letter start with 'C', an then it … Web Development asp.net | |
I am new to Daniweb, but I have browsed the forum here for a while and it has often solved problems of mine, so now that I encountered a pickle which I cannot seem to solve in a satisfactory way using only googling, I'm asking for some hands on help: … Web Development html-css javascript operating-system | |
I have the the following entry in my web.config in the root of my Asp.net project: [code] <urlMappings enabled="true"> <add url="~/Views/VoiceClip.wav" mappedUrl="~/Views/VoiceClipHandler.ashx"/> </urlMappings> [/code] This works fine when running the site in Visual Studio - I go to VoiceClip.wav and it redirects me to VoiceClipHandler.ashx. However, when I deploy to … Web Development asp.net visual-studio | |
Hi, I have a snippet code below [CODE] <?php //get value of $new from other codes //$new will provide outputs of a new number every time it is executed echo "$new<br/>"; $strFile = "1.txt"; file_put_contents($strFile, $new); [/CODE] The idea is that I want to put a new line of number … Web Development php | |
hi all, i am searching about a secure captcha for my search form and find: - 'Ajax Fancy Captcha' - reCaptcha and also a paper from google research center which talk about rotating picture as captcha. which one is better and more secure? Web Development php | |
Hi, I have a web form in vb that I am writing and I am stuck on getting th evalue of one cell in a row when the checkbox is checked so that I can insert that value into a table in an access database. Can anybody help on this? … Web Development asp.net | |
h, i have this for call the hs.expand using a link: [code=html]<a onclick="return hs.htmlExpand(this, { contentId: 'highslide-html2', objectType: 'iframe', objectWidth: 400, objectHeight: 400} )" class="highslide"href="link"><call </a>[/code] that work fine, but now i want call the same function using a function like this: [code=JavaScript]hs.htmlExpand(null, { contentId: 'highslide-html2', objectType: 'iframe', objectWidth: 400, … Web Development html-css javascript | |
I am able to attach a file using SwiftMailer with its name hardcoded. But what if the file is uploaded by a user from an HTML form's 'file' input type control and has to be sent with an email by a PHP script? How do I specify the file name … Web Development email file-system php | |
Hi All, I am new to this particular forum because I will like to start working with ASP.NET (it's required in my job) but I haven't the faintest idea anything pertaining ASP.NET. I hear things like Configuring IIS and Visual Studio...I was told that this is for a web-based application...could … Web Development asp asp.net visual-studio | |
hi, i need validate dinamic table javascript before i insert data do db, i m new here. please help me. here is code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> </script> <script type="text/javascript"> /*<![CDATA[*/ function addRow() { var … Web Development javascript | |
Does openable get ignored? if not what does it do? [CODE] function openSomething(openable $obj) { $obj->open(); }[/CODE] openable is a class btw. taken from a book. Web Development php | |
Hello All, This is my first post on here. I am new to javascript and I have a problem. how can i 1. Have a button that adds a new row of cells to a table 2. In these cells there are input boxes/check boxes/dropdown list/ radioboxes and textarea. 3. … Web Development javascript | |
i have a random data selected from database to the .aspx form example: 1 Hello 1 2 World 2 Nice 1 3 Meet 2 You 2 and i want to export it to excel using "export to excel" button so that it became like this [URL="http://imgur.com/BDblk.jpg"]http://imgur.com/BDblk.jpg[/URL] Web Development asp.net | |
Hello, I have tables two tables, the "book" and the "author", a book can have many authors and vice versa, so there is an intermediate table called "book_author" with two columns as foreign key for those two primary keys book_author book_id author_id I'm trying to edit the book details and … | |
Is there a way to be able to create a new database when a company signs up to my site, and be able to use that database when he/she logs in, so for example if company A logs in he uses CompanyA database and if company B logs in he … Web Development asp.net | |
I try for uploading file on web server as images of video files with File Uploader Control in asp dot net 2.0. it's ok when we are uploading filea on local machine but on web server it's not work properly. Message thrown Path is Access Denied Please Reply.. Web Development asp asp.net file-system web-server | |
hi, Wen i give the submit button in my aspx page ,the datas is updating in sql,but the page refreshes with the old data,it should be clear in the corresponding fields. pl.guide me. Web Development asp.net | |
hi all, i am working on online food ordering project. restaurant create zones (circles based on miles as radies) to delivery the food. comapines registerd for food ordering. the company emplyees select there company we must display the restaurnt (Which are contaning this company in there zones). any idea please … Web Development google google-api php | |
hi! i only want to know how to get the value of the array in javascript using class? [CODE] <div class='view'>1</div> <div class='view'>2</div> <div class='view'>3</div> <div class='view'>4</div> [/CODE] Web Development javascript | |
i had bookmarked a site with this type of software but i lost it. i want to create a site similar to face-pic.com, faceparty.com and thailandfriends.com. can anyone point me in the right direction. and help is very appreciated thanks, dave Web Development php | |
[CODE]if(response==="success"){ $('<p></p> |').appendTo('form textarea').html(''+file); } else{ $(''); }[/CODE] Hi!, I'm trying and playing arround with the .appendTo, to specify only on one text area, rather than .appendTo to every text area, is there any way to do that? or it is not possible? i try with the "div" and "id" "p" … Web Development email javascript javascript-jquery | |
Am working on a php/mysql project that involves displaying long piece of text on a page. The text being that long, I would like a way of splitting up this article into multiple pages that will give my project the ease of navigating through. Any help would be highly appreciated. … Web Development php |
The End.