52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for georgeee123

Hi, I am working on a chat program. When a user logs in, a value in the database is set to 1 (online), and when he/she logs out it is set to 0 (offline). The problem is, when the user exits the browser, naturally the value is still set to …

Web Development javascript
Member Avatar for georgeee123
0
416
Member Avatar for merse

I've made an empty mynote.txt in the same directory, and open the following code with Internet Explorer, and allow to write on hard disk (when IE asked) but nothing in the text file: mynote.txt after the run. what is the problem? [CODE]<html> <body> <script type="text/javascript"> function WriteFile() { var fh …

Web Development file-system javascript
Member Avatar for scrappedcola
0
336
Member Avatar for pikkas

hi guys, i am trying to populate a listbox the number of the current month in listbox. and i am using an onload event of the body but it doesnt works. any help please?. i am new on javascript. [CODE] function dat(){ var date=new Date(); var Month= toString(date.getMonth()+1) this.Monthlistbox.options=new Option(Month,Month,true,true); …

Web Development javascript
Member Avatar for mahavir123
0
147
Member Avatar for roachae

I'm pulling a date value (not a datetime value) from a MySQL database, but I need to subtract 30 days from that date, and not sure how to do it. I found a sample using mktime() to break up the day-month-year and subtracting 30 days from the 'day' component, but …

Web Development php
Member Avatar for hielo
0
365
Member Avatar for pearll

[CODE]<tr> <td colspan="2" align="center"> <input type="button" class="btn" value="New" name="New" onClick="window.location.href='new2.php'" onMouseOver="hov(this,'btn btnhov')" onMouseOut="hov(this,'btn')" align="absmiddle"> &nbsp; <input type="submit" value="Delete" name="delete" class="btn" onMouseOver="hov(this,'btn btnhov')" onMouseOut="hov(this,'btn')" ></td> </tr>[/CODE] I am unable to make thses two buttons centred .... any help?? TIA

Web Development php
Member Avatar for nonshatter
0
86
Member Avatar for icccapital

I am wanting to have a select box populate from a database query based on the information pulled from another select box as the user chooses it (ie a user chooses a state and the city choices populate or something like that). I am using JSP, Servlets and Beans. Seems …

Web Development java-jsp
Member Avatar for icccapital
0
185
Member Avatar for knarffrank

Help I'm having trouble on passing value to another page, I'm using PHP. My goal is when i click a link it will move to another page and the value of that link will be received by the other page. make sense? can someone help me with this? thanks..

Web Development php
Member Avatar for Borzoi
0
225
Member Avatar for LONGWAY

Hi, i have four tables:books, info, autor, publisher and columns under tables; books........... info............ autor............. publisher ------------... -------------... ---------------... -------------- id............. id............... id.................id bookname .......type .............name ..............publisher name autor_id .......year .............second name .......quantity publisher_id ...autor............. year..............country I tried with this relations but it did not work (is this normalization ok) …

Web Development display mysql php
Member Avatar for LONGWAY
0
143
Member Avatar for rolyestemonio

Hi Guys, Can anyone help me out about displaying 10 data from my database?My codes goes like this. I have 4 fields (id, local_title, local_desc, local_date ) [CODE] <?php $last_date = ""; $result = mysql_query("SELECT * FROM tbl_localnews ORDER BY local_date DESC"); while ($row = mysql_fetch_array($result)) { for($i=0; $i<10; $i++){ …

Web Development display mysql php
Member Avatar for rolyestemonio
0
174
Member Avatar for purvi12345

It involves ASP ADO for connecting to database..I'm using microsoft access table... I'm a novice to web-development field... :( I know how to make table choice and display it through VB-Script,but don't have a clear idea for display of only desirable coloums,PLZ HELP..with it's ASP-code ,I tried a LOT! ITS …

Web Development asp display microsoft-access
Member Avatar for purvi12345
0
84
Member Avatar for rolyestemonio

Hi Guys, I have a problem regarding of archiving. How we are going to archives data by month? I have 4 fields(id, dates, title,description). I want to archives my data by month in which you can see the Month automatically from database MySQL. Example [b]Month retrieved from database[/b] News for …

Web Development php
Member Avatar for rolyestemonio
0
436
Member Avatar for jaejoong

Hello guys, I need your help. Newbie here! I want to know how to get response.redirect in hyperlinkfield. Example: When I click the the link, it response to the next page and the column of my gridview appears but how can I get the labels and tables? Thanks in advance

Web Development asp perl
Member Avatar for janetzensis
0
132
Member Avatar for saideepthi.bits

[code=php] <html> <head> <title> ftp php test page</title> <?php $ftp_server = "10.209.152.220"; $ftp_user = "deepthisk"; $ftp_pass = "Hatepwd1"; // set up a connection or die $conn_id = ftp_connect($ftp_server) or die("Couldn't connect to ".$ftp_server."\n"); // try to login if (@ftp_login($conn_id, $ftp_user, $ftp_pass)) { echo "Connected as ".$ftp_user."@".$ftp_server."\n"; } else { echo …

Web Development apache php
Member Avatar for saideepthi.bits
0
3K
Member Avatar for whiteyoh

Hi All, Im accessing a function with paticular parameters, but my response is not recognising the parameter of the count value. If I change the variable in the COUNT part of the query to a static value it works fine, but if i use the variable name it returns "undefined …

Web Development mysql php
Member Avatar for whiteyoh
0
102
Member Avatar for gchurch

well i have info from a DB however for some reason i can't use some variables... or use other variables within the while loop!!!! here's my code: [CODE]function SeasonPrice($roomName) { require("dbCon.php"); mysql_select_db($database); $res = mysql_query("select * from room where RoomName = '".$roomName."'"); $row = mysql_fetch_assoc($res); $Booked_month = date('F'); if($Booked_month <= …

Web Development php
Member Avatar for phpstan
0
127
Member Avatar for DeadlyLife

Hello i've got a problem here, i want to insert some data into my table and everything is all right for the first 3 or 4 but the last does not work [CODE]<?php // include("config.php"); // $db_connection = mysql_connect($db_host, $db_user, $db_slaptazodis); mysql_select_db($db_table, $db_connection); // if ($id == "") { // …

Web Development mysql php
Member Avatar for DeadlyLife
0
142
Member Avatar for laureenc

Hi, I'm new to this community and hope im in the right place :-) I have been searching everywhere for the proper method to pass input from one html form to another. I have found a bunch of javascript that is supposed to break down a query string and populate …

Web Development javascript
Member Avatar for Graphix
0
962
Member Avatar for QWaz

Hi, I am not sure if this is possible in css or it's a javaScript thing. I have a page where it has many images, If you hover over the image the details of that image appear to the top left. However when the images are over next to the …

Web Development javascript
Member Avatar for QWaz
0
191
Member Avatar for orcaraheel

<?php require('Connections/boss.php');?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case …

Web Development flash html-css php
Member Avatar for wilch
0
149
Member Avatar for mmonclair

I've been looking around online for a while and haven't been able to find a solution available with the resources at my disposal. Here's the scenario: I have an online training site I manage and do development for. We've been offering surveys to get feedback at the time that a …

Web Development coldfusion email
Member Avatar for mmonclair
0
96
Member Avatar for Waffles007

Hi, I'm having trouble finding out how to have a link pull a certain id from a single file and display that id's content within a certain div on the page. I'm trying to cut down on the amount of pages on my site by loading certain critical code into …

Web Development display php
Member Avatar for Waffles007
0
3K
Member Avatar for gikonyo

hi there i want to upload an image into a webpage i have the following code which is not working .where is the problem or who have a better code. <?php //define a maxim size for the uploaded images in Kb define ("MAX_SIZE","100"); //This function reads the extension of the …

Web Development image php unix
Member Avatar for pssubash
0
130
Member Avatar for nikita.chandra

hi! please help me for the best and easy open source CMS(Content Management System) software for java to design a dynamic website . If possible please post the link from where i can download the same. please reply ... it's very urgent :( Thanks!

Web Development cms java java-jsp open-source
Member Avatar for fishsmith
0
223
Member Avatar for MysticalNomad

I have the following code that is very simple and gets information from form fields and mails it off. The issue is that when the email is received using Microsoft Outlook 2003 the message is blank and the actual message that is supposed to be there is an attached HTML …

Web Development email php
Member Avatar for MysticalNomad
0
186
Member Avatar for sanjaypandit

i want to made a form in which there is three fields. 1. product value: suppose:1500 2. number of product:2 3. then i want to show multiple of these values in third textbox without submitting form . how can i do this. help me

Web Development php
Member Avatar for hacker43.gaurav
0
107
Member Avatar for saikatroy1985

Dear Sir Sir i am designing a mail service in which every frame should be the same but i am not getting any suitable solution for that. e.g.: If i click the inbox button the frame size is same as we click other button like compose,sent mail etc. If AJAX …

Web Development javascript
Member Avatar for saikatroy1985
0
96
Member Avatar for joycetan

i have a gridview with a column of checkboxes. the check_all function work well but when i insert tablesorter to sort my gridview, the check_all function cant work. below is my code: [CODE] <title></title> <script src="Scripts/jquery-latest.js" type="text/javascript"></script> <script src="Scripts/jquery.tablesorter.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function () { $("#gvMsg").tablesorter() }); </script> <script type="text/javascript"> …

Web Development asp.net javascript-jquery
Member Avatar for catherine sea
0
380
Member Avatar for Sinha's

Hello Frends, I have an application where I am trying to connect MS Access DB with a ASP.Net(C#) Page and the same application also connect to the MS SQL Server (Working Fine). While connecting I am having following [B]error:[/B] _____________________________________________________________________________________ [B]Server Error in '/manager' Application. The Microsoft Jet database engine …

Member Avatar for catherine sea
0
316
Member Avatar for divyakrishnan

Hi... I am doing a PHP project.I had executed the project on 3 machines.For one machine it is showing a warning as follows.. [U][B]warning[/B][/U] Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. …

Web Development php
Member Avatar for divyakrishnan
0
132
Member Avatar for Geertc

Hello everybody, for my application I want to implement a email-clickcounter, next to link-clickcounter. Most links and emails (mailto:) appear on a page that gives details about a search-result from my home-made searchmodule. I have set up the counting system like this : Every link is redirected to a click.php-file. …

Web Development email php
Member Avatar for Geertc
0
158
Member Avatar for nikesh.yadav

hey all, can anybody help me regarding "\t" bcoz "\t" not working

Web Development php
Member Avatar for Stefano Mtangoo
0
20K
Member Avatar for Aamit

Hi, [code] <form id='frmuser' name='frmuser' action='web_url.php' method='post'> <input name="site_name" type="text" id="site_name" <input name="add" type="submit" id="add" value="Create image" /> </form> [/code] Suppose :- web url is google.com how to create image of this? Any google API available? using html of that url possible to create image ?

Web Development api google-api image php
Member Avatar for Aamit
0
264
Member Avatar for vzradha

I have a form which will have to call two different php scripts based on the click of 2 submit buttons. Below is a sample of what I have so far [CODE] <?php echo'<form name="form1" method="post">'; echo '<div>'; echo '<input type="submit" name="submit1" id="submit1" value="Create">'; echo '</div>'."\n"; echo '<div>'; echo '<input …

Web Development gui php
Member Avatar for niths
0
180
Member Avatar for MoreBloodWine

Wasn't quite sure what to do for a title on this one, anyway... number_format(getNetDonations(date('%')) + 23.97, 2) I'm using the above to try and pull total donations ever received on my site but here's where it gets hinky. There's safety checks in the code "or so I'm told by the …

Web Development php
Member Avatar for MoreBloodWine
0
94
Member Avatar for ppohlmann

Hello Gurus, i have several forms on a page that get generated dynamicly form a database. Checking the fields etc requires an id for each form .. i have a problem with this code here. . elid is the id of the form .. the elid gets passed from the …

Web Development javascript
Member Avatar for Airshow
0
114
Member Avatar for Aventurine

Hi there, I am a PHP developer and know little of JS - in my current project I have hit a few probs as I know I need to incoporate some JS. After some help already from this community I have almost completed the JS part of one page that …

Web Development html-css javascript php xml
Member Avatar for Aventurine
0
208
Member Avatar for showman13

Good Morning All, Hopefully someone out there has a resolution to this issue. I have a form that I want to use drop down boxes for the country and state. That is no problem, I already have them. The issue comes in when someone has filled out the form, but …

Web Development php
Member Avatar for showman13
0
127
Member Avatar for itisnot_me

ok so i am running into this problem that i cant seem to fix. trying to make a dynamic query. i am grabbing variables from post data and trying to put them in the query but everytime i try to run the query it doesnt work. [CODE] $id = $_POST["id"]; …

Web Development php
Member Avatar for itisnot_me
0
268
Member Avatar for vizz

I want to create facebook style friends system How to send,accept and manage friendship? can anyone help me? Thanks.

Web Development php
Member Avatar for sudeepjd
0
375
Member Avatar for newweb

Hi, I have created a simple shopping cart using session array, selected products are stored in the table. So far I have no problem! I wish to remove (using x) individual product from the table/array, but I cannot access it. Is anyone SESSION expert who can help? Thanks in advance! …

Web Development php session
Member Avatar for newweb
0
3K
Member Avatar for debbier

I need to iterate through an array, starting with the first element, in chunks of, say, 5, then break off and do something else with the array, then go back to where I left off. I'm confused about how the array counter, using next, or current etc. would work. How …

Web Development php programming-construct
Member Avatar for debbier
0
167
Member Avatar for nirveshverma

hi actually nowadays i design my website to make as a marketplace,but i don't have any idea about how the space is alloted to user or make a new table in database for the user . i mean when user register then how they store his information,upload pics etc. into …

Web Development asp.net database-design
Member Avatar for lili.edryana
0
115
Member Avatar for avinash_545

hi all, I am working on a small assigment but this code just wont work. I dont know what the problem is. Can anyone please debug it.[code]var xmlhttp; function listFriend(){ xmlhttp = false; /* For Firefox*/ if (window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } else /*For IE*/ if (window.ActiveXObject) { …

Web Development javascript
Member Avatar for mohanrajit.88
0
106
Member Avatar for nsam

Hi Everyone, Can somebody help me out in this problem. I am getting a value from 1 page to another through $_GET[]. When I redirect to other page it shows me its value in URL as well as in a query where I am using it further as this. Here …

Web Development php
Member Avatar for mohanrajit.88
0
148
Member Avatar for StarTrekCafe

hi. a blind web site designer using the jaws for windows screen reader from [url]http://www.freedomscientific.com[/url], and now downloaded and installed wamp server 2.0, and got word press. as started a full blown star trek application using visual web developer and my sql epxress 2008, but now want to change to …

Web Development cms php
Member Avatar for StarTrekCafe
0
634
Member Avatar for Griffin54

Greetings all! For some reason the following code does not work in Firefox and Opera: target="_blank" The above code works fine in IE and Safari. But when I close a web page that includes this code in either Firefox or Opera the entire browser closes - not just the one …

Web Development javascript web-browser
Member Avatar for peter_budo
0
62
Member Avatar for ankit.pandey3

[CODE]<?php require_once('database.php'); $query="select * from news"; $result=mysqli_query($dbc,$query); while($row=mysqli_fetch_array($result)){ $Title=$row['Title']; //$Content=$row['Content']; echo $Title; echo "<a href=''>$Title</a><br>"; } ?>[/CODE] [QUOTE][B]Hi friends.... [B]I have a table named news which contain columns such as Title, Content,NewsId and many more. I want to display titles in form of link and [COLOR="Red"]when we click any link …

Web Development display php
Member Avatar for mahavir123
0
206
Member Avatar for Hridayesh

Error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 29 bytes) Though I have set memory limit 96M in php.ini Can anyone give the solution.

Web Development php
Member Avatar for Hridayesh
0
146
Member Avatar for Lapixx

Hi, I'm working on a project which requires some sort of 'connection' between 2 (or more, actually) clients. Basically one person should be able to send data to another person with their webbrowser, somewhat comparable to a instant message system. My first idea was using XHRs to send data to …

Web Development client-server php
Member Avatar for Lapixx
0
85
Member Avatar for phpDave

Hi, recently I have been working on a file upload script that users can upload an image. I got it to work but I am stuck on how to let user update or change the image they upload. I would like this to work kind of like facebook photos work. …

Web Development php
Member Avatar for vibhaJ
0
54

The End.