52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dhimmar

Hello Coders :), feel good when error comes..but when it take lots of time and make me fail to solve,getting eritate mind... SO finaly comming to you guys with one hope that you all will help me to solve this.... I am working on asp(Classic) application ..to converting old classic …

Web Development asp.net vbscript
Member Avatar for LastMitch
0
1K
Member Avatar for eduardolucioac

I have a question at least interesting! Gentlemen, it is possible to encapsulate a page "classic asp" inside a page "aspx"? The goal is to receive the output (text) of a legacy "classic asp" and places it inside a page "aspx". In this case (more specifically) I want to get …

Web Development asp asp.net session
Member Avatar for LastMitch
0
469
Member Avatar for ibakir

I just couldnt find a soluation for this. How to insert a one record inside one forum with muliple sql tables in one php page? Here is my code i have two insert button, i only need one for the both form <?php require_once('Connections/Omar.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function …

Web Development php sql
Member Avatar for LastMitch
0
249
Member Avatar for Neha290791

hi.. iam developing a jsp application. Iam using two columns called open_time and resolution_time. The thing I want is the time difference between two dates but iam unable to do so. please guide me accordingly. Iam using timestamp for the date & time.

Web Development java-jsp
Member Avatar for LastMitch
0
777
Member Avatar for Samyx

Hello Everyone, I am having a problem trying to display two graphs and a data grid. I am able to display both graphs and the grid in individual files, but when combining both the graphs display and the grid becomes hidden. I checked some posts online, and it seems to …

Member Avatar for LastMitch
0
239
Member Avatar for kyriacos1986

I have installed WAMP server and workbench when I am trying the *phpinfo();* I get: J��� 5.5.29�"���q:k->.kP�ÿ÷!�€����������2EDfW^UlCH~d�mysql_native_password�!��ÿ„#08S01Got packets out of order my php file is located in the www folder http://localhost:3307/php1.php the wamp server is online Can anyone tell me what am I doing wrong? thanks

Web Development php
Member Avatar for LastMitch
0
707
Member Avatar for PF2G

Hi, i'm working on a website where i have to edit products. but first i have to select a Simulator and inside that simulator i have a several products. What i want to do is, select a Simulator on a combobox and then in other combobox appears me all products …

Web Development php
Member Avatar for LastMitch
0
292
Member Avatar for Rasool Ahmed

Hi fellows, I have problem in php code and I had searched in days but I didn't found something good. The problem is when execute the following code and error occured: $sql = "CALL categoriesSelectByParent($CategId)"; if(!($result = $con->query($sql))) echo "Failed: (" . $con->errno . ") " . $con->error; else { …

Web Development php
Member Avatar for Rasool Ahmed
0
433
Member Avatar for abby.arnett.12

Hi my name is Abby, I need some major help. Its spring break and before we left class our teacher gave us a cruel assigment. I need to create 1 btn that makes a div - I need 1 brn that creates text using prompts - I need 1 btn …

Web Development gui html-css javascript
Member Avatar for stbuchok
0
293
Member Avatar for erum

Hi to every one .. I have Access database Access 2007 . and i need to connect with ASp.net ..nad i put database in db folder but it gives errors ... if provide Database1.accdb in connection string (following error) Unrecognized database format 'C:\Documents and Settings\erum.mirza\My Documents\Visual Studio 2008\Projects\ajax\ajax\db\Database1.accdb'. if provide …

Member Avatar for stbuchok
0
162
Member Avatar for johndohmen1963

Who can help me with the following. I have an allertbox with text in it but i want different languages for the text in the allertbox $lang = array(); $lang['ALERTBOX_A'] = 'To do this, you must first be logged in.'; onClick="alert(' <?php $lang['ALERTBOX_A']; ?>')" In this case the language is …

Web Development php
Member Avatar for radhakrishna.p
0
450
Member Avatar for danielagaba

hi i am trying to, on a button click, display data retrieved from mysql database in a text area but having no success. Below is the code i used. All help given is appreciated [CODE] print "<center><TEXTAREA NAME=news ID=news COLS=70 ROWS=10>".$news."</TEXTAREA></center>"; if(isset($_POST['show2'])){ $cn = connect_db(); $cn_sql = "SELECT message from …

Web Development mysql php
Member Avatar for php_dev
0
691
Member Avatar for Violet_82

Hi there, I was wondering if anybody can help me understanding this code please - well it's more about the usage of :first really): <!DOCTYPE html> <html> <head> <style> span { color:red; cursor:pointer; } div { margin:3px; width:80px; display:none; height:80px; float:left; } div#one { background:#f00; } div#two { background:#0f0; } …

Web Development api javascript javascript-jquery
Member Avatar for Violet_82
0
413
Member Avatar for Neha290791

Hi, iam new to jsp. actually my problem is with the format of date and time.Datea nad time stored in database are in hh:mm:ss format. but when i am displaying reports, nanoseconds are displaying. please give reason for this.

Web Development java-jsp
Member Avatar for radhakrishna.p
0
185
Member Avatar for thetwig

I bought a template online and i'm trying to develop a website and I'm stuck on the contact form. I can't seem to get it to submit. When I click submit it just remains static, but i'd like to get it to run the action- that is go to the …

Web Development javascript javascript-jquery
Member Avatar for thetwig
0
330
Member Avatar for TonyG_cyprus

I have to resurrect the article that I marked solved this am, 'cause it ain't! My code is: <?php if(isset($_POST['chest'])){ $pin=$_COOKIE['registered']; $game=$_POST['item']; foreach($game as $rep){ $link=sqlite_open('data/'.$pin.'.sqlite ',0666,$sqliteerror); sqlite_query($link,"INSERT INTO holding (item) VALUES('$rep')"); sqlite_query($link,"UPDATE players SET points = points+10"); header('location:entrance.php'); } } include('php/head.php'); ?> <div class="game"> <p><u>Chest</u></p> <p> The chest has …

Web Development php sqlite
Member Avatar for TonyG_cyprus
0
221
Member Avatar for Samerases

<? if(isset($_POST[b1])) { $m= new myclass(); $x=$m -> validlogin($_POST[t1],$_POST[t2]) # if ($x== true) # { $_SESSION[username]=$_POST[t1]; ?> <? include ("menu.php");?> <script type="text/javascript"> window.location = "cpanel.php"; </script> <? } else { echo "invaild login"; } } ?> } } ?>

Web Development cpanel php
Member Avatar for LastMitch
0
330
Member Avatar for csss

suggest me a code for transferring file-id present in grid view of one website to another website,when the link button was clicked in that grid view

Web Development asp.net
Member Avatar for LastMitch
0
328
Member Avatar for ebc3142

Hi, I've succesfully created a new project in Python Django, but when I try to run the server using: python manage.py runserver I receive this error: Validating models... Unhandled exception in thread started by <bound method Command.inner_run of <django.contrib.staticfiles.management.commands.runserver.Command object at 0x10166b250>> Traceback (most recent call last): File "/Library/Python/2.6/site-packages/django/core/management/commands/runserver.py", line …

Member Avatar for LastMitch
0
913
Member Avatar for mr0277

I have a control contained in an iframe on a page of my ASP.NET web application. Control changes its vertical size correspondingly to what user selects on it (some elements get in, others get out). So, I have to set the iframe size precisely to get the whole control shown …

Web Development asp.net javascript
Member Avatar for LastMitch
0
199
Member Avatar for Shodow

how to get the class value? <select name="product" onchange="Price(this)"> <option value="" disabled="disabled" selected="selected">Please select a product</option> <?php foreach ($product as $product) { ?> <option value="<?php echo $product['Product']?>" id="<?php echo $product['Price']?>"><?php echo $product['Product'] . " Qty: " . $product['Quantity']?></option> <?php } ?> </select>

Web Development php
Member Avatar for LastMitch
0
143
Member Avatar for rexmatthew

Basically I got 2 calendar scripts from the same source. I saw a custom script before that merged these two but Everything I tried failed. Please help. Here are the 2 scripts. Script 1: $('#date3').DatePicker({ flat: true, date: ['2008-07-28','2008-07-31'], current: '2008-07-31', calendars: 3, mode: 'range', starts: 1 }); Script 2: …

Web Development php shell-scripting
Member Avatar for rexmatthew
0
243
Member Avatar for abhinav.singh.7712

Hey Guys, I am developing a website similar to google maps in visual studio 2008 using google maps api. I am passing user input as source,destination and have provided three timestamps in form asp radiobutton list. This is my javascrpit code: function calcRouteA() { var start = document.getElementById('DropDownList1').value; var end …

Member Avatar for hometownnerd
0
224
Member Avatar for PF2G

Hi, i'm working on a website where i in the backoffice i can choose what table the frontoffice will see. The objective is create a checkbox in the backoffice and if checked (prod_img="yes") the frontoffice sees the table with big_images (prod_img) if the checkbox is not checked (prod_img="no") the front …

Web Development html-css javascript-jquery php
Member Avatar for LastMitch
0
161
Member Avatar for aldm

Hi, I have module that imports data from json file to hash. Json file is pretty big so I don't want loading to take place on every request because it takes some time. It would be best to do this just on server start. I have a class variable in …

Web Development json ruby session
Member Avatar for lambing
0
223
Member Avatar for turpentyne

I have a div that resizes on mouseover/mouseoff. Everything works fine except a child div with text that will stay showing if the user mouses off too quickly... Is there a way to prevent this? The div that's getting left on is "#square_caption1" Here's what I've got for jquery: $(".square.one,#link_nest").hover(function(){ …

Web Development html-css javascript queue
Member Avatar for LastMitch
0
200
Member Avatar for cgull

Hello good people of Daniweb :) I am developing a site with codeigniter 1.2.2 and the latest version of bootstrap. I am calling a modal window but the X and Close buttons don't close the window. Tried alerting when clicking a button and I do get the alert but the …

Member Avatar for LastMitch
0
5K
Member Avatar for techyworld

Hi i need some help of how to display data dynamically.i just need someone to explain me the concept. actually I am retrieving some data from database but i dont know how many data there will.it can 2,3 10,50,150,...200 and so on. in javascript, i will display 10 par page,when …

Web Development display javascript
Member Avatar for lambing
0
201
Member Avatar for bezzel.zubber

I want to maintain the session into html pages but I have problem of finding a way to pass the session variables into html pages. So this is my login.asp code. <%@Language="JavaScript"%> <html> <body> <% var Conn=Server.CreateObject("ADODB.Connection"); var DSN="DSN=file"; Conn.Open(DSN); var Rst=Server.CreateObject("ADODB.Recordset"); var sql = "SELECT nme,userid,userpwd FROM student WHERE …

Web Development asp html-css session
Member Avatar for hometownnerd
0
235
Member Avatar for korathualex

How to maiantain checkbox state under onclick of javascript...checkbox losing its state under onclick of javascript...Onchange when set works in firefox but not in chrome and IE...Onclick works but checked state gone... Collapse | Copy Code <script type="text/javascript"> function salaryshowhide() { var lfckv = document.getElementById("<%=chksal.ClientID%>").checked; if (lfckv== true) { document.getElementById("<%=txtsal1.ClientID%>").disabled …

Web Development asp.net javascript
Member Avatar for LastMitch
0
239
Member Avatar for nazmule27

**I have a problem in listview to select a specific row. I want to select a row in click event please help.** <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!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 runat="server"> <title>ListView Showing</title> <link href="CSS/yui/tblstyle.css" rel="stylesheet" type="text/css" /> <script src="js/jquery-1.2.6.min.js" …

Member Avatar for LastMitch
0
117
Member Avatar for coder91

I've a page that displays various drop down menus, one is process and this controls what is displayed in the second - Activities. There is also a time drop down menu. I now have to have a minimum and maximum time for the activities (maximum and minimum is different for …

Web Development asp.net
Member Avatar for JorgeM
0
233
Member Avatar for tshukela.george

I've upploade my php codes under the address http://george.freeoda.com, my problem is the calc link located on the http://george.freeoda.com/calc.php, this php files processess successfully on my server locally, what might be the problem? my full php codes are: <?php $n1 = &$_POST['n1']; // textbo1 declaration $n2 = &$_POST['n2']; // textbo2 …

Web Development php
Member Avatar for tshukela.george
0
194
Member Avatar for cgull

Hello, I am searching the net for hours now trying to find a solution to my problem, found tutorials and forums posts but can't solve my problem. Please help. windows 7, WAMP 2.2 (apache 2.4.2) Trying to set up a virtual host outside of the wamp directory getting the error: …

Web Development apache php
Member Avatar for cereal
0
578
Member Avatar for Kniggles

Hi , I am trying to get a photo type base to work and have got stuck , I have 3 files , 1- the html - that takes the input called door.html 2- the connect.php to open the base. 3- the php to insert insert.php. 1= <FORM method=post action=insert.php><P> …

Web Development file-system php
Member Avatar for Kniggles
0
481
Member Avatar for GTTravis

Hi Guys, I am attempting to write an application that copies any file from the user's local machine to another server on the same network. The Catch The server that will house the application is separate from the server that will receive the files from the local user's machine. In …

Web Development asp.net file-system web-server
Member Avatar for GTTravis
0
809
Member Avatar for vizz

I have received many enquiries to **develope website using php/mysql or wordpress** which can earn **daily $25-$35 USD**, atleast **minimum $15 USD daily.** How is it possible? For which **AdSense** gives money, **displaying ads or clicks on ads** How to create such **revenue generating website?**

Web Development php wordpress
Member Avatar for James_Smith
0
129
Member Avatar for techyworld

I retrieve data from an associative array and i want to insert it in another associative array. anyone can tell me how to do it?

Web Development javascript
Member Avatar for Airshow
0
163
Member Avatar for tamil.arivu.18

I want to add Joomla SEF Translate Module or Component to my php,html Website Page. how can i include this module and how to run this. please tell anyone Thanks advance

Web Development html-css php
Member Avatar for tamil.arivu.18
0
183
Member Avatar for tolap21

hi everyone i need a help in my php project with mysql database connection. I have a form that contains Fname, lname, contact and my problem is when i press the submit button without filling up the form the query will execute which inserts the blank data to my database.

Web Development php
Member Avatar for Webville312
0
188
Member Avatar for GlenRogers

Hi. My page has a men that holds categories of products, some of these categoriees have subcategories, some dont. I have mysql tables category, subcategory and products. My code right now only adds products to the subcategories, it takes the id value of subcategory and puts it in the product_id …

Web Development php
Member Avatar for RvSon
0
180
Member Avatar for mjsmitten

Hi I am really not good with javascript but I have a script that retrieves a list of state names with this code: map.objectList = new AmCharts.ObjectList("listdiv"); Apparantly it is withouth any format retrieved in a UL LI format. I need to "catch" this list (I know it has 51 …

Web Development display javascript
Member Avatar for mjsmitten
0
195
Member Avatar for lttleastig

I need to extract the value of studentId just 1413 how could this be done? All this code below is stored in a single variable I think with regex it is possible but had no luck with it $(document).ready(function () { var getSchedule = function () { $.ajax({ type: 'GET', …

Web Development php regex
Member Avatar for pixelsoul
0
171
Member Avatar for korathualex

How to convert date format to dd/MM/yyyy in Linq to Sql select Query I tried as below: DataTable dt = Common.dc.TblMaintenances.Where(a => a.ContractId == Id && a.IsScheduled == true || a.IsScheduled == false).OrderBy(a => a.ScheduledDate).Select(a => new { a.MaintenanceId, a.MaintenanceDate.ToString("dd.MM.yy"), a.MaintenancePerson,a.Remarks,a.ScheduledDate,a.IsScheduled,a.Cost }).getDataTable(); But didn't work

Web Development asp.net sql
Member Avatar for pixelsoul
0
1K
Member Avatar for dottomm

Hello and thanks in advance to anyone who can help me with my array problem. I've always struggled with arrays, and now I Need to understand how I can use them to solve my latest problem. I've created a test scenario to recreate what I'm trying to do in real-life. …

Web Development mysql php
Member Avatar for dottomm
0
178
Member Avatar for cdoggg94

Basically we have a lot of people that want to view our site that use work computers and don't have the option to upgrade their browser. Most likely its an old version of IE. All I want to do is detect if they are using something older then say IE …

Member Avatar for cdoggg94
0
246
Member Avatar for cssweb

hello i want to creat script "most viewed" so i want to select most topic that have been wached between two dates for instance from date 10,10,2012 to current date i mean from 10 days ago untill current time

Web Development mysql php
Member Avatar for cssweb
0
197
Member Avatar for New-Reign

I am currently working on a hotel booking system. There are 4 rooms types, 3 have 5 rooms and 1 has 10 rooms. I have everything working apart from the ability to check which are booked or not. The SQL I used to create the tables is listed below; CREATE …

Web Development php
Member Avatar for New-Reign
0
4K
Member Avatar for clausont

I have a Gridview that I need to add a button for each row and need to do this programmatically. I am able to add the button, but I am missing something as it is creating a new column and adding the button only in the new column. When the …

Web Development asp.net gui
Member Avatar for clausont
0
848
Member Avatar for turpentyne

I'm trying to reuse a function and it isn't working. I put it like so, and it works fine: $('.square-container').on('click', '.square', function(event) { $("#testit").removeClass("main_page"); if ( $(this).hasClass('active') ) { /* actions here */ } else if ( $(this).hasClass('one') ) { /* actions here */ } else { alert('error - nothing …

Web Development javascript
Member Avatar for EvolutionFallen
0
203

The End.