52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Paladine

This a just a basic webform setup of a listbox being populated with data from a database, in this case the Northwind Access database, and then populating textboxes with data related to the item the user selects. [u]1. WebForm [/u] -Create an ASP.NET webform page -Add a [b]listbox server control[/b] …

Member Avatar for HamplusTech
0
2K
Member Avatar for harrispc

I have written my first javascript block which functions correctly in IE, however nothing executes in FF or chrome. have I missed something. Also is there a way to stop IE from prompting to run it? TIA Javascript function getCondition() { if (window.XMLHttpRequest) {// code for ie7+, firefox, chrome, opera, …

Web Development api google-api javascript
Member Avatar for jmichae3
0
170
Member Avatar for johns1982

PHP, MySQL & ajax with data on default page default page is empty when page first load. how can i show data on default page? i mean when page first load i want to show all data then do the ajax after user select to filter Example is based off …

Web Development mysql php
Member Avatar for johns1982
0
688
Member Avatar for ettypaldos

I would like to alter the example provided [URL="http://www.w3schools.com/php/php_ajax_database.asp"]here [/URL]so that there is a second dropdown input for 'Male/Female'. I know the example itself does not provide a 'Sex' field in the MySQL db, but let's just pretend it does. Furthermore, assume we have a new in out select for …

Web Development javascript mysql php
Member Avatar for johns1982
0
5K
Member Avatar for dyingatmidnight

Hi there, I'm trying to create a button that toggles an sql query. I have a navigation bar with certain elements hidden by the admin, the admin can preview the page and there's a toggle button to hide or show the items that are marked as hidden. $sql = "select …

Member Avatar for dyingatmidnight
0
176
Member Avatar for dschuett

I have an application that I wrote that allows users to upload files (pictures or PDFs). I am using IIS 6 and php 5.4. The problem I am having is that it seems like file uploads are getting cached somehow. For example, if I upload the same file over and …

Web Development file-system php
Member Avatar for dschuett
0
132
Member Avatar for trektrak

Hello guys, I tought this is simple at a very 1st place... but I didn't manage to do it .. Anyone of you can give me an idea on how to do this... I've created a web apps that required authentication. and yeah ... oh the user setting section I …

Web Development mysql php
Member Avatar for vibhaJ
0
183
Member Avatar for dyingatmidnight

Hi there, so my site has a public side and an admin side, the admin side which requires a login. The used id is stored in a session variable to limit access to certain features based on the number. In the admin side a user and show or hide pages …

Web Development php session
Member Avatar for dyingatmidnight
0
188
Member Avatar for harshm027

Hi, How to pass an array to a form which is above the part where the array is created I have a php script with html in it. The page is divided into blocks using div tags. There is a form in a div tag which is at the top …

Web Development php
Member Avatar for harshm027
0
111
Member Avatar for varoluscu_prens

Hi There; I am learning how to establish a connection to mysql in c#. Here are my codes : using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using MySql.Data.MySqlClient; public partial class _06_web_form_elemanlari_08_button : System.Web.UI.Page { protected void connect(Object Sender, CommandEventArgs arguman) { try { MySqlConnection …

Web Development asp.net c# mysql
Member Avatar for G_Waddell
0
222
Member Avatar for vidyade

if (IsPostBack && DDLCount > 0) { CreateDropDownLists(); } } public int DDLCount { get { object temp = ViewState["DDLCount"]; return temp == null ? 0 : (int)temp; } set { ViewState["DDLCount"] = value; } } private void CreateDropDownLists() { if (DDLCount == 0) DDLCount = Convert.ToInt32(TextBox4.Text); for (int i …

Web Development asp.net open-source
Member Avatar for G_Waddell
0
99
Member Avatar for mani508

hello i want to download file in asp.net using c#? i upload a file with filename+ path+guid.. i want to download this file on page ..user can see download file link and download the file how its possible in asp.net Using c#...? kindly tellme as soon as possible thanks in …

Web Development asp.net file-system
Member Avatar for G_Waddell
0
170
Member Avatar for zagam2

Hi I need to do in wordpress, when we click on readmore post option then post will open in a popup window , (show full post in popup or show only after readmore link) Can some one give me any plugin for this or any code or guide line..! thanks …

Web Development php wordpress
Member Avatar for vaibhav_j
0
164
Member Avatar for abathurst

I am having trouble with databinding when trying to add it to a dropdownlist. I can get it to work with a label: <asp:Label ID="Label3" runat="server" Text='<%# Eval("Location") %>'></asp:Label> But when I try with the DropDownList I get this error and I can't seem to find an answer for it. …

Web Development asp.net
Member Avatar for abathurst
0
1K
Member Avatar for harshm027

Hi, I am designing a system wherein a student can search projects based on technology, project type, location etc etc. The search form goes like this :- Project Type - HTML Select Option - Example:- Automobile, Manufacturing, Marketing, Communication Technology - Text Input Type - Example:- HTML, CSS, Java Starting …

Web Development html-css mysql php
Member Avatar for harshm027
0
3K
Member Avatar for dwlamb

I am looking for a method with one or more php functions for manipulating form textarea data. I want to clean it up by indenting it and wrapping it after a certain length with EOL but not necessarily html <br> or <br /> before it is inserted in My database. …

Web Development php
Member Avatar for dean8710
0
109
Member Avatar for mbarandao

I'm populating a chained linked dropdown box with the following code: $(document).ready(function() { var data = <?php echo $arr;?>; var id; function getData(passCatID){ var content = ''; var content = '<option name="specify id="specify" style="background: url() right no-repeat; width: 20px">------SPECIFY-----</option>'; var product_desc = ''; var invt = ''; var qty = …

Web Development javascript javascript-jquery
Member Avatar for mbarandao
0
246
Member Avatar for divyakrishnan

Hi... I want to display associative using variable as its key value. I used the following script. But it is not functioning. <body> <?php if(isset($_POST['st'])) { while ($item = current($_POST)) { echo $_POST[$key]; next($_POST); } } ?> <form id="form1" name="form1" method="post" action="mysql_inj.php"> <p> <label for="textfield"></label> <input type="text" name="t1" id="textfield" /> …

Web Development php
Member Avatar for ko ko
0
2K
Member Avatar for PF2G

Hi, i'm using a javascript so i can do a messagebox confirmation, and then it goes to a .php where is the delete sql. But is not working: <!----------------------------------------------> <script language="JavaScript"> function confirmBox(id) { if (confirm("Tem a certeza que pretende eliminar este utilizador? ")) { location.href="remover_user.php"; } else { return …

Web Development php
Member Avatar for jmichae3
0
178
Member Avatar for mbarandao

Hi: I was wondering if it is possible for an click() element for jquery to call another document.ready() element from within. Here is what I mean: I have: $('#addrow').click(function(){ $('.item-row:last').after('<tr class="item-row"><td valign="top" align=center style="border-left: 0px solid #cccccc;" width="100%" class="item-name"><div class="delete-wpr"><?php echo $dd2;?><a class="delete" href="javascript:;" title="Remove row">D</a></div></td><td valign="top" align=center ><select id="service_subcat_1" …

Web Development javascript javascript-jquery
Member Avatar for mbarandao
0
135
Member Avatar for Elandir

Hello there! I've been trying to import data from csv file to remote postgre database with no luck. Locally i can do it with simple COPY query, but that only works because i'm superuser. \COPY command also works when i run it in psql. So the question is: how can …

Web Development php postgresql
Member Avatar for Elandir
0
180
Member Avatar for jamojo

Hello everyone, I am trying to play a HTML5 Video using a MP4 file hosted in Amazon S3. I found a file called S3.php and this is the method that I am using public static function getAuthenticatedURL($bucket, $uri, $lifetime, $hostBucket = false, $https = true) { $expires = time() + …

Web Development html-css php video
Member Avatar for veedeoo
0
1K
Member Avatar for afrogfx

**can help me please .. when i need to remove MAX_SIZE from my code and $dir='upload'; because function create thumbnail in images folder Nd i think error in this code if(move_uploaded_file($t_name,$dir."/".$name)) {** <?php //define a maxim size for the uploaded images define ("MAX_SIZE","1000"); // define the width and height for …

Web Development image php unix
Member Avatar for Squidge
0
245
Member Avatar for Duki

Hey everyone, I'm pretty new to web design in general, so I'm not really sure how to get started with this. I have a wordpress site that I would like to be able to manage user profiles on. The built in account management stuff works great for regular logon/off sessions, …

Web Development php web-design wordpress
Member Avatar for veedeoo
0
151
Member Avatar for ehpratah

hi i'm just wondering on how can i make all the type text in my textbox all uppercase using php? tnx Alot..

Web Development php
Member Avatar for designershiv
0
178
Member Avatar for mani508

hello i want to hide right sidebar and some hyperlink in master page in asp.net? how its possible ? kindly tell me as soon as possible?

Web Development asp.net
Member Avatar for JorgeM
0
129
Member Avatar for richlacey

Hi there guys, I wonder if you could help. I have a small issue when using the below code with certain browsers mainly with the echo image part. at the moment the code checks to see if there is an image name in the field and then appends to the …

Web Development php
Member Avatar for richlacey
0
118
Member Avatar for Begginnerdev

Hello my fellow Daniwebers, I have a question for you. I have quite an odd problem that I have researched and have not been able to find a solution. I have a formview, named frmStatus, from which I am trying to retrieve controls to check for values. The form is …

Web Development asp.net
Member Avatar for Begginnerdev
0
168
Member Avatar for technoknol

hello there, i want to make my web application to desktop application. My application is in php so i want to create a exe file from php. is there any way ? thanks.

Web Development php
Member Avatar for technoknol
0
2K
Member Avatar for vijayram

Hi everybody, i created ajax uploader.what is the problem in my code. upload file failed message display. anybody,plz help me. This is the my action file. class pictureActions extends sfActions { /** * This function may update later when plugin is used. */ public function executeUpload(sfWebRequest $request) { $planbook_id = …

Web Development php
Member Avatar for pritaeas
0
130
Member Avatar for collinskawere

am getting an error that "Notice: Undefined variable: new_string in C:\wamp\www\plus256 beta\search.p". someone help me figure out wat's wrong coz am goin nuts. <?php include 'header.php'; echo '<div align="center">'; include('class.stemmer.inc'); include('cleaner.php'); include('connect.php'); if(isset($_POST['submit'])){ $search = $_POST['search']; $stemmer = new Stemmer; $stemmed_string = $stemmer->stem($search); $clean_string = new cleaner(); $stemmed_string = $clean_string->parseString($stemmed_string); …

Web Development php
Member Avatar for pzuurveen
0
354
Member Avatar for newbie1234

i made some pages. When i am running on xammp server, its working fine, every form gets submits and i can see data in database. After that i upload on net webserver, here page showing is ok. But when i am submitting the page than data is not comming in …

Web Development php
Member Avatar for phoenix_2000
0
93
Member Avatar for eoop.org

Hi, i am getting this error for an email activation function. can someone help me removing this error message and make it work? ## Error: ## Warning: mysql_result() expects parameter 1 to be resource, boolean given in /home/prevpxmj/public_html/core/functions/users.php on line 6 ## Code: ## <?php function activate($email, $email_code){ $email = …

Web Development email php
Member Avatar for tyson567
0
209
Member Avatar for prvnkmr449

<?php session_start(); if(!isset($_SESSION['userid'])) { print '<script type="text/javascript">'; print 'alert("Login to submit resume.")'; print '</script>'; header('location:login.html'); }?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> i try every thing still im getting the same problem Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/royal/public_html/submitresume.php:1) in /home/royal/public_html/submitresume.php on line 2 …

Web Development php session
Member Avatar for Szabi Zsoldos
0
419
Member Avatar for darthswift00

Id like to know how to display a logged in users name on a aspx webpage? The website is a music online store that can be view without logging into the site. If the user however wants to purchase a music album and they are not registerd to my site, …

Web Development asp display
Member Avatar for JorgeM
0
329
Member Avatar for jamojo

Hello everyone, can you please help me regarding on converting duration to milliseconds. I have a code below working but need to include the hours. I do not know what is the best practice regarding this but please advise. Thanks in advance. list($get_minutes, $get_seconds) = explode(':', '1:27:04'); $minutes = $get_minutes …

Web Development php
Member Avatar for diafol
0
116
Member Avatar for opticblaze

Hi there, I got the following challenge. I have a site that is hosted on a windows 2010 server and i am trying to get the website to send emails. The site runs on Apache 2.2.9, PHP 5.2.6 and we set it up to run on port 6000. I have …

Web Development apache email php
Member Avatar for Squidge
0
193
Member Avatar for ak47carbon

header is not working in iframe tag of html <!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=utf-8" /> <title>Untitled Document</title> </head> <body> <iframe src="blog3.php" frameborder="0" width="100%" height="600px" scrolling="yes" ></iframe> </body> </html> and at blog3.php there is a an header command <? ob_start(); ?> …

Web Development php
Member Avatar for diafol
0
185
Member Avatar for emclondon

I'm trying to upload an Image to PHP. The most common method I found out to do this was using FORM/POST; But that doesn't help me for what I am about to do. What I actually am trying to do is upload an image to PHP, the PHP Script will …

Web Development javascript javascript-jquery php
Member Avatar for pritaeas
0
689
Member Avatar for GlenRogers

I'm pretty sure this is done with php, but have no idea how to do it! I built a simple website for a friend that owns a reptile shop. But I need to be able to sort it so that he can change/update his own stock list. The stoock list …

Web Development php
Member Avatar for Squidge
0
152
Member Avatar for veledrom

Hi, Let me explain with an example. I have a postcode `NW1 5LR` and its `LATITUDE:51.546069024064 LONGITUDE:-0.235949008191785` coming from user entry. I also have many other postcodes and their Latitide&Longitide values in database. What formula should I use to get only those postcodes which are in 1 mil away maximum? …

Web Development php
Member Avatar for veledrom
0
99
Member Avatar for dwlamb

Good day, I am working on atomizing a template creating includes in a sub-directory called includes and calling them like this <?php include 'includes/head.php'; ?> I have also tried <?php include('includes/head.php'); ?> My page won't load. All I get is a blank browser window. I tried tailing the error.log and …

Web Development php
Member Avatar for Squidge
0
236
Member Avatar for Sorcher

Why is widdit loading on my website? it never stops loading and i havent used widdit before in any codes...etc. The widdit load is ruining my site.

Web Development php
Member Avatar for Widdit_Support
0
95
Member Avatar for mani508

Hello i want to include searching from internet(World wide web) in our website how its possible in Asp.net using c# ...? kindly send me source code or helpfull material as soon as possible ... thanx in advance......

Web Development asp asp.net
Member Avatar for JorgeM
0
204
Member Avatar for vinithktp

Hi All, I am facing an issue with apostrophe. Please look in to my code [CODE]String ss1="St: Mary's School."; out.println("<input type='text' name='shipTest' value='"+ ss1 +"'>");[/CODE] Output: St: Mary Not able to display letters after the apostrophe. Kindly help me to resolve this issue. Thanks in advance -- Vinith

Web Development java-jsp
Member Avatar for Manoj Phutela
0
904
Member Avatar for mbarandao

Hello: I need to obtain the text value of the select list instead of its numeric value. <select name="categories[]" class="categories" ><option value="0">--Select One--</option><option value="2">BRAKE SYSTEMS</option>.....</select> Based on the code above, I need to be get text Value "BRAKE SYSTEMS: rather than "2". Making the value equal to the text value …

Web Development php
Member Avatar for mbarandao
0
203
Member Avatar for rayidi

# How to access $_SESSION in jQuery ? # I'm developing a existing chat using jQuery with PHP. here is the code function createChatBox(chatboxtitle,minimizeChatBox) { if ($("#chatbox_"+chatboxtitle).length > 0) { if ($("#chatbox_"+chatboxtitle).css('display') == 'none') { $("#chatbox_"+chatboxtitle).css('display','block'); restructureChatBoxes(); } $("#chatbox_"+chatboxtitle+" .chatboxtextarea").focus(); return; } $(" <div />" ).attr("id","chatbox_"+chatboxtitle) .addClass("chatbox") .html('<div class="chatboxhead"><div class="chatboxtitle"><a …

Member Avatar for pritaeas
0
222
Member Avatar for salii

hello, I have a problem with database. there is a syntax error unexpected T_variable. could you please tell me what is the error in this script? thank you

Web Development php
Member Avatar for salii
0
1K
Member Avatar for Bisquick

The following script adds my affiliate extension to every url on my page. For example, if http://www.Google.com/ is on my page somewhere... Adding this script to the page will automatically change the url to- http://adf.ly/xxxxxx/http://www.Google.com/ - this goes for every url on the page... This script works great if the …

Web Development javascript
Member Avatar for pritaeas
0
341
Member Avatar for dgibbons82

I am currently working on a simple survey system for educational purposes. I know it is subject to SQL Injection, but I am new to PHP/MySQL and wanted to learn something basic so I have something to build upon later. Basically, I have an HTML form that processes the PHP …

Web Development mysql php
Member Avatar for broj1
0
5K

The End.