52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zia zia

I just want to know if this is the correct syntax for updating data in the database. [CODE]<?php $user_id = $_GET['user_Id']; $qry = mysql_query("SELECT win_id,win_net_drives,win_asset_no,win_new_pc,win_requirements,win_uid FROM windows_application WHERE win_uid = '".$user_id."'"); $db = mysql_fetch_array($qry); if($_GET['process'] == 1){ $drives = $_POST['network_drive']; $asset = $_POST['win_asset_no']; $newpc = $_POST['new_pc']; $winreq = $_POST['win_requirements']; $qry …

Web Development php
Member Avatar for rajarajan2017
0
157
Member Avatar for ayesha789

Hi, this is my option value. June is my Default selected Value, but there is a small issue. When Users select any month like January-2010, when he/she click on submit button. Page will show again June in Option. But I want which the user selects. [CODE=php]<td> <label>Billing Month <span class="small">Like …

Web Development php
Member Avatar for rajarajan2017
0
135
Member Avatar for tulipputih

Hi everybody, I would like to have functionalities & interface like this [url]http://www.bluenile.co.uk/diamond-search?filter_id=0&track=head[/url]. Currently, the search result and checkbox are presented as in the above example. However, I am not sure of where should we keep the checked value to have something like in the bottom. ( all selected record …

Web Development php
Member Avatar for tulipputih
0
271
Member Avatar for healthbasics

Can anyone tell me what the best option for getting the dynamic title AND dynamic meta description on my particular site setup would be? I have an index.php but all of the individual page content is stored in a subdirectory called \html\ it's stored as .html files and is called …

Web Development php
Member Avatar for vibhaJ
0
78
Member Avatar for ayesha789

This code is about months and year options. When you change the months or Year and press Submit button it will show selected month and year which you sleclet. This will be helpful for you all.

Web Development php
0
133
Member Avatar for dan1992

i have done a login form but its giving error :9 can somwan help me[B] index.php[/B] [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"> <title>Login Panel</title> </head> <body> <form action="login.php" method="POST"> Username : <input type="text" name="username" > Password : <input type="text" name="password" > <input …

Web Development php
Member Avatar for dan1992
0
170
Member Avatar for teddy99

Hi all, Here's my first post. I have a problem which I've worked on for a while now. I'm new to php, html, scripts, but I'm a very quick learner and have worked in IT for years, so hopefully someone can point me towards what I need to do/learn to …

Web Development open-source php
Member Avatar for pzuurveen
0
106
Member Avatar for xofth

unable to put new line in this code i try "\n" , <br/> but not working i want that when this docoment write in the file data.txt there should be new line between First name, last name and email [CODE]<?php $file = fopen("data.txt", "a+"); fwrite($file,"First name:$_POST[fname] Last name:$_POST[lname] Email:$_POST[email] Comment:$_POST[comment]"); …

Web Development php
Member Avatar for xofth
0
97
Member Avatar for deeptakshd

i created a page for searching records from database it is working well for repeater control but i want to display result in gridview......plz help [code] <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" /><asp:Repeater ID="Repeater1" runat="server"> <HeaderTemplate><table width="100%"><tr><th>NAME</th><th>LAST_NAME</th><th>EMAIL</th></tr></HeaderTemplate> <ItemTemplate> <tr><td><%#DataBinder.Eval(Container.DataItem, "fname")%></a></td> <td><%#DataBinder.Eval(Container.DataItem, "lname")%></td> <td><%#DataBinder.Eval(Container.DataItem, "email")%></td></tr> </ItemTemplate> <FooterTemplate></table></FooterTemplate> </asp:Repeater> [/code] …

Web Development asp.net web-server
Member Avatar for dnanetwork
0
184
Member Avatar for danny4444

Hi, im a new user, and fairly new to ajax. I'm trying to create a blog that uses RSS. The problem is that google chrome displays the results from the rss.php script, yet Internet Explorer does not. Any help would be greatly appreciated. Here are the functions i am using …

Web Development javascript xml
Member Avatar for danny4444
0
153
Member Avatar for meo_spt

I want to code a page index.html, when loading this page, we will show a child form, its name is child.html, and disable body of index.html, when i closed child form, the index.html must be enable. This resembles Daniweb page, when i click member login.... Everybody can tell me a …

Web Development php
Member Avatar for EvolutionFallen
0
83
Member Avatar for zia zia

Hi Guys! I want to know how to limit the no of records to be shown in dropdown list from mysql.Below is my code. I just want to list 4 records from colum name 'department_name'. The colum has 11 records in total. [CODE]<select class="ac" name="area" > <?php $qry = mysql_query("SELECT …

Web Development mysql php
Member Avatar for zia zia
0
109
Member Avatar for ariez88

I want to monitor the activities of all the folders present at "C:\Inetpub\ftproot\san".User can work on any type of files and not only text files.Since we have given 1GB space (lets say) to each user, so user can do anything to utilize this space. Variable "id" is redirected to this …

Member Avatar for kvprajapati
0
179
Member Avatar for sbabanli

Hi, My question may be very simple [B]How to know that subscriber has received my letter (i need get message or mail from my script)?[/B] I need just to know statistics of my subscribers receiving (even not opening it) my newsletter.I need just code in PHP. best regards

Web Development php
Member Avatar for sbabanli
0
82
Member Avatar for iqra123

helloo i have to communicate between two users and i want to do it through e mails. how can we send messages on email address in php??? do we have to use any e mail server?? plz help !! Regards!

Web Development php
Member Avatar for iqra123
0
136
Member Avatar for alfredtiu

Hi everyone, can you check for me if my codes below are correct? i am having problem to retrieve my image file from mysql database. The errors start at "header" parts. I have no problem to store image file (mediumblob) in mysql database. The file shown are in HEX forms. …

Web Development image mysql php
Member Avatar for kalpanasarvan
0
350
Member Avatar for andydeans

Hi, New to PHP, wondered if anyone could point me to a script that would do the following: get email address from a website. Basically there is a site that is open for public viewing with addresses and phone numbers and email addresses that my client would like to target. …

Web Development php xml
Member Avatar for chrishea
0
104
Member Avatar for eantz

Hi there, Someone using symfony? help me, please.. I have form class that I embed to another one.. In the embedded form, I have multiple checkboxes. But when I try to save it and I check some value of checkboxes, the error said "SQLSTATE[HY093]: Invalid parameter number: number of bound …

Web Development php
Member Avatar for eantz
0
277
Member Avatar for GaneshKumar1508

HI to all, I am in need of escaping the regular expression special characters like '/', '.', '*', '+', '?', '|','(', ')', '[', ']', '{', '}', '\'. I have try with this by the following javascript but i can not achieve that. [code]RegExp.escape=function(str) { if (!arguments.callee.sRE) { var specials = …

Web Development javascript regex
Member Avatar for GaneshKumar1508
0
366
Member Avatar for AliHurworth

Hi, I'm struggling with writng an AJAX query function. It seemed to work in IE and Opera, but not in Firefox - but now won't seem to fire at all. The page can be seen at: [url]http://localhost/CRITS/index.php[/url]. Waht should happen is that as you click on the top left image, …

Web Development javascript open-source
Member Avatar for AliHurworth
0
145
Member Avatar for ppetree

OK, so I think its a simple question but since I am extremely new to ajax and really trying to figure it out I'm not sure how/where to really start with this. What I want is a piece of code that reads a table and inserts new entries into a …

Web Development javascript
Member Avatar for ppetree
0
107
Member Avatar for andydeans

Hi , i have used some gui tools to generate my php code from database and i need some help with the search form. basically the tools only created the search of dates in US format so someone had to write a cusotm function for it to display as UK …

Web Development gui php
Member Avatar for sergb
0
101
Member Avatar for ohgee

I am currently writing code to populate a select tag with all the hours of the day. I recently rewrote a function that will populate a temporary select tag based off a time passed in as an argument and then return the temporary select at the end. When I attempt …

Web Development javascript
Member Avatar for sergb
0
277
Member Avatar for ArtistScope

ASP code snippet to detect visitors and monitor their current activity. Monitor and display which visitors are currently visiting which web page, IP number, user-agent, language preference, page referrer and more. In the settings file you can specify for how long to retain the display, for example show visitors activity …

Web Development asp
0
294
Member Avatar for Silvershaft

I followed a tutorial on [url]http://www.phpeasystep.com/workshopview.php?id=6[/url] and I think it's not working properly for me. When I try to start the session in my sidebar thing it won't actually start somehow :S [code]<div id="sidebar"> <h2>[<a href="?page=home">Samppa's page</a>]</h2> <h3>&nbsp;Main menu</h3> <ul class="menu"> <li><a href="?page=about"> >> About</a></li> <li><a href="?page=projects"> >> Projects</a></li> <li><a …

Web Development php session
Member Avatar for mrcniceguy
0
322
Member Avatar for Z_KiNGPiN

I think maybe this is the right thread for it since i found out Google map control can be created using AJAX. so the question is simple, How to create Google Maps Control ? preferably in an ASP.Net environment. Found a source code here (GNU licensed) but it's too complex …

Web Development asp.net google-api javascript
Member Avatar for Z_KiNGPiN
0
238
Member Avatar for D4n1sD

Hello to everybody. Lately I have been working into a forum and I have been offering free e-mail accounts with my domain to all the people that register to my forum. However few of them will bother to use outlook for that, so I thought to make a login/registration page …

Web Development php
Member Avatar for Rhyan
0
93
Member Avatar for deeptakshd

every thing if working fine when i am sending mail to single address..but i m not been able to find out a way to send mail 2 multiple addresses....plz help me......... [code]using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using …

Web Development asp.net email
Member Avatar for deeptakshd
0
142
Member Avatar for GLT

how do I upload a file into the database from dreamweaver? I have used a file field in the form but will this automatically upload no problems? cheers! GLT

Web Development asp
Member Avatar for ArtistScope
0
192
Member Avatar for Deemar

Here's how I'm creating my form: [CODE] foreach ($all_rows as $column) { print ("<tr>"); print ("<td>". $column['name'] . "</td>"); print ("<td><input type='text' name='form1[".$column['id']."][materialsPrice]' id='".$column['id']."' value='".$column['materialsPrice']."'/> <input type='hidden' name='form1[".$column['id']."' value='"."' /></td>"); print ("<td><input type='text' name='form1[".$column['id']."][labourPrice]' id='".$column['id']."' value='".$column['labourPrice']."'/> <input type='hidden' name='form1[".$column['id']."' value='"."' /></td>"); print("<td><input type = 'checkbox' name = 'form1[".$column['id']."][quantityCheckbox]' id = …

Web Development php
Member Avatar for sourcebits
0
226
Member Avatar for ohgee

I am currently trying to make an html link that will add elements (specifically, drop down menus) to the current page when you click it. Since I am adding all the elements to the page using JavaScript, I'm not sure how to set up the link to call a function …

Web Development html-css javascript seo
Member Avatar for ohgee
0
1K
Member Avatar for baudday

I have a picture of my database design attached. Basically what I'm wondering is if there is a way that I can use the foreign keys I have set up. For instance, shirtColorsLink contains two columns, shirtId, and colorId. Both are foreign keys from the shirts table and the colors …

Web Development database-design php
Member Avatar for baudday
0
98
Member Avatar for vinithktp

Hi All, I have maintained an EJB application, and its working fine with my local machine. But same EAR file not reflecting properly from the server machine. Still i can see my old version of the apllication from server. I deleted the EAR file and redeployed it, but no changes, …

Web Development java-jsp
0
72
Member Avatar for gazzy1

HI, THNX FOR HELPING IN MY LAST POST. Now i wants the help in follwing problems. i have a table in my sql named as "retailer001". i have a php page that have the data entry form of all field that are in mysql table. my table retailer001 having 11 …

Web Development php sql
Member Avatar for KamranArshad
0
130
Member Avatar for Muad Dib

Suppose I wanted to create multiple websites hosted on different servers, but I want some certain duplicate contents (e.g. news box that shows same headlines and news on both sites). The sites will be different, just the news box will have duplicate contents. What would be the best approach for …

Web Development asp.net
Member Avatar for Muad Dib
0
171
Member Avatar for Emeraldwebshane

Hey Guys I have just started to learn PHP and have been using a book called "PHP For Absolute Beginners" now i have found a fair few mistakes in the book which i have corrected myself but i have come across an issue which is probably a simple fix by …

Web Development php
Member Avatar for Emeraldwebshane
0
112
Member Avatar for choralqiu

[code] Dim subString As String() = Nothing subString = textBox.Text.Split(" ") searchSource.SelectParameters.Item("ContentText0").DefaultValue = subString(0) searchSource.SelectParameters.Item("ContentText1").DefaultValue = subString(1) [/code] Here's what i'm trying to do. So if I two words put into the textBox, this will work. But I'm really not sure how to modify this so it can fit the …

Web Development asp.net
Member Avatar for choralqiu
0
74
Member Avatar for sunilpro

Dear members, I am new for Php, wish to develope two dropdown list. One listing all DB's availabe with MySQL and on selection of one DB second should list tables in that DB ( with no 'GO' type button). Once Table selected third dropdown will list fileds availabe, Can some …

Web Development php
Member Avatar for Rhyan
0
177
Member Avatar for Geertc

Hello, This is my first appearance on a forum ever, I am fairly new at programming and I have following question : If I make a INSERT...SELECT statement (to transfer data from one table to another) in a MySQL-editor, the statement gets executed once ; the same statement in my …

Web Development php sql
Member Avatar for Geertc
0
171
Member Avatar for aMOEBa

I need to write a method to return the number of rows I have in my table. This code I've written so far; [code] <pre><?php class Database { private $connected=false; private $user,$pass,$host; private $db; private $result=array(); public function initialize($user, $pass, $host) { $this->user=$user; $this->pass=$pass; $this->host=$host; return $this; } function connect($dbname) …

Web Development mysql php
Member Avatar for aMOEBa
0
97
Member Avatar for avinash020

I am getting huge data from database approx a million and trying to store it using csv format in excel like : response.setContentType("application/ms-excel"); response.setHeader("Content-Disposition", "inline;filename=newfile.csv"); but as the data is huge and excel can take only 65K at one time its failing. Please let me know how to download data …

Web Development java-jsp
Member Avatar for stephen84s
0
362
Member Avatar for aarya

hi i am trying to insert into mysql databse using jsp.but i am getting the error as [CODE]An error occured between lines: 38 and 47 in the jsp file: /jsp/havyaka/register.jsp Generated servlet error: C:\tomcat\work\localhost\examples\jsp\havyaka\register$jsp.java:102: Incompatible type for declaration. Can't convert int to java.sql.ResultSet. ResultSet rs = statement.executeUpdate("insert into havyak(usercode,password,email,name,phone,add1,add2,add3,add4,country) values('" …

Web Development email java-jsp mysql session sql
Member Avatar for gauravleoheart
0
451
Member Avatar for Arizona Web

We run a .Net environment, and we are adding a blog to our site. We would like to keep it consistent (keep it in .Net) and we would like to get the most bang for our buck (or free if it exists lol). Any suggestions?

Web Development asp.net seo
Member Avatar for briangillet
0
151
Member Avatar for Jean Gwyneth

Hi there, I am trying to create an upload functionality for my application. User can only upload an excel format file. I already have a standard formatted excel (which means i don't have to worry about the column fields,file extension, excel version etc..). User just have to fill the cells. …

Web Development asp.net open-source
Member Avatar for mono_jit23
0
179
Member Avatar for iamchamith

Hi... I have Question For maintain exceptions in ASP.net... I am use ASP.net 2.0 with C# as code behind file... My Question is we think in some web site some exception was [B]Not[/B] handle...There for There is the Exception occur... In that time,what,when that exception occur..want some globle page load,like …

Web Development asp asp.net
Member Avatar for rohand
0
120
Member Avatar for nabilamn

hai all. i got a problem to display a total from a few data in my database for example, in my database i got these fields: TABLE STUFF food double; clothes double; groceries double; total double; ---> should i put this in my table to save my total that will …

Web Development php sql
Member Avatar for scaiferw
0
199
Member Avatar for ayesha789

Hi, this is my file which showing result. I put check box for each result. [CODE=php]<? include("config.php"); echo "<form method=post name=myform action=b.php >"; $result=mysql_query("Select Distinct region,MaintainedBy From info"); while($ro=mysql_fetch_array($result)) { echo "<tr bgcolor=#FFFFFF style=color:#000000;>"; echo "<td>" . $ro[0] . "</td>"; echo "<td>" . $ro[1] . "</td>"; echo "<td><input name=id[] type=checkbox …

Web Development php
Member Avatar for ayesha789
0
135
Member Avatar for azegurb

hi there, I have taken script which fucntion as mysql connection. but there are somethings that i dont understand. does anyone can help me? Thanks in advance the code is below [CODE]function query($sql) { $link = new mysqli(DB_SERVER, DB_USER, DB_PASSWORD, DB_NAME) or die('There was a problem connecting to the database.'); …

Web Development php
Member Avatar for azegurb
0
109
Member Avatar for jatpatel1

Hi there, Is it possible to write description about an image without storing it in a db? I have a photo gallery and instead of using a database, I have used the dir() function to read all the files in the folder then put it in an array. It works …

Web Development php
Member Avatar for pzuurveen
0
119
Member Avatar for lisles

how to open datalist containing multiple images on click on link button in selectedIndexChanged [code] protected void SelectedIndexChanged(object sender, EventArgs e) { dlEvntImages.Visible = true; BLL_NewsAndEvents objNE = new BLL_NewsAndEvents(); objNE.title = dlEvents.DataKeys[dlEvents.SelectedIndex].ToString(); objNE.getImageDetails(); if (objNE.tests) { DataList dllEvntImages = (DataList)FindControl("dlEvntImages"); //Label lblMsg1 = (Label)FindControl("lblMsg"); Label lblMsg1 = (Label)dllEvntImages.FindControl("lblMsg"); //(dlEvntImages.SelectedItem.FindControl("lblMsg")); …

Web Development asp.net
Member Avatar for dnanetwork
0
553

The End.