17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for masoudnia

hello firends. I am learning php and I install wamp but now i dont know what i must do for using wamp server and how i must execute my projects?

Web Development php web-design
Member Avatar for diafol
0
171
Member Avatar for raq_0619

Hi Guys... me and my partner has a problem regarding printing a web page. We only wanted to print the body or one part of the page that we really need - a form to be exact. We were able to find codes with the help of Google but this …

Web Development javascript
Member Avatar for fxm
0
425
Member Avatar for MARKAND911

I want to open a Ajax Modal popup when a linkbutton is clicked which is in gridview. please help me.

Web Development asp.net
Member Avatar for MARKAND911
0
95
Member Avatar for ben.matthews18

Ok here is the situatation, I have three tables set up; 'Users' 'Profile' 'Linkingtbl' The 'Users' table holds the following data; [LIST] [*]Email (PK) [*]Password [/LIST] The 'Profile' table holds the following data; [LIST] [*]ProfileID (PK) [*]Firstname [*]Lastname [*]DOB [/LIST] The 'Linkingtbl' table holds the following data; [LIST] [*]ID (PK) …

Web Development php sql
Member Avatar for madison12
0
450
Member Avatar for jazz_vill

I want to know how will I pass this table values using a form. I have a list of products and each item belongs to a section and each section has different attributes. The attributes section are columns where the user can input a number of products he wants to …

Web Development php
Member Avatar for Designer_101
0
189
Member Avatar for jamshed ahmed

[CODE] <script language="javascript" type="text/javascript"> function Calcaulate() { if(document.getElementById("drpPhoneList").value=="Home Phone Lite") { var txtRegular= document.getElementById("txtRegularRs").value; document.getElementById("txtTotalRegularRs").value=parseFloat(txtRegular); document.getElementById("TotalRsTaxes").value=parseFloat(txtRegular)+parseFloat(3.63); } </script> <input type="button" value="CALCULATE" onclick="Calcaulate()" class="button" /> <asp:Button ID="btnAdd" runat="server" Text="ADD" OnClientClick="return Validations()" OnClick="btnAdd_Click" class="button"/> [/CODE] as i have two buttons one is html and other is aps.net button what i want to …

Web Development asp.net client-server
Member Avatar for jamshed ahmed
0
2K
Member Avatar for the_dawn

(VS2008 SP1)building my 1st website but having a problem...need to have the contents of the page to always be centered with respect to the window size, so that is to change to flow layout

Web Development asp asp.net
Member Avatar for ritesh2190
0
101
Member Avatar for dan_ord

Hi all, I'm currently having an issue with an array, which when i loop through it, it returns random results, or only 1 result even though it should contain more. What i doing atm is calling some information from a database and displaying it. im outputting a hidden field with …

Web Development php
Member Avatar for dan_ord
0
76
Member Avatar for freiheit

Hello everyone I have a hard time making this work.. I have some data that i wish to sort by date , and i would like to sort them asc and desc using a jump menu. I know that within the jump menu i have to call 2 queries to …

Web Development php
Member Avatar for urtrivedi
0
235
Member Avatar for gabrielmusa

How do i call a vb subroutine from a javascript function? in my code i want to verify if the field is filled or not.if its left black a message pops up but if it is filled it should proceed to submit the form or run the background vb subroutine. …

Web Development asp.net javascript
Member Avatar for gabrielmusa
0
652
Member Avatar for laghaterohan

Hello, I want to create an XML file Containing 3 tables say Table 1 : Under this i have one column :Data which has 3 rows of data say 1, 2 ,3. Similarly i want to create more two tables which will have similar structure. All these 3 tables should …

Web Development asp.net data-structure xml
Member Avatar for laghaterohan
0
112
Member Avatar for hiks

how to create thumbnail dynamic image which store in sqlserver2005 databse.. it will be display in datalist component with thumbnail.. i'm using this function for asp.net vb thank for advance best regards hiks

Web Development asp.net image
Member Avatar for hiks
0
93
Member Avatar for musawa-mh

I really like your forum here and I just want to know: How to make your home page shows a small part of your post with the title and "read more.." button, so once you click on the "read more.." button you will be taken into page with the entire …

Web Development asp.net first-post
Member Avatar for musawa-mh
0
98
Member Avatar for ben.matthews18

I have a problem working out how to return users data when the user logs in. It needs to work so that when any user logs in only their data is shown. This is the current table structure; I have three tables set up; 'Users' 'Profile' 'Linkingtbl' The 'Users' table …

Web Development data-structure mysql php
Member Avatar for diafol
0
104
Member Avatar for GrahamLawton

All the add/remove/modify/display functions are now working for my little Customer Call Tracker web app thanks to the help of a few others on this site. Currently to manipulate the data after it has been entered I have 3 separate form fields to paste/type in a work order number which …

Web Development app-store php
0
72
Member Avatar for ShArKss

Hey guys, I have been looking for hours, and I can't find the correct solution or know where to even start... I got this script, and when I click on a radiobutton from the part of the website, it needs to change the reasons (other radiobuttons). Can anyone help me …

Web Development php
Member Avatar for ShArKss
0
110
Member Avatar for tanha

Hi. I don't know what is wrong with the following attachment, actually I have two drop down list on my html form, and which is one retrieving the value from MySQL table, and the second is dependent to the first one, and that one also gets its value from another …

Web Development php
Member Avatar for cavalry
0
2K
Member Avatar for Valkyrian

Hi all! My first post in Daniweb. I'm making a invoice script with textfield to input some numbers (Belopp_1 , Belopp_2, Belopp_3 and Belopp_4) among other stuff. These numbers ar inserted ia a MySql database wthout problems. Tere are also some calculation made in the script to add the numbers …

Web Development php
Member Avatar for Valkyrian
0
2K
Member Avatar for aceriker

Hi guys, I'm fairly new to PHP and mySQL, using a book to help me learn. I want to create a small site to help me improve my skills, but I'm a bit stuck on the database design part. I want to be able to list various public companies and …

Web Development mysql php web-design
Member Avatar for rajarajan2017
0
104
Member Avatar for lisles

hi; Im using a gridview to display images in 1 of the column...but the size of the images is very small.is there anyway to enlarge the image on mouseover or even without mouseover by adjusting the column width or something.i would prefer doing it by mouseover.can anybody help me...my code …

Web Development asp.net html-amp html-css image pdf
Member Avatar for lisles
0
637
Member Avatar for mwaqas1990

Hey! i am new in web development and asp.net as well. actually i am a student and want to make social network type website for my institute. Can any body help me by giving me some url about development of social networking. thank you!

Web Development asp.net
Member Avatar for mwaqas1990
0
89
Member Avatar for Roses89

Ok so I have a login page which actually gets an employees ID and password and includes the employee id and surname+firstname in a session. Now in the following page: [code] <?php require_once("nocache.php"); session_start(); if (!$_SESSION["who"]) { header("location: logoff.php"); } else { $emp = $_SESSION["who"]; $sn=$_SESSION["surname"]; $fn=$_SESSION["firstname"]; } require_once("dbconn.php"); $sql="SELECT …

Web Development php session xml
Member Avatar for Roses89
0
116
Member Avatar for dd501

Hi, I have have the following code on an aspx page. The code I am trying to create is to display whther a checkbox when it is is clicked on. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script> [CODE]<script> $(document).ready(function() { $("input[title$='HalfDay']").click(function() { if ([title$='HalfDay'].checked) { alert("Checked"); } else { alert("Not Checked"); } }); }); …

Member Avatar for dd501
0
136
Member Avatar for umandajayo

Hi friends I am trying to install drupal-6.16 to my local server...I am using XAMPP server on windows xp. but i am getting this error massage. [B]Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in E:\local server\xampp\htdocs\www\drupal\includes\install.inc on line 188 Warning: Cannot modify header information - …

Web Development file-stream php
Member Avatar for rajarajan2017
0
137
Member Avatar for CreativeCoding

I am trying to create an upload system for my website. I want it to display the size of the file as well as the percentage the file takes up of 1GB (example: 512MB would be %50 because 512 is 0.5GB). The way I chose to do this is to …

Web Development php storage
Member Avatar for CreativeCoding
0
289
Member Avatar for Blitz-labs.com

Hi All Im developing a website here's my situation. Im using one template and using template to link it to every page and using str_replace to replace parts of my site template for what is needed for each page. Any way my problem is this I have sidebar and in …

Web Development php
Member Avatar for Blitz-labs.com
0
168
Member Avatar for GrahamLawton

I keep getting this error when trying to load this page: [B]Parse error: syntax error, unexpected '=' in /home/xxxxxx/public_html/rma/view.php on line 28[/B] I've been trying to check it, but it looks fine to me... [CODE] <?php $username="xxxxxxxx"; $password="xxxxxxxx"; $database="xxxxxxxx"; $con=mysql_connect(localhost,$username,$password); if (!$con) { die('Could not connect: ' . mysql_error()); } …

Web Development php
Member Avatar for rajarajan2017
0
68
Member Avatar for MARKAND911

I have a small problem. I have got a fileupload control inside the update panel. and when i upload a file in it,it doesnt contains the file. if(fileupload1.hasfile) { } this statement doesnt get execution. the condition doesnt satisfies. so i got one solution for it.. Make the fileupload control …

Web Development asp.net
Member Avatar for kvprajapati
0
115
Member Avatar for Ambislm

am new to php. my question is: i have 5 items in adrop down list box . i have items related to that list in mysql database. i want to list those items in textbox from database when user selects an item from drop down list box. example; i have …

Web Development mysql php
Member Avatar for Ambislm
0
2K
Member Avatar for jonathan96

HI. Can someone please tell me why this simple operation doesnt work? [CODE]$time1_offset * -1;[/CODE]

Web Development php
Member Avatar for EvolutionFallen
0
178
Member Avatar for azegurb

hi there, I have one question here is my code taken from the internet which is about the static function but i dont exactly understand for what reason we use here static function and what does mean self and code which is below can anyone explain it to me [CODE]<?php …

Web Development php
Member Avatar for digital-ether
0
138
Member Avatar for dwlamb_001

Can anyone share a resource (download or a how-to) for parsing a CSV to an associative array based on the first row of the CSV acting as the column names? I found this resource [URL="http://blog.joshuamcginnis.com/2008/12/csv-to-associate-array/"]http://blog.joshuamcginnis.com/2008/12/csv-to-associate-array/[/URL] but can't make heads or tales about the second parameter sent to the function. In …

Web Development php
Member Avatar for diafol
0
249
Member Avatar for cloud09

I have a site that is a single base page that loads content based on get variables. The problem is, is that whenever a form is submitted, the url is cleared of all variables and the form data is never handled. How do you keep the url from reverting back …

Web Development php
Member Avatar for cloud09
0
126
Member Avatar for pbcomput

Hi, I am saving data to text filed i want to display first 50 characters from that text field. I tried it with left() function with my sql query and also tried it with substr() function in php code also.but i am getting a problem it shows first 50 characters …

Web Development display php
Member Avatar for pbcomput
0
6K
Member Avatar for karanits

Well . this is fairly a simple question. Lets say i have a registration form, some user has registered and i have the details in my database. Now i can use the same form for letting the user edit his profile. I can prefill the textboxes by giving the following …

Web Development java-jsp
Member Avatar for karanits
0
135
Member Avatar for Mujahid158

I'm working on a small social script.. The content will be in Urdu language for which I encoded the files with UTF-8. I'm having problems with the login page. The problem is that I'm unable to execute setcookie() function. I'm getting the following error; Warning: Cannot modify header information - …

Web Development php
Member Avatar for Mujahid158
0
103
Member Avatar for nonshatter

If I have a table sales: sales {sellerid, buyerid} I'm trying to determine the buyers favourite seller... So I need to return the most frequent sellerid. I've used this query to find out the total number of times the buyer has bought something from any seller: [CODE]$countseller = mysql_query("SELECT count(sellerid) …

Web Development php sql
Member Avatar for nonshatter
0
96
Member Avatar for GrahamLawton

Hi there, I've been trying to figure out why my update script wont commit changes to the database. I'm building a simple call tracking web app for our technicians. Currently the view, add, and delete functions of the app work fine. The trouble I'm running into is when I want …

Web Development php sql
Member Avatar for GrahamLawton
0
295
Member Avatar for Szabi Zsoldos

Hey guys, Could you help me understand how to implement [CODE]mysql_real_escape_string[/CODE] to prevent injection in this code ? [CODE] <?php if(loggedin()){ echo "You are already logged in."; } else { if($_POST['submit']){ if($_POST['username'] && $_POST['password']) { $username = $_POST['username']; $password = $_POST['password']; $password = md5($password); $res = mysql_query("SELECT * FROM users …

Web Development php sql
Member Avatar for Szabi Zsoldos
0
148
Member Avatar for Reliable

Hello Everyone, I know that you pas variables with the $_GET method, but i am unsure as to how or why. When is this action called for? Thanks for helping me clear up my confusion. David

Web Development php
Member Avatar for rajarajan2017
0
122
Member Avatar for changeco

I have two php pages - home.php and player.php... home.php has a loop to show all the products EID has associated with it including TOTALPLAYS, PLAYCOUNT, USER, PASS, PRODUCT and PRODUCTPATH... player.php has a small script to find out if PLAYCOUNT > TOTALPLAYS as well as pulling in the PRODUCTPATH …

Web Development flash php
Member Avatar for changeco
0
125
Member Avatar for Pityu

Hey. I have the next problem: I've created a joomla-like administrator page to a site I just have to make. You can add, edit and delete products and categories. Now, my problem is: No matter which product or category u try to edit (it is listed in a table with …

Web Development php
Member Avatar for sourcebits
0
109
Member Avatar for Usura

Hey Ive been searching all over for an example but cant seem to find anything to close to what im after, Im really new to javascript so dont know how to start coding it myself. Ive got a form with 3 text fields, one for first name, last name and …

Web Development javascript
Member Avatar for Usura
0
141
Member Avatar for grafiksinc

Hello all, First off I am using VB.net I have a dropdown list in the Item template. I would like the user to select a value and update the database without clicking an update button. Here is the Code for the DDL [CODE]<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource2" DataTextField="provider" DataValueField="provider" AutoPostBack="True" AppendDataboundItems="true" …

Web Development asp.net sql
Member Avatar for grafiksinc
0
126
Member Avatar for kristo5747

Greetings! I have an app that my users rely to update customer data in our local database. I want to add a "control" whereby a check for customer number is done to make sure it exists. I started with this simple script [code] <?php //variable declaration $customer_id = '257'; // …

Web Development php storage
Member Avatar for kristo5747
0
117
Member Avatar for xrunner

I have written a DLL which I intend to use in .NET and ASP.NET applications. I need to pass a Label (or TextBox) control to one or more methods. I can't make .NET recognize a Control as a parameter. Can anyone help? Thanks, Gerry

Web Development asp.net
Member Avatar for xrunner
0
118
Member Avatar for HITMANOF44th

i have tried shell_exec system exec i want to run a command like maybe im missed something if you want my code ill post it but the other command i run to ocr the item works fine im banging my head and its probly something simple mv -f .*tif /somewhere/

Web Development php
Member Avatar for etftw
0
124
Member Avatar for Alex John

i am developing a web page... in that i hav added a coding like this... HtmlParser.parse(document, "Chap0702.html"); its showing an error like namespace required... wt is namespace to be included for this....

Web Development asp asp.net html-css
Member Avatar for kvprajapati
0
122
Member Avatar for rutaba

i want to add an advertisment in my site. is there any control for that as in asp.net or some other way? i wnat adds to be changed after few seconds.. kindly help me and give ur precious suggestions. Thanx

Web Development asp.net php
Member Avatar for rutaba
0
73
Member Avatar for redgie44

Ok I am currently learning php through wordpress and I have a small project to create a running website which displays the results. CUrrently I can display the results for a certain race that I hard code: [code] <?php // Connects to your Database mysql_connect("XX.XX.XX.XX", "admin", "pwd") or die(mysql_error()); mysql_select_db("db") …

Web Development html-css php sql
Member Avatar for redgie44
0
159

The End.