52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kristo5747

Greetings! I created this form that works like a charm, captures data in my db and sends email. Suppose user Joe hits the RESET button before he clicks SUBMIT, all fields are reset. If Joe hits the RESET button AFTER he clicked SUBMIT (e.g. to make a new submission)...nothing gets …

Web Development javascript pdf php
Member Avatar for kristo5747
0
122
Member Avatar for Midnite003

I have thsi script and I am trying to pass the variables to a form ... and have it email them but for some reason its not working ... can anyone offer a reason why it might not be or what I might do to fix it ? This is …

Web Development php
Member Avatar for digital-ether
0
175
Member Avatar for nathanpacker

I have looked everywhere, I've figured out how to add x amount of days to the current date, or take away x amount of days from the current date. But let's say I have a date stored in my database as "0000-00-00", that is not the current date. How can …

Web Development php
Member Avatar for ripraw
0
194
Member Avatar for bharattripathi

Hi guyz I have a problem with page-load event. When i m runing the website on local host it is working fine but On putting it to web space there is problem with page load event where on page load it is showing "Object reference not set to an instance …

Web Development asp.net
Member Avatar for bharattripathi
0
83
Member Avatar for fiaolle

Hi I'm trying to set a property in the User Control. I see that the property is set when I'm debugging. But when I'm using the property in a method in the User Control the property is set to 0 everytime. I don't understand why. Here is the code I'm …

Web Development asp.net
Member Avatar for reach_yousuf
0
211
Member Avatar for khess

If you are a PHP, Zend or IBM fan, today Zend and IBM announce a major release for IBM i-Series Servers. Zend Technologies and IBM are working together to offer PHP solutions for IBM i customers. Today Zend announced Zend Server for IBM i, a Web Application Server for applications …

Web Development client-server php queue web-server
Member Avatar for theighost
0
883
Member Avatar for Ycefire

Hi there, I'm a beginner in ASP.NET with VB and I'm stuck on problem with a SQL query. I'd like to ask you for advice what does my page or config file miss. thats how my form looks like [CODE] <form id="form1" runat="server"> <div style="margin: 0 auto; width: 180px;"> <asp:Label …

Member Avatar for Ycefire
0
805
Member Avatar for eusb

Hey , I'm having trouble showing data from my data base in php. i always get the " No database selected " line and also i was wondering why the second echo doesn't show the result is : first echo No database selected this is my code [code] <?php require($_server["DOCUMENT_ROOT"]."/config/db_config.php"); …

Web Development php
Member Avatar for theighost
0
248
Member Avatar for peter_budo

I running my little blog on Tomcat 6 server. My hosting company allows me to set up multiple sub domains. I was trying to do for last few hours, but no luck. Having started with [code=xml] <Engine name="Catalina" defaultHost="mydomain.co.uk"> <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/> <Host name="mydomain.co.uk" appBase="/home/user/public_html" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Alias>www.mydomain.co.uk</Alias> …

Web Development apache java-jsp web-server xml
Member Avatar for peter_budo
0
1K
Member Avatar for suryarao

hi, in my application i am using a music player for playing the audio (premiumbeat.com) royalty music player. Which is working fine when audio file placed directly. But in my application the audio file comes from the other page in a query string how can i write the code for …

Web Development asp asp.net audio javascript
Member Avatar for kvprajapati
0
563
Member Avatar for bharattripathi

What is Callback in asp and where to use it

Web Development asp.net
Member Avatar for kvprajapati
0
114
Member Avatar for fiaolle

Hi I want to make my own login box to popup when I click a button Is there a way to do that? I don't want a whole page for the loging in part. I just want something like the msgbox, but with two textboxes and two buttons for login …

Web Development asp.net
Member Avatar for kvprajapati
0
75
Member Avatar for filch

I am having a hell of a time with a form, which is built dynamically from PHP. The form is constructed first by calling a page called gala-tix.php, This page holds a bunch of javascript functions, the form code and it also calls an include called dwt.php. dwt.php has a …

Web Development php
Member Avatar for colweb
0
163
Member Avatar for niths

[QUOTE]hi all, i need to print the value in sql2.but it is not printing it. but if i execute the same query in mysql it is giving the value. so please check this. thank u.[/QUOTE] [CODE]$sql2="select allocatedmemory from projects where projectname='$projectassign'"; mysql_error(); $d=mysql_query($sql2); $data1=mysql_result($d,0); echo '$data1';[/CODE]

Web Development php
Member Avatar for prem2
0
78
Member Avatar for jino

Dear all, I have a table in mysql and i want to insert records into the table without using "FOR" or "WHILE" loop..Can this be done?? Thanks in advance.. Jino.

Web Development php
Member Avatar for indraginanjar
0
210
Member Avatar for benqus

Hello again! I need your help again, people! =) So here's my problem: This line replaces only the first "\n" spec. character in my textarea, and this way everything's screwed up... I'm sending the replaced content of the textarea through AJAX to the server, in a GET method. I've tried …

Web Development javascript
Member Avatar for benqus
0
165
Member Avatar for Styrofoam

I am mostly following this page: [url]http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html[/url] I used this command to create the keystore keytool -genkey -alias tomcat -keyalg RSA -keystore /etc/tomcat6/keystore and answered the prompts Then i edited my server.xml file and uncommented/edited this line [code] <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="/etc/tomcat6/keystore" keystorePass="tomcat" /> …

Web Development cybersecurity java-jsp ubuntu
0
299
Member Avatar for 3pmSunday

I want to have the user fill out a form with the email address they would like to send to and a short message and be able to send it without opening an external mail program like outlook is that possible?

Web Development email php
Member Avatar for jas11
0
102
Member Avatar for rohitmanhas_12

Need to delete the selected item from the dropdown from the database with the button click.Also when user clicks the delete button i need to show the alert or confirm dialog box for confirmatiuon that user realy want to delete that item....plz help me ...

Web Development asp asp.net c#
Member Avatar for Freon22
0
1K
Member Avatar for raul15791

Hi, I have a problem here. I have a project running on localhost. Whenever I made some changes on a .aspx file, the changes can be seen immediately when I access my localhost. But when I made changes in aspx.vb file, the localhost still showing old info. * I have …

Web Development asp.net publishing web-browser
Member Avatar for raul15791
0
1K
Member Avatar for computerfox

Okay, so I'm not sure why this is happening, but I have a table full of data and I got the edit link working for the top of the stack, but when I want to edit another entry, it keeps pulling in the info from the top ID. Is this …

Web Development php
Member Avatar for computerfox
0
126
Member Avatar for phobia1

Hi Guys I'm back...greetings to all and thanks for keeping in touch. Not sure even where to post this question but php section usually is cool. Is there any guru here willing to help me make a display of exchange rates on my site? I only need Euro, Sterling, USD …

Web Development display php
Member Avatar for waelm2010
0
372
Member Avatar for benqus

Dear Dudes! =) If anybody has a complete list of php methods separate in a file, please share it with me! I really need a txt file containing all of the PHP methods. It goes for my diploma work also... =) Ex: [CODE] for(){} //new line if(){} //new line switch(){} …

Web Development business-entrepreneurship php
Member Avatar for benqus
0
149
Member Avatar for michael_r

hi i have got a simple table in my database like this: [B]from[/B]|[B]to[/B] bangalore | delhi chennai | mumbai i am using two drop down list to display this data. here is my code: [CODE]<select name="From"> <?php while($row = mysql_fetch_row($result)) { ?> <option value="<?php echo $row[0];?>"><?php echo $row[0];?></option> <?php }?> …

Web Development php
Member Avatar for diafol
0
160
Member Avatar for nelliott10

I am trying to code an update sql command which can be seen in the code below, however, i am getting the following error: - Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/qchqsdju/public_html/project/lines/update_line.php on line 40. The code is: - [CODE] <? // Connect database. …

Web Development mysql php
Member Avatar for diafol
0
89
Member Avatar for nelliott10

I am a bit of a newbie to PHP and have produced a dynamic form for a uni project, however, I am unsure how to code the PHP script which will insert the data inputted through the form into a SQL database. The code for the form can be seen …

Web Development php
Member Avatar for diafol
0
139
Member Avatar for lordtrini

I am trying to display the results of a query in the form of a table. this it the PHP that i am using below. The problem is that the headings of the table repeats. I really don't want that... I am also trying to get a border around the …

Web Development display php
Member Avatar for lordtrini
0
341
Member Avatar for fxm

This method invocation txt.match(/\[.*\]/g) works exactly as intended - it returns an array of matches [anytext1],[anytext2],[anytext3] I don't need the brackets, so out of curiosity I tried this tweak txt.match(/\[.*(?=\])/g) which - somewhat to my surprise I must admit - does exactly what I was hoping it would do and …

Web Development javascript
Member Avatar for fxm
0
95
Member Avatar for Designer_101

Hey Im having a bit of trouble due to creating a media player playlist and using xml to input the directory variables to flash. I haven't really used xml much apart from that. Anyway... I need the variables from my XML file in a variable ready to print in php …

Web Development flash php xml
Member Avatar for whiteyoh
0
116
Member Avatar for BHance

Hello All, I have 2 data sources. Data source A needs information to be updated on a regular basis. It receives it's updated information from data source B. There are many thousands of records involved here so I am trying to limit the amount of MySql queries as much as …

Web Development php
Member Avatar for wcgoran
0
5K
Member Avatar for Arsench

Hello world, I’m trying something very simple but can’t get the result. I have table from I’m selecting a value which exist, then I want to display the value on the other page, but can’t get the result. Here is the code. The first page is active.php where goes the …

Web Development display php
Member Avatar for Arsench
0
116
Member Avatar for nccsbim071

hi, i have a website where i provicde a link. On clicking the link a controller action method is called to generate a zip file after creation of zip file is done, i show the link to download the zip file by replacing the link to create a zip with …

Member Avatar for nccsbim071
0
291
Member Avatar for star_lavender

How to use while loop to loop a set of radio button groups? I have several questions that retrieve from database and each question has five different ratings named 1, 2, 3, 4 and 5. I create radio button group for the rating and using while to loop them. I …

Web Development php
Member Avatar for star_lavender
0
3K
Member Avatar for Encrypted

Anyone know what I'm doing wrong here? I'm trying to get this code to work so that if a directory exists.. the mkdir() function is bypassed (so i dont get an error) but it seems that no matter what I throw in my is_dir() function it always hops down to …

Web Development php
Member Avatar for Encrypted
0
129
Member Avatar for haboota

Hi - I am playing around with a php image gallery and Im stuck trying to add lightbox to it. The script automatically builds the gallery, and all anchors to the full size picture are generated. How can I add the rel="lightbox" tag? [CODE] echo "<center><a href=\"$PHP_SELF?path=$aPath&page=$aThisPage&img=$aFn&idx=$aIdx\"><img border=\"4\" width=\"$twidth\" height=\"$theight\" …

Web Development image php
Member Avatar for haboota
0
123
Member Avatar for Juls

Hi, I have a text data type field in MySQL table that I need to read out to a page. When the value is entered into this text field the value will have returns as follows: ------------------ TEST TEST aaaaaaaa asdasdasdfas 3rd lineasadas ---------------- When I read this value out …

Web Development display mysql php
Member Avatar for Mckcvision
0
299
Member Avatar for jrw89

I have the following code:[CODE=php]<?php $implementation = new DOMImplementation(); $document = $implementation->createDocument('http://www.w3.org/1999/xhtml', 'html', $implementation->createDocumentType('html')); echo $document->saveHTML(); ?>[/CODE]which returns:[CODE=html]<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"></html> [/CODE]...exactly as I wanted it to. However, when I run the following: [CODE=php]<?php $implementation = new DOMImplementation(); $document = $implementation->createDocument('http://www.w3.org/1999/xhtml', 'html', $implementation->createDocumentType('html')); $head = $document->createElement('head'); $document->appendChild($head); echo $document->saveHTML(); ?>[/CODE]I …

Web Development php
Member Avatar for jrw89
0
106
Member Avatar for jeeter19

I have 2 variables that should be global within its own file. I am attempting to access their set information from a function within that file but I receive nothing but an error. When I hardcode in the information into the function instead of retrieving from the variables, it works …

Web Development php
Member Avatar for diafol
0
104
Member Avatar for oggiemc

Hello people, Im getting an "Exception occured ---java.lang.NullPointerException" error when i try running the code below: [code=Java]public void Register(String Username, String Password, String Surname, String Firstname, String Email, String Phone) { String a = Username; String b = Password; String c = Surname; String d = Firstname; String k = …

Web Development java java-jsp
Member Avatar for oggiemc
0
238
Member Avatar for leeZA1

I have a problem, if someone can help great!! Every time the form is submitted to delete the stabletitle it says successful even when the title entered is not in the database, if its not in the database it should say unsucessful, can someone see what is wrong with my …

Web Development php
Member Avatar for diafol
0
87
Member Avatar for Linlin

Hello! I have more or less zero knowledge about coding in PHP. The most I've done is includes, to help me maintaining my sites more efficiently. I hope I will not offend anyone with this question. Anyhow, towards my issue. I have one table containing several fields, with information such …

Web Development display image php
Member Avatar for almostbob
0
229
Member Avatar for niths

i am not getting the value in $sql2. so can anyone please.... thank u [CODE]$sql2="select allocatedmemory from projects where projectname='$projectassign'"; mysql_error(); $data1=mysql_query($sql2); echo '$data1';[/CODE]

Web Development php
Member Avatar for cwarn23
0
92
Member Avatar for sniigg

Hi all, I am creating a checkbox dynamically on page load. [code] using (SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["SimplifyNew"].ToString())) { SqlCommand cmd = new SqlCommand("usp_selectModifiedResults", conn); cmd.CommandType = CommandType.StoredProcedure; conn.Open(); SqlDataReader reader1 = cmd.ExecuteReader(); while( reader1.Read()) { System.Web.UI.HtmlControls.HtmlGenericControl DivCheck = new System.Web.UI.HtmlControls.HtmlGenericControl("DIV"); DivCheck.Style.Add("float","left"); CheckBox cb = new CheckBox(); DivCheck.Controls.Add(cb); bradbandPanelTarget.Controls.Add(DivCheck); cb.ID …

Web Development asp.net
Member Avatar for reach_yousuf
0
279
Member Avatar for keval_hack

Alright, I do little experience with programming with HTML/PHP The thing I need is an script that will log the visiting persons IP address AND his country of origin in any way; so the admin (me) can see it and confirm he/she has done whatever I want him to do. …

Web Development php
Member Avatar for keval_hack
0
157
Member Avatar for frugalfreeloade

Hi, I've been searching for hours for an answer to this. I have a coupon saving website and I'm trying to allow people to print off a shopping list by checking checkboxes that once submitted will send you to a basic white page with just those item selected displayed so …

Web Development php
Member Avatar for metalix
0
216
Member Avatar for Syakoban

Hi, I'm trying to get an "app" created to run a com port on my local machine to control some electromechanical equipment. The issue is connecting to the local machine from a phone or laptop using WiFi and pulling up a "web page" (in PHP???) that can then communicate to …

Web Development php
Member Avatar for metalix
0
136
Member Avatar for kayblack

Hi guys, I'm trying to create a php script that'll send information gathered from a form and send it as an html email with the info arranged in tables. Can't seem to get it to work. Here's the message part of the script (containing the table): [CODE]$to="o.oloyede@feeslimited.net"; $message=" <table width="500" …

Web Development email html-css php
Member Avatar for cjohnweb
0
6K
Member Avatar for sallecpt

Hey guys. First of all, its been 2 days, and already 2:30am in the morning. I've eaten a steel fork, jumped over the moon, broke an arm, and cant get it to work. Will somebody please assist me in this; The end result sound simple, and maybe it is, but …

Web Development html-css mysql php seo
Member Avatar for sallecpt
0
155
Member Avatar for michael_r

hi every one this is my first post in any forum i have got an error while inserting a row to mysql this is my code: $query = "INSERT INTO flight(date,from,to,depart_time_hr,depart_time_min,arr_time_hr,arr_time_min) VALUES('$_POST[date]','$_POST[from2]','$_POST[to2]','$_POST[hours1]','$_POST[minutes1]','$_POST[hours2]','$_POST[minutes2]')"; the error shown is: 1064 You have an error in your SQL syntax; check the manual that corresponds …

Web Development php
Member Avatar for michael_r
0
157
Member Avatar for Corbula

I have a lot of tables and to get it to post some of the data into a form. So say i have a location and a start date and end date, and when i select a radio and click submit the location and dates get put into the corresponding …

Web Development first-post javascript
Member Avatar for Airshow
0
3K

The End.