17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for hooray

OK, so i have written a website that has been hosted online with a free hosting company for some time, but now i have limited access to the internet, so i have started using XAMPP. The code that once was fine on the hosting site has now stopped working. I …

Web Development php
Member Avatar for nav33n
0
117
Member Avatar for Venom Rush

I have a form that has an option to upload an image along with some text and a title. What I want to do is check if the input for uploading the image is empty. If it is then the page processes the code just to upload the text portion …

Web Development php
Member Avatar for Venom Rush
0
227
Member Avatar for AbberLine

Hi, I would like to make a blok of text appear when the user clicks a hyperlink. Therefor I created a test file in html: [CODE=HTML] <html> <head> <title>InnerHTML - Test</title> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <script type="text/javascript"> function writeEvent(txt){ document.getElementById("infoOut").innerHTML = makeEvent(txt); } function makeEvent(text){ var output return "<table style='border:solid …

Web Development javascript
Member Avatar for AbberLine
0
232
Member Avatar for crzycm16

help! im pretty new at PHP, and im creating a simple pdf form with an html submit document. however, when i hit submit i get this error. Parse error: parse error, unexpected T_STRING in home/content/c/r/z/crzycm16/html/insert.php on line 42 my form is at [url]http://www.shsinteract.com/vets.pdf[/url] and i am following this tutorial, [url]http://www.andrewheiss.com/Tutorials?page=LiveCycle_PDFs_and_MySQL[/url] …

Web Development pdf php
Member Avatar for nav33n
0
283
Member Avatar for fatihpiristine

hello guys... long time not to involve to c#/asp.net so i dont remember so many things. i have problems to adapt log4net to my website to log all the activities.. i checked and tried out so many things but nothing works. i have sample web application from its producer but …

Web Development asp asp.net
Member Avatar for fatihpiristine
0
121
Member Avatar for sbv

Hi... I am using FRAME Page in my asp.net 1.0 project. I am Coding in vb.net and used JS also. The problem i am facing is that, when the page opened in Frame has an link to open next page then it opens that page within the same FRAME page …

Web Development asp asp.net vb.net
Member Avatar for SheSaidImaPregy
0
113
Member Avatar for AniWeb

Hello All, Iam using Sql Server 2000. I want to Bind the Gridview with the Database, by giving the name of the table in the "Use Data Source" option in the Smart Tag of the Gridview. In the Add Connection Dialog Box I give "Microsoft SQL Server(SqlClient)" as a Data …

Web Development asp.net sql
Member Avatar for AniWeb
0
113
Member Avatar for mark2326l

I have stories and images displayed on a web page through a "repeat region" mostly designed with DV. I'm getting the data & image path from MySql. The image with the story is a link (to larger image) and is "thumbnail" size, reduced from the full size using a style. …

Web Development php
Member Avatar for nav33n
0
93
Member Avatar for dani190

Hey guys, i just registered here. I have always read posts here but never thought to register. Anyways, i am looking for some help with this script. So i have about 300 students that all need to be placed in option statements (html). I need these names then put into …

Web Development php
Member Avatar for mad2001_in
0
195
Member Avatar for Venom Rush

Hi there I'm using preg_replace to replace ' and " with a backslash in front of them so that I don't get problems with my MySQL INSERT queries. But at the moment I can only replace them with one charater as below: [code=php]$unedited = $_POST['content']; $content = preg_replace("/['|\"]/", "'", $unedited);[/code] …

Web Development php
Member Avatar for Venom Rush
0
214
Member Avatar for lydia21

hi, i want to develop a application.... where the user can enter the no of text boxes he wants..in the next page based on the user input it should disply the text boxes with different id

Web Development php
Member Avatar for lydia21
0
290
Member Avatar for AniWeb

hello all, I want to know that how I can determine that User has logged first time in my website, so that I can force him/her to change his/her password, which is assigned by the Administrator. I have tried to keep Session variable in the Global.asax file to maintain login …

Web Development asp.net session
Member Avatar for AniWeb
0
115
Member Avatar for adil7

Hi, In this , i dont know how to do nested colums. <display:table name="${form.results}" id="row" cellpadding="true"> <display:column property="firstName" value="${row.firstName}"/> <display:column property="lastName" value="${row.lastName}"/> | | |// list of columns | | <display:column> <display:table name="${row.cdList}" id="row" > <display:column> <display:table name="${row.CDSummary}" id="row" > <display:column property="cdAccountType" value="${row.cdAccountType}"/> <display:column property="cdType" value="${row.cdType}"/> </display:table> </display:column> </display:table> </display:column> …

Web Development java-jsp
0
67
Member Avatar for omega3387

Well I need some help understanding some sections of code. I'm a complete newb at web development so all explanations are greatly appreciated. I am having trouble understanding how to set the attributes of an object. I have a myProject object declared in the global.asa file and then I am …

Web Development asp session vbscript web-server
0
55
Member Avatar for Venom Rush

I have a drop down menu the is populated with event names from a DB. What I'd like to do is have the form submit after click on one of the event names in the drop down list. At the moment I have a submit button for this. I don't …

Web Development php
Member Avatar for fatihpiristine
0
565
Member Avatar for majestic0110

How can I view a single xml file I wrote using IE. Have browsed to directory where I saved the file but I gat an error from IE : The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click …

Web Development xml
Member Avatar for majestic0110
0
129
Member Avatar for OmniX

I have been trying to restrict the uploading of images based on size and format. At the moment I have the size working but not the format. Ive tried different code but im favouring something like this: [code] if($_FILES['file_image']['type'] == "image/pjpeg") { CORRECT FORMAT else { INCORRECT FORMAT } [/code] …

Web Development php
Member Avatar for OmniX
0
333
Member Avatar for ineuw

I built a web page form, where the action is set to "mailto" to my email address. I already scripted the client side using Javascript and I wish to know if I can use Javascript for server side scripting as well? I do not know PHP, nor Perl, and prefer …

Member Avatar for ~s.o.s~
0
112
Member Avatar for kanui

Can anyone help me with this code? I have been trying to output the url as a link but I cannot manage to do so. The url comes out fine in text form but when I try to output the url as a link I either get an error message …

Web Development php
Member Avatar for kanui
0
190
Member Avatar for lydia21

hi i want to create the database retrieved datas as hyperlink using php.i have sent the code.please tell me how to edit the below code <html> <head> </head> <body> <form> <table> <tr> <td><font color="red">View All Posting</font> </td> </tr> <tr> <td><a href="care.php">Create New Users</a></td> </tr> <?php $hostname = "localhost"; $username = …

Web Development php
Member Avatar for kanui
0
184
Member Avatar for Pro2000

Hello everybody, I've written a program which contains AJAX... The program is a messenger... The code was: [CODE]var http = createRequestObject(); function createRequestObject(){ var request_; var browser = navigator.appName; if(browser == "Microsoft Internet Explorer"){ request_ = new ActiveXObject("Microsoft.XMLHTTP"); } else{ request_ = new XMLHttpRequest(); } return request_; } function getInfo(){ …

Web Development javascript php
Member Avatar for digital-ether
0
102
Member Avatar for greeny_1984

Hii, i have a datalist in my page containing a image button as item template.The design page is as follows <asp:DataList id="ddlist" runat="server" RepeatDirection="Horizontal" Width="30px" Height="134px" RepeatColumns="5" CellPadding="1" CellSpacing="5" > <ItemTemplate> <table> <tr><td> <asp:ImageButton ID="img" runat="server" Height="75" Width="100" ImageUrl='<%#DataBinder.Eval(Container.DataItem,"filename")%>'></asp:ImageButton></td></tr> </table> </ItemTemplate> </asp:DataList> th ecode behind is as follows public void …

Web Development asp asp.net image
Member Avatar for greeny_1984
0
121
Member Avatar for OmniX

[code] echo "<input value='$variable' type='submit' id=submit' name='submit'>"; [/code] That variable is an array which keeps repeating and changing numbers. (e.g. 1-20). Now using a switch statement to access the input submit button when pressed: [code] switch($_POST[submit]) { case '': break; } [/code] I cant figure out what code to construct …

Web Development php
Member Avatar for OmniX
0
174
Member Avatar for snowman11

Hi all... I've been reading this site for a while and now I have a question for you experts. I have a php page named edit.php. Code here: [code] <? // Connect database. include("connectdb.php"); // ***** This part will process when you Click on "Submit" button ***** // Check, if …

Web Development html-css javascript mysql php
Member Avatar for nav33n
0
117
Member Avatar for syedferhat

Hi Friends I have a form having multiple field such as option button set and checkbox with different names and values and on next page i want to get there name and value. The problem is that if i only use/checked option button i got proper names of object (option …

Web Development asp
Member Avatar for Shailesh25
0
124
Member Avatar for lifeworks

Hi Working on a photographers CMS, the idea is that they'll resize their images using a batch processing app, separate from the website, then I'd like them to be able to add a new section and select the entire directory (of resized images) for upload, not just individual files... If …

Web Development cms php
Member Avatar for lifeworks
0
80
Member Avatar for PoovenM

Hey guys, I'm really new to this :icon_confused: I've managed to setup a Web Service and a Client to access the service within Eclipse. However, I want to access a Web Service that already exists. From what I understand, that service must have a WSDL (Web Services Description Language) for …

Web Development xml
Member Avatar for PoovenM
0
181
Member Avatar for thiagarajannn

Hai everybody, this is the proplem.when i excute the page and on clicking the button am getting error message saying that 'menu1.value is null or not an object'. how can i handle it.Please help me <SCRIPT type="text/javascript"> function test1(form) { if (form.menu1.Value == "Select") alert("Please select some other value!") else …

Web Development javascript
Member Avatar for thiagarajannn
0
189
Member Avatar for OmniX

I have an input submit button that once clicked activates php. Now the problem I have is that I have the neccessary code (or what i think is) to stop from the input button working (as I have used the same technique on the other input submit buttons). To get …

Web Development javascript php
Member Avatar for OmniX
0
104
Member Avatar for lesalmin

How should I implement "interactive refresh" (I don't even know how I should call it) where one visitor's action (klicking a link, submit button etc. - everything will do) activates page refreshing of other visitors on the same page? I know how to implement an automatic, periodic refresh but I …

Web Development php
Member Avatar for phper
0
177
Member Avatar for OmniX

Im looking for a piece of code that can be used to select all input text fields and then disable and enable them at will. I was trying to work off this: [code] text = document.getElementsByTagName("input"); [/code] THEN when required: [code] text.disable = true; text.disable = false; [/code] Thanks, Regards …

Web Development javascript
Member Avatar for OmniX
0
7K
Member Avatar for lafalot

Hi, I have a cferror type = "exception" exception="any" in my application.cfm file. This works great for most errors, but I recently found that it is not working for attribute validation errors. For example, if I misspell an attribute for the cfqueryparam tag, my custom error page is not called. …

Web Development coldfusion
Member Avatar for mellamokb
0
132
Member Avatar for mcx76

I am creating web order form html and php.I am not php coder.So please sorry if i am wrong . The demo page is [URL="http://www.desinovels.com/order/contactus.htm"]Here[/URL] I want if user come and click on check boxes.So i will receive email on completion.when submit.I dont know which tags will be user to …

Web Development php
Member Avatar for nav33n
0
114
Member Avatar for OmniX

Hi Guys, the problem im having is constructing a function that is usable for any submit button if it meets a certain criteria (this case mouseOver). Now orginally I was using the submit button for only one and was working fine but there are three. So I would like to …

Web Development javascript
Member Avatar for mellamokb
0
126
Member Avatar for palcham

Hi I cann't unable to get count the selected list box items using javascript so you please help me. if you know means please send to me Advance thanks

Web Development javascript
Member Avatar for palcham
0
219
Member Avatar for stupidenator

Hey everyone, I am new to Ruby on Rails and I am having a problem that I can't seem to figure out. I have a mysql database that I created and I have created a model for it. I have did not create a migration, as the database is already …

Web Development ruby web-browser
Member Avatar for stupidenator
0
122
Member Avatar for tefflox

Hello, I'm pleased to be here by way of the html forum. I've been using php for static pages for 18 months. I wanted to learn rails, but I just realized that I could configure my host to automate index.rhtml files just like php. This is a major motivator for …

Web Development html-css ruby
Member Avatar for pty
0
114
Member Avatar for rogelioz

Hi, I have the following code: [code] $date = 'Nov 7, 2007'; echo date('Y-m-d', strtotime($date));//outputs 2007-11-07 $date2 = $dates[1][0]; echo $date2;//outputs Nov 7, 2007 echo date('Y-m-d', strtotime($date2));//outputs 1969-12-31 [/code] How can I have the last line output 2007-11-07? Thanks in advance.

Web Development php
Member Avatar for rogelioz
0
106
Member Avatar for Atticus

I am setting up a gallery using LightWindow or ThickBox. I've added all the js & css files but the gallery will not work properly. When I click on a thumbnail, the LightWindow or ThickBox is suppose to open and display the image, instead the image opens into a new …

Web Development javascript
Member Avatar for Atticus
0
103
Member Avatar for joshua.tilson

Hello, I am looking for some advice on how to do something within PHP, i know it is possible and have seen examples before, however I am not sure how to implement this myself. What i am looking at doing is including PHP pages within a main PHP page. for …

Web Development php
Member Avatar for chrelad
0
112
Member Avatar for redZERO

I have a script which takes the variable from a form and puts it into a mysql table. There is an entry, but inside the field it is blank. I have attached screenshots. This is my code [CODE] // prepare form values for insert $URL = mysql_real_escape_string($_POST['url']); // Make mysql …

Web Development php
Member Avatar for redZERO
0
82
Member Avatar for assgar

Hi I need help. I know what I want to accomplish, but I do not know how to do it. The events are recurring every month, but not recurring at the same time or on the same day of the week. WHAT I NEED HELP ACCOMPLISHING: How to do I …

Web Development php
0
81
Member Avatar for assgar

Hi I need help. I know what I want to accomplish, but I do not know how to do it. WHAT I NEED HELP ACCOMPLISHING: How to do I insert data into a table for a date range of two or more months, where every second or third week should …

Web Development php
0
68
Member Avatar for kv79

Hi, I never enter a PHP or html or any other language for web design . I want to use C/C++ with web designs or what ever,so what i need to download for making a webs.? I want that software be free if it possible.

Web Development php web-design
Member Avatar for kv79
0
102
Member Avatar for dheeraj5689

Hi Everyone, I just want to know that can I implement a Facebook api on my server? It means all the facebook feature should be display in my server. Please anyone have any knowledge about this featured had provided by facebook then please guide me. Thanks Dheeraj

Web Development api php
Member Avatar for dheeraj5689
0
187
Member Avatar for Wiizl

OK, one last thing. Now I have 3 textboxes and here's what I wrote: [CODE] SqlConnection conn = new SqlConnection(); conn.ConnectionString = "data source=.;initial catalog=ForumDataBase;integrated security=true;"; SqlCommand cmd = new SqlCommand(); cmd.CommandText = "INSERT INTO PostTable(ThreadTitle,PostMessage,UserName) values('"+ThreadTextBox.Value+"','"+PostTextBox.Value+"','"+NameTextBox.Value+"')"; cmd.Connection = conn; conn.Open(); cmd.ExecuteNonQuery(); conn.Close(); [/CODE] Can you please tell me what's …

Web Development asp.net open-source sql
Member Avatar for Wiizl
0
118
Member Avatar for verbob

Below if part of my login script. I am trying to get it to redirect if the users account status is 'not verified' or 'suspended' (not verified is the field 'verified' = 0 and suspended is 'verified' = 2) I'm sure it could be coded a little more eloquently, but …

Web Development php
Member Avatar for verbob
0
186
Member Avatar for lifeworks

Hi Im new to this so bear with me... If I have a backend, that allows people to add content to their site, is there a way to allow them to 'paragraph' their text, put in line breaks etc without knowing HTML code? They would be using a form which …

Web Development php
Member Avatar for nav33n
0
127
Member Avatar for kaushik259106

Is there a way to check Iframe is supported by a browser or not in the JSP using some script. Please let me know! Its urgent

Web Development javascript
Member Avatar for kaushik259106
0
444
Member Avatar for kimbokasteniv

The only experience I have in programming is with Java, and I am somewhat experienced in that. However, I have only just touched the surface of javascript by implementing google maps into a page of mine. My question is in regards to what I should keep in mind when creating …

Web Development javascript
Member Avatar for kimbokasteniv
0
153

The End.