17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for sakhi kul

hi to all, I want to ask about GUID. what is the main use of GUID in our database. I have seen that many developers uses GUID in user table(contains username and password) and they update GUID of that user each time when user login. In asp.net I have created …

Web Development asp.net
Member Avatar for sknake
0
101
Member Avatar for tuomari

I'm trying to make an .aspx page which would allow me to change values in the database. It has a datagrid which shows everything from one database table, and allows me to edit the data row by row. Everything goes smoothly as anything, but when I try i update the …

Web Development asp.net open-source sql
Member Avatar for dnanetwork
0
130
Member Avatar for futhonguy

Hi i am trying to display on the web browser to allow user to see information before the latest data is been updated. Hence, it will show: [B](1)previous existing data, (2)latest data and (3)data which is not found on the latest data list[/B]. To make things clear to solve the …

Web Development display php web-browser
Member Avatar for futhonguy
0
147
Member Avatar for maria_mj

How to display drop down list item based on value from other column in gridview during editing. My gridview have many column and are editable. User can edit data that was displayed in the gridview by click the "Edit" button. In EditItemTemplate, i have put a few drop down list. …

Web Development asp.net display
Member Avatar for maria_mj
0
3K
Member Avatar for daryll1

Hi I'm writing a piece of code to update a users password when they have forgotten it, but, for some reason I cannot seem to get it to work. It is always echoing out that the secret answer is wrong. It's probably something stupid that I have looked over, if …

Web Development mysql php
0
82
Member Avatar for gabrielmusa

i have a form that is opening a popup page at some point but i can not get the value from the popup page that is selected from a gridview to the form.

Web Development asp.net
Member Avatar for gabrielmusa
0
97
Member Avatar for Szabi Zsoldos

Hey guys, I know that the query is not good, but i CANT see the problem. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\XAMPP\xampp\htdocs\betania\modify.php on line 8 Could you please help me out? [CODE] <?php include "connection.php"; if(!isset($_POST[submit])) { $q = mysql_query("SELECT * FROM inscrieri WHERE …

Web Development html-css mysql php
Member Avatar for Szabi Zsoldos
0
146
Member Avatar for Stefano Mtangoo

Hi buddies, I need to pass data among servlets and I find it very hard. What I have so far is passing it via session variable but that crashes my app now and then and seem to be bad approach. How do you transfer data among servlets without crashing the …

Web Development java-jsp session
Member Avatar for Stefano Mtangoo
0
79
Member Avatar for RichmondJim

I'd like to create a simple PHP form that will allow my website user to make a payment on their account with us using PayPal. I'd like them to enter their name, email address, account number, and the amount they'd like to pay. I would then like to pass this …

Web Development php
Member Avatar for RichmondJim
0
154
Member Avatar for jamshed ahmed

[CODE] function AdminValidate() { if(document.getElementById("txtdate").value=="") { alert("PLEASE ENTER DATE..."); return false; } <asp:DropDownList ID="drpAgentId" runat="server" AutoPostBack="True" onselectedindexchanged="drpAgentId_SelectedIndexChanged" onchange ="return AdminValidate()" > [/CODE] as in above code it works fine if txtdate is empty it alerts a but when textdate is not empty then it does nothing i mean i want …

Web Development asp.net javascript
Member Avatar for dnanetwork
0
80
Member Avatar for cloud09

Is there any reason not to echo content like this: [CODE] <!--Some content up here--> <?php if($variable === true) { ?> <span>Some Content</span> <img src="some_img.png" alt="img"/> <?php ;} ?> <!--Some more content down here--> [/CODE] Or should I be directly echoing everything that is dynamic?

Web Development php
Member Avatar for cloud09
0
135
Member Avatar for Emiliya

Hi all... I have a text box in a popup window and i need to pass the value from the textbox to the parent page.My problem is iam able to pass the value at the 1st time,but the next time when i try to do this im not getting the …

Web Development javascript
Member Avatar for Emiliya
0
2K
Member Avatar for mrjoli021

Why am i getting this error: Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in /Users/Joli/Sites/TestSite/index.php on line 47 [code] $conn = mysqli_connect("localhost","sql","password","db") or die("Query died: Connect"); $checkSql="select count(id) as eCount from address"; $result = mysqli_query($conn,$checkSql); $row = mysqli_fetch_assoc($result); if($row['eCount'] == 6){ $disable = 1; } [/code]

Web Development mysql php
Member Avatar for ShawnCplus
0
107
Member Avatar for egoche

Is it possible to change the CSS class of an entire table row using JavaScript?

Web Development html-css javascript
Member Avatar for egoche
0
215
Member Avatar for bjeffries

is it possible to use PHP to update an RSS feed. I dont already have the RSS feed created, but my site is finished, well for now it is, and want to know if it is possible to do this. My site is scripted using PHP and and every time …

Web Development php xml
Member Avatar for bjeffries
0
200
Member Avatar for kram54

hi everybody .. i want to use post method but not working i dont send to data ... pls help me[code]//i want to send userID and roleID in database .. i use to this code ::: <?php echo "<table border='1'> <tr> <th><font color='white'><h3>User ID</font></th> <th><font color='white'><h3>User Name</font></th> <th><font color='white'>Roles</font></th> </tr>"; …

Web Development first-post php
Member Avatar for kram54
0
113
Member Avatar for Checkerboz

Okay first of I want to apologize for the horrible title, I really couldn't come up with a decent title to be honest. Here's my problem, I am kind of new to all this but I'd like to try making (just for fun of course) a database. I have a …

Web Development php
Member Avatar for Checkerboz
0
291
Member Avatar for Z_KiNGPiN

Hey, Umm, I'm New to this Forum ... and extremely New to ASP.Net ... have some insight into C# though I was trying to make a website on ASP .. now the problem is, when we access a website 'Index.html' is the first thing that is accessed, but what is …

Web Development asp asp.net display
Member Avatar for Z_KiNGPiN
0
149
Member Avatar for whiteyoh

Hi All, I have 2 tables of data, 1 is countries and the other is provinces within those countries. My problem is that accents are showing up as special characters. eg. Trois Eveches is showing as Trois ?av?tmch?copys

Web Development php
Member Avatar for whiteyoh
0
65
Member Avatar for smariano77

Hi, this it's my problem. I have a textBox and a label. In the textbox an email address should be written. Then, when you click the label a inline popUp appears (this one to be more specific:[URL="http://orangoo.com/labs/GreyBox/"] http://orangoo.com/labs/GreyBox/[/URL] ) The thing is that I have to send the email address …

Web Development asp asp.net
Member Avatar for smariano77
0
162
Member Avatar for Pleasant Day

Hi, I'm a beginner with html and javascript, so I try and edit other peoples free codes, Ive got some input boxes and I want to change the colour of them, they are the default white, I want them transparent, there is no code I can see that says its …

Web Development javascript
Member Avatar for Pleasant Day
0
413
Member Avatar for furqan219

Its working PERFECTLY In IE6 But in Chrome Back Button is not Working. Code for Back button [CODE]<td><a href="lims_New_North.php"><img name="lims_pages_r5_c2" src="images/lims_pages_r5_c2.jpg" width="74" height="23" border="0" id="lims_pages_r5_c2" alt="" /></a></td>[/CODE] There is no Issue with Pagination above Back link not work in Google chrome but work in IE6 code Pagination [CODE=php]<?php /* Place …

Web Development php ui-ux web-browser
0
121
Member Avatar for G_Waddell

Hi Folks, I wonder if anyone knows what is happening here because I'm very confused... I have some nested repeater that I'm using to display a list of Categories, projects and tasks on my ASP.net site written in VB.net i.e. Repeater 1 Category Repeater 2 Project Repeater 3 Task In …

Web Development asp.net client-server vb.net
Member Avatar for G_Waddell
0
358
Member Avatar for newbeejava

Hi, I am creating a web application. In that I have multiple radio button and two button. What I want to do is-- I want to choose a radio button and according to that value if I will click the button1, I want to display a different jsp page. But …

Web Development java-jsp
Member Avatar for Stefano Mtangoo
0
129
Member Avatar for Stefano Mtangoo

Hi All, I have JSP and Servlet that need to "talk" to each other. Actually I need to get record from database, fill it in JSP file. I have created Servlet that does the query and gets the result. I need those results to be shown on JSP file. In …

Web Development html-css java-jsp session
Member Avatar for Stefano Mtangoo
0
141
Member Avatar for grafiksinc

Hello All, I have a Web Application I am developing that has a GridView. I have searched the internet to no avail looking for an answer to this. The gridview has 11 columns. I want to hide the 11th column while in normal mode and make visible while in edit …

Web Development asp.net vb.net
Member Avatar for grafiksinc
0
134
Member Avatar for hitro456

Hi folks, I have a web page...which has a drop down box. whichever value is selected from that drop down certain number of labels and text boxes have to be created accordingly. [Actually database drives this...] Can anyone tell me, how can I achieve this ???? One more thing...I wanna …

Web Development asp.net
Member Avatar for smariano77
0
92
Member Avatar for LloydFarrell

Can someone tell me why I am unable to update a table in mysql using php with session data. First of all, I have done some reading around daniweb and Im not sure if i should be using UPDATE or INSERT to update the table. I have session_start(); at the …

Web Development mysql php session
Member Avatar for LloydFarrell
0
2K
Member Avatar for Chammarox

Hi Every one !!! I want to know how i need to capture a duplicate value in database..For example if user enters the same E-mail which already in the database, I want to give a javascript alert or else re-direct to another page and wants to tell that "This is …

Web Development asp.net session
Member Avatar for Chammarox
0
128
Member Avatar for Chammarox

Hi All the members in DaniWeb :cool: I need to know how to end a created session when user log out from the web site..I have created a web-site for my assignment..and i put Sessions..Each time user log in to system it create session object and identifies the user.. What …

Web Development asp.net session
Member Avatar for paslanmaz
0
139
Member Avatar for GeoffC

I have a parent table and a child table linked with an Id. The child table has two fields - ch_id and item. The parent table has a field which stores the value of ch_id for that row. I have set up a php script to generate a selection list …

Web Development linked-list php
Member Avatar for GeoffC
0
83
Member Avatar for borntowin_786
Member Avatar for nadskap2

Hey... I've got some problems with jQuery. Code: jQuery: [code] <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".bspicdiv").animate({height:0},"fast"); $(".bspicdiv").animate({width:0},"fast"); $(".bspic").click(function(){ $("#box").animate({height:500},"fast"); $("#box").animate({width:500},"fast"); $(".bspicclose").click(function(){ $(".bspicdiv").animate({height:0},"fast"); $(".bspicdiv").animate({width:0},"fast"); }); }); }); </script> [/code] PHP/HTML: [code] echo "<a class=\"bspic\" href=\"#\"><img border=\"0\" src=\"./bsbilleder/".$file."\" height=\"80\" width=\"80\" /></a>"; echo "<div class=\"bspicdiv\"><a href=\"#\" class=\"bspicclose\"><img border=\"0\" src=\"./bsbilleder/".$file."\" height=\"450px\" width=\"450px\" /></a></div>"; …

0
69
Member Avatar for nadskap2

Hello there members of DaniWeb :) Im making a website for my father but suddenly an error came up :( Error: Parse error: syntax error, unexpected '(' on line 44 Code: $first = true; $include_file = "./inc/acp.php"; foreach($_GET as $key => $value) { $include_file .= (($first)?("?")("&")) . $key . "=" …

Web Development php
Member Avatar for almostbob
0
79
Member Avatar for anoopasta

Dear All, I have a dedicated server with Godaddy and I am running XMLDigitalSignatureAPI on it. It works fine on my local server but when I uploaded the war file to the production server I got the error below and if I try to refresh the page again I get …

Web Development java java-jsp xml
Member Avatar for anoopasta
0
273
Member Avatar for Deey

hello. i have a code that looks like this: [CODE]$localdir = 'C:/somedir'; $dh = opendir($localdir); echo '<table><form method="post" action=""><input type="submit" value="Add checked" name="doneA" />'; while(($files = readdir($dh)) != false) { if ($files != "." && $files != "..") { echo '<tr><td><input type="checkbox" name="' . $files . '" /></td><td>' . $files …

Web Development php
Member Avatar for Deey
1
101
Member Avatar for koxy911

Hi all! I need some help. What I need is, to make a listbox, and fill it from a mysql database, which contains users from my website. The idea was, to select two or more users from that listbox, and after hitting a submit button, I would see the comments …

Web Development php
Member Avatar for koxy911
0
147
Member Avatar for paragouldgamer

I was wondering if there was a contains word to use with a mysql query, my current query is : //$query="SELECT * FROM $table WHERE date = '$selecteddate' AND Style = '$selectedstyle' AND Platform = '$selectedplatform'"; but the $selectedplatform isn't always the only thing in the Platform column, I just …

Web Development mysql php
Member Avatar for shekar.bdn
0
86
Member Avatar for CFROG

All arguments aside from using $html->tag() instead of <tag> ... I'm a trying to create a table to display photos I'm pulling from the database and something is amiss. When I was testing this I changed $num_cols to 2 and it ended the row and started a new one after …

Web Development php
Member Avatar for CFROG
0
104
Member Avatar for Th3nutz

Hello, i think the title describes exactly what my problem is. Please if anyone knows something post.

Web Development actionscript flash php
Member Avatar for Chosen13
0
111
Member Avatar for nonshatter

Hi all, I have a been developing an Online auction website using PHP and Mysql for the last few weeks. I have implemented everything including the 'bidding', 'buy it now' options of the auction etc. I don't know much about AJAX to be honest, but I think it is the …

Web Development javascript
Member Avatar for fxm
0
4K
Member Avatar for ddempsey96

I am having the strangest problem. Here is my code: <c:set var="updAlloc" value="" /> [CODE]<if test="${1==0}" > If Statement: ${1==0} <c:set var="updAlloc" value="disabled" /> </if> Update Alloc equals ${updAlloc}[/CODE] This is the output: [CODE]If Statement: false Update Alloc equals disabled[/CODE] Originally, I was testing a different variable, but realized that …

Web Development java-jsp
Member Avatar for ~s.o.s~
0
87
Member Avatar for Stefano Mtangoo

I wonder why this does not insert data :-O [CODE=JSP] <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@page import = "java.sql.*" %> <%--@page import = "dbfiles.*" --%> <% //VDbManager mgr = new VDbManager(); String sqlApp = "INSERT INTO application VALUES (NULL, 810, 2010-08-26, 2010-10-27, 30, \"Dummy Leave\", \"Dummy Reason \", \"Applied \")"; Class.forName("com.mysql.jdbc.Driver"); Connection …

Web Development java-jsp
Member Avatar for Stefano Mtangoo
0
180
Member Avatar for eagled2

I am creating a page of articles for a site i'm working on. The current page i'm creating needs a list of articles by date. I want to have it list the year the article was posted as a header then list only the entries for that year underneath. I …

Web Development mysql php
Member Avatar for eagled2
0
141
Member Avatar for ncnet

Hello. I am trying to get a chart to display a chart image inside a gridview. This image will be populated with data relating to the particular row. The image currently shows but all series collections will not appear and the image is showing data that only relates to the …

Web Development asp asp.net display web-server
0
74
Member Avatar for k2k

if i have 10 pages and each of the page has the same navigation bar, i don't think duplicating the code again and again in every page is the right solution... what do the pro normally do? ** i tried to use a frame inside one of my div tag …

Web Development javascript
Member Avatar for k2k
0
111
Member Avatar for David Mac

The users of my web application are complaining that the 20 min default timeout is too short and they don't want to have to keep logging in. I have tried changing the timeout from the default 20 mins but whatever I set it to it seems to have a max …

Web Development asp.net session
Member Avatar for David Mac
0
375
Member Avatar for AlexTaylor

Has anyone noticed that when you do a "find on this page" in Internet Explorer (7 and 8), which causes the page to scroll down, the onscroll event isn't fired? I have a situation where I need the onscroll event to be fired under those circumstances. Does anyone know a …

Web Development asp.net
Member Avatar for AlexTaylor
0
65
Member Avatar for senthil12345

hi all, i have a problem when i click the link in jsp page. whenever i am clicking the jsp page link it wants to open a pdf file, the pdf file is located in remote system. its working properly in Internet Explorer. but i am opning this in FireFox …

Web Development java-jsp open-source pdf
Member Avatar for saikatparbat
0
301
Member Avatar for antman89

<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="cart.aspx.vb" Inherits="cart" title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" ForeColor="Black" GridLines="Vertical" style="z-index: 1; left: 293px; top: 711px; position: absolute; height: 184px; width: 985px" AutoGenerateColumns="False" DataKeyNames="OrderID" DataSourceID="SqlDataSource1"> <Columns> <asp:BoundField DataField="OrderID" HeaderText="OrderID" InsertVisible="False" ReadOnly="True" …

Web Development asp.net
Member Avatar for dnanetwork
0
191

The End.