17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for businessglobal

I launched the following scripts but only the "Auto Start Page Rotator" page appeared. Can anyone please check if the codes are correct? [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Control page</title> </head> <body> <script language="JAVASCRIPT"> var Win; var page_index=0; var page = new Array(); page[0] …

Web Development javascript
Member Avatar for fabio70
0
212
Member Avatar for Ole Raptor

Hello, I am having a problem getting variables in my function. Below is my code and an explanation of how it is being called. 1. I set the vars: [code=php] error_reporting(2047); require_once('XML\RPC.php'); define("SITECODE", 000000); define("REQUEST_URL", "/external/request.php"); define("REQUEST_SERVER", "domain.com"); define("REQUEST_PORT", 443); define("XML_DEBUG", 0); $software_name = "domain.com"; $messages = array(); $errors = …

Web Development php xml
Member Avatar for Ole Raptor
0
180
Member Avatar for Nahiyan

I am new to PHP and I discovered a new trick, I want to create a script and if $pagea=1 then it will display the contents of page [B]a[/B] and so on but I want to know how to make a button or anything that is kinda like link and …

Web Development php
Member Avatar for Ole Raptor
-1
108
Member Avatar for lupis

In my webconfig file, I am using Forms authentication and I have: <forms name="appNameAuth" path="/" loginUrl="login.aspx" protection="All" timeout="30"> and my default.aspx page is protected as it should. After logging with the proper credentials I am directed to the protected default.aspx page, however when viewing other pages of my website in …

Web Development asp.net
0
80
Member Avatar for lupis

I have a multiview control with two views, with the first one loaded as default. On that form I have two textboxes which are both connected to a requiredfield control. I also have one submit button control for the textfields, and a linkbutton control to show the second view in …

Web Development asp.net
Member Avatar for lupis
0
91
Member Avatar for lupis

To start with I a am a newbie and I know I have done this wrong, probably in my webconfig file. These are my settings in the webconfig file: [CODE]<forms name="appNameAuth" path="/" loginUrl="login.aspx" protection="All" timeout="30"> <credentials passwordFormat="Clear"> <user name="xxx" password="xxx"/> </credentials> </forms> </authentication> <authorization> <allow users="?"/> </authorization>[/CODE] For my login.aspx …

Web Development asp.net
Member Avatar for lupis
0
130
Member Avatar for culebrin

Hi, I have a website on NET 2.0, there I have a textbox and after I change the text on it with a js function, try to save on the DB (I have to click on a imagebutton to save it), but on the postback the textbox.text property has the …

Web Development asp.net session
Member Avatar for ja3_bhende
0
2K
Member Avatar for krea2r

Hey there all. I wanted to know if there was a way to use php to validate form. Well in more detail, I wanted to know if it was possible to print a msgbox using php telling the user he has missed some thing rather than having to display a …

Web Development javascript php
Member Avatar for jaini817
0
196
Member Avatar for CFROG

I'm toying around with a script to allow users to search for other users based on certain criteria contained in their profiles. Anyhow, some of the attributes on the user profiles are things like what they are seeking like dating, someone to talk to, etc. I decided to serialize the …

Web Development php
Member Avatar for CFROG
0
93
Member Avatar for oliv1

Hi I've set up a website which gathers results from a mysql database which allows the user to sort the results according to some preferences in 2 separate select lists. It works as long as you make a selection from both boxes before submitting. I would like for results to …

Web Development php seo
Member Avatar for oliv1
0
112
Member Avatar for ajwei810192

Hi, I am wondering if anyone on the list could help me search an xml file based on the user input. Right now, I have two separate files, one that shows all the data from an xml file, and the other is a simple web form with a button like …

Web Development asp.net xml
Member Avatar for ajwei810192
0
545
Member Avatar for loveforfire33

Im trying to get the values of checkboxes in a datalist and then display them in a label on a page, but im getting a nullreference error. on the line... if(chk.Checked) i know these errors are asked for alot, but after researching i cannot find whats wrong :( please help! …

Web Development asp.net
Member Avatar for dnanetwork
0
112
Member Avatar for tuomari

I'm trying to populate datagrid with only 5 newest results from access database. I have tried using TOP 5 parameter but for some reason it gave 5 last results and not 5 newest. And if i put order by desc, it would show the newest, but the newest result was …

Web Development asp.net
Member Avatar for mikev2
0
99
Member Avatar for ajwei810192

Hi, I have written up this simple asp.net page that pulls data from a long xml file and shows information in a table format. Everything is working properly, except that I cannot get the scrollbar to work. So, if I want to read the stuff that is on the lower …

Web Development asp.net html-css xml
Member Avatar for ajwei810192
0
315
Member Avatar for cacoyle

hi guys having a problem getting a single value from a mysql query getting all sorts of problems - heres my latest version below [code=php]mysql_connect($host,$user,$password) or die( "Unable to select database"); mysql_select_db("mydatabase"); // select database to use. $user = 84; $sql1="SELECT `order_id` FROM `table1` WHERE `user_id`= '$user'"; $array = mysql_fetch_array('$sql1'); …

Web Development mysql php sql
Member Avatar for cacoyle
0
101
Member Avatar for ayesha789

Dears [INDENT]This is an electricity billing Site link [url]http://www.mepco.com.pk/ls/defftree.asp[/url][/INDENT] I click on each link and SELECT and COPY/PASTE , It takes 3 hours minimum each day to save all pages in Excel. I want to get all pages automatically using PHP or Query. Because higher management demand reports each day.

Web Development html-css microsoft-office php
Member Avatar for ayesha789
1
262
Member Avatar for ms_sws

I would have "thought" it would be a simple thing to get the (unformatted) text in each cell of a dynamic table but I have failed to solve this problem. So...I have a table that the user can dynamically load with data. They click an add button to insert a …

Web Development javascript
Member Avatar for ms_sws
0
2K
Member Avatar for Odubz

Hello, I was wondering does anyone have an idea how to make a dropdown menu that dosent repeat values from the SQL Server? Perferably using a while loop. I was thinking of camparing the set values with the new values as it loops through them but im not sure. -Thanks

Web Development php sql
Member Avatar for Odubz
0
158
Member Avatar for Mrgrinch12

I have been struggling with these two pages for awhile. I have one page with a form which shows different data depending on who is logged in. There is one drop down adjustment field that the users between "Active" and "Bench". The submitted form should be updating that field in …

Web Development html-css php
Member Avatar for Mrgrinch12
0
116
Member Avatar for ajwei810192

I have a ASP.NET snippet where I would like xsl to apply to the xml. For some reason, I get runtime errors when I use TransformFile to try and transform the xml. Here is the aspx, <%@ Import Namespace="System.Data" %> [CODE] <form runat="server"> <asp:Repeater ID="myMusic" runat="server" DataSourceID="XmlDataSource1"> <HeaderTemplate> <table class="songs"> …

Web Development asp asp.net xml
Member Avatar for dnanetwork
0
208
Member Avatar for andydeans

Hi, this is probably a simple one for someone, but i have on my page a button rather than a text link. when they click cancel i want it to back to my details page but pass the parameter id back. so currently it is like this [CODE] <input type="button" …

Web Development php
Member Avatar for andydeans
0
119
Member Avatar for Jimmy Giles

Okay, I'll admit up front that my request is quite presumptious but I need help. Can anyone here 'give' me the necessary php script to be inserted in my html 'form' that would allow me to accept credit card donations? Additionally, could you also provide me with the mysql database …

Web Development first-post mysql
Member Avatar for peter_budo
0
330
Member Avatar for Boskor

I have another problem with mysql. I have 3 tables (Users, User_status and Analysis). Users and User_status are in relation (Users.User_status_name=User_status.user_status) and Users and Analysis are in relation (Users.Username=Analysis.Tipster). I want to have table in php: [CODE]Tipster Form boskor 1W 1V 0L slopart 0W 1W 2L [/CODE] In table Analysis …

Web Development php
Member Avatar for Boskor
0
129
Member Avatar for Fost

Hi Guys and girls, I'm doing some work with XML documents and one is stored behind a .htpasswd arrangement. I have a script which requests the xml docs using XMLReader. So the problem is the secure xml file, does anyone know of a way to access the file without going …

Web Development php xml
Member Avatar for Fost
0
209
Member Avatar for mayanktalwar

[CODE]Warning: preg_match_all() [function.preg-match-all]: Compilation failed: range out of order in character class at offset 76 in C:\xampp\htdocs\extracter.php on line 7[/CODE] hey i am not able to figure out what kind of warning is this? the line 7 is this in the code [CODE]preg_match_all("/(http:\/\/)?(www.)?rapidshare\.com\/[0-9A-Za-z]+\/[0-9A-Za-z]+\/[0-9A-Za-z_-.]+/",$contents1,$out1);[/CODE]

Web Development php regex
Member Avatar for pritaeas
0
298
Member Avatar for azegurb

Hi all, I have taken simple CMS script from internet but there are such things that i dont understand them below is the code [CODE]<?php //////////////////////////////////////////////////////////////////////////////////////// // Class: DbConnector // Purpose: Connect to a database, MySQL version /////////////////////////////////////////////////////////////////////////////////////// require_once 'SystemComponent.php'; class DbConnector extends SystemComponent { var $theQuery; var $link; //*** …

Web Development cms php
Member Avatar for alanwdaniweb
0
123
Member Avatar for brenton_77

I am currently trying to create a live search box that as I type it will start displaying results that match. Here is an example [URL="http://www.w3schools.com/php/php_ajax_livesearch.asp?output=print"]http://www.w3schools.com/php/php_ajax_livesearch.asp?output=print[/URL] but it retrieves its data from an XML file, I need mine to retrieve from a column called FirstName within a table of an …

Web Development microsoft-access php seo
Member Avatar for digital-ether
0
643
Member Avatar for elneco

Hello Daniweb, i am having problems with the second button in my rather simple nav. i looked over the code a couple times but i can't seem to figure out why the hover is behaving teh way it is...perhaps someone with fresh eyes can help me out?? my nav: [url]http://elneco.biz/mynav/yeah.html[/url] …

Web Development html-css javascript
Member Avatar for elneco
0
103
Member Avatar for dotnextnewb

Hello, I am using a Menu Control & I have added Items in Menu Item Editor (both root & child). But in the browser the child items are not displaying. Running perfectly when my lecturer showed in his pc. When I searched for this problem, I have seen some solutions …

Web Development asp.net
Member Avatar for dotnextnewb
0
203
Member Avatar for cloud09

In IE7 only, I have an issue with disappearing elements/styling. First, my h3 header disappears. The space that it occupies is partially there, but not text is visible, nor is the background or the bottom-border assigned to it. In addition, other divs below the h3 are missing their bottom-border. However, …

Web Development html-css javascript
Member Avatar for scrappedcola
0
299
Member Avatar for ayesha789

This is my form: I want to calculate Units Billed when user enter present and previous reading before submission. [CODE] <form action="EIMS_North_Inserted.php" method="post"> <table class="mytable" align="center"> <tr> <td><label>Site ID <span class="small">Example N-WAH-8620</span> </label></td> <td> <input type="text" name="a" id="course" value="" class="input"/> </td> <td> <label>Previous Reading <span class="small">Regular bills</span> </label></td> <td> <input …

Web Development php
Member Avatar for ayesha789
0
223
Member Avatar for methuselah90

hi guys really i don't know what im doing wrong... i am trying to process multiple radios with mysql. the first step has involved me echoing the results on the process page. each time i select any radio option it simply displays the first row result. this is that i …

Web Development mysql php
Member Avatar for vibhaJ
0
88
Member Avatar for nabilamn

my testing folder in my site is red. perhaps anyone can help me to identify what is the problem because i got the database connection using phptriad and everything goes well because i can view my database by dreamweaver8. whats wrong with my site folder when i click to view …

Web Development php
Member Avatar for nabilamn
0
115
Member Avatar for Barrett1

[CODE]<?PHP $results = mysql_query("SELECT * FROM messages, comments WHERE messages.user_on='$user2' AND comments.msg_id_fk = messages.msg_id ORDER BY messages.msg_id, comments.com_id DESC") or die(mysql_error()); ?>[/CODE]

Web Development mysql php
Member Avatar for Barrett1
0
88
Member Avatar for Zurompeta

I'm having an odd issue here. Basically, I have an AJAX response that is returning HTML that I'm using via innerHTML. The following is a portion of the AJAX response: [CODE]<img id='img_display' width='583px' style='margin-top:62px;' src='../galleries/gallery/img.png' alt='' />~<table ....[/CODE] The following is a small portion of my AJAX code: [CODE]var response …

Web Development javascript
0
64
Member Avatar for davidjennings

Hi All, I am trying to pass the value from drop down menu generated from the database and I am trying to pass the value from the first drop down selection to the next the value in red is the variable. I have tried the $category_id=$nt['category_id']; $category_id=$_GET['category_id']; but this does …

Web Development php
Member Avatar for scaiferw
0
99
Member Avatar for shithindas
Member Avatar for shithindas
0
89
Member Avatar for dpreznik

Dear experts, I have a TabContainer, and one of its tab panels has a user control with a wide GridView in it. Because of some reason, the GridView goes way beyond the size of the tab panel and the tab container. How can I make the form and the tab …

Web Development asp
0
51
Member Avatar for dalip_007

Hi all i am tracing ip addresses of all the site visitor using $_SERVER['REMOTE_ADDR']; and its working fine, But i want to exclude all ip starting from 172.122.*.* . i want to put "if" condition but don't know how to track these first two figure. can anyone please tell me …

Web Development php
Member Avatar for xylude
0
74
Member Avatar for bashaash

Hi everyone i have maked pop upp audio player play.php and the i want to my url adress to appear like this [CODE]http://www.mydomain.com/play.php?id=1[/CODE] now it appears this [CODE]http://www.mydomain.com/music.mp3[/CODE] and here the pop upp player Ex. play.php [CODE]<?php $mURL=$_REQUEST['id']; ?> <object id="p67" height=64 width=360 border="0" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"> <param name="URL" value="http://www.mydomain.com/<?php …

Web Development audio php
Member Avatar for rajarajan2017
0
659
Member Avatar for jellybeannn

Hi I'm coding in c# and I'm usiing the IIR function of Microsoft.VisualBasic. I need values for 6 years that's 72months [code] if (i <= 72) { values[i] += C158_Calc; } B162_Calc = Financial.IRR(ref values, 0.1) * 12; row9["Month1"] = String.Format("{0:#,###,###,###.##}", B162_Calc); [/code] this gives me this error: Arguments are …

Web Development asp.net microsoft
0
90
Member Avatar for ajwei810192

Hi, I have the code here as in the following: [CODE] <%@ Import Namespace="System.Data" %> <%@ Page Language="C#" Debug="true" %> <script runat="server"> sub Page_Load if Not Page.IsPostBack then dim mycdcatalog=New DataSet mycdcatalog.ReadXml(MapPath("alice_music_list.xml")) cdcatalog.DataSource= mycdcatalog cdcatalog.DataBind() end if end sub </script> <html> <body> <form runat="server"> <asp:Repeater id="cdcatalog" runat="server"> <HeaderTemplate> <table style=";font-family:Arial;width:56%;margin:1em …

Web Development asp.net dataset xml
Member Avatar for ajwei810192
0
548
Member Avatar for Z_KiNGPiN

I need to host a [B][COLOR="Red"]temporary [/COLOR][/B]website at my home PC for a small project that will include Asp.Net i am running Windows 7 at home, can any one help me out there ? is it even possible ?

Web Development asp.net
Member Avatar for dnanetwork
0
110
Member Avatar for davidjennings

I am trying to populate a dropdown list using <select><option> and on the selected option pass the values to another page. I have been trying a lot of things over the las two days and I have finally decided to go to the community for assistance. The data is displayed …

Web Development mysql php
Member Avatar for davidjennings
0
277
Member Avatar for keyroche

Hello! I am creating a database driven site that is a directory of businesses. I have a page that displays the categories and a table full of categories in the mysql database. I have a while statement get the categories that start with a certain letter and echo them on …

Web Development php
Member Avatar for rajarajan2017
0
99
Member Avatar for scaiferw

This code does a nice job reading the members from my database and setting up a form with checkboxes for each member in one long single-column list. What I need to do is to write some sort of loop that sets out 3 or 4 columns and splits the names …

Web Development php
Member Avatar for scaiferw
0
222
Member Avatar for AntiNL

Hi, This is a reaction to a post([url]http://www.daniweb.com/forums/thread1720.html[/url]) thats a bit old, and I wanted to ask something, but it suggested I'd better start a new post. I'm sorry if theres another post going about this, but I couldnt really find the search function (just joined). First of all I …

Web Development php
Member Avatar for AntiNL
1
168
Member Avatar for jellybeannn

Hi, I've got a DropDown list which is populated here. with the use of a break in the code there is a value of 4 for shippingInfo.ShippingID.ToString() [code] if (addressOK) //&& cardOK { int shippingRegionId = int.Parse(Profile.ShippingRegion); List<ShippingInfo> shippingInfoData = CommerceLibAccess.GetShippingInfo(shippingRegionId); foreach (ShippingInfo shippingInfo in shippingInfoData) { shippingSelection.Items.Add( new ListItem(shippingInfo.ShippingType, …

Web Development asp.net
Member Avatar for jellybeannn
0
163
Member Avatar for jellybeannn

Hi, I'm making a CMS, and I have a description TextBox which I would like to include html tags, to save to a database, but I get an error "A potentially dangerous Request.Form value was detected from the client (ctl00$adminPlaceHolder$grid$ctl02$descriptionTextBox="<b>Model No.:</b><br..."). "

Web Development asp.net cms html-css
Member Avatar for jellybeannn
0
995
Member Avatar for needanswer

[CODE]&nbsp;<asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="id" DataSourceID="AccessDataSource1" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" Width="779px"> <RowStyle BackColor="#EEEEEE" ForeColor="Black" />&nbsp;<asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="id" DataSourceID="AccessDataSource1" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" Width="779px"> <RowStyle BackColor="#EEEEEE" ForeColor="Black" /> [/CODE] [CODE]Protected Sub Button4_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button4.Click Dim con1 …

Web Development asp.net open-source web-server
Member Avatar for needanswer
0
259

The End.