52,566 Archived Topics
Remove Filter ![]() | |
Even after reading up on it I'm not sure how to use if(isset(... for what I'm I'm trying to do. Can someone point me in the right direction please before I pull my hair out? My code [code=php] if(isset($_POST['email1'])){ mysql_query("INSERT INTO rating_invite SET user_id='$_SESSION[user_id]', email='$em1'");} if(isset($_POST['email2'])){ mysql_query("INSERT INTO rating_invite SET … Web Development php | |
Hello all, I've submitted something similar in the asp.net forum so if you frequent both you'll see it in both places. I'm curious if javascript or ajax can help us accomplish some of our tasks, here is the post in the other thread: Hello all, I'm a bit newer and … Web Development asp.net developer-tools javascript | |
Hi,I have maybe stupid question but are anyway to build "forum" on javaScript or Html without using SQL or ASP maybe there is way client send his information directly to the page? Thanks,Sergey Web Development javascript | |
Alright so I have a Grid with 17 fields. I have my onrowupdating method, and it works, except for this one value is not getting passed to the method. So when I say e.oldValues I get only 16 not 17. The problem lies in one of the rows that I … Web Development asp.net | |
Hi All, We have a website by name, [url snipped]. It was integrated with Payment Options, viz., PayPal Pro (Master Card, Visa Card, AMEX and Discover Bank) and PayPal. While making payment through PayPal Pro, we don't face any issues. The order flow is there. We could see them through … Web Development php | |
Hi, I am using a date in DB in this format 2004-07-15 and Showing the date in the format 15-July-2004 using this code [CODE=php]echo "<tr>"; echo "<th bgcolor=#FFCC00>LA Start Date</th>"; echo "<td bgcolor=#FEE9A9>" .date("j-F-Y",strtotime($row['LAPeriodStart'])). "</td>"; echo "</tr>";[/CODE] Now I want all the records from this date field for the month … Web Development php | |
Can anyone help me with the mail function? The mail is sending with the code below: [code=PHP] // Set up Email Parameters $from = "Condolence Submission"; $subject = "Condolence"; // To send HTML mail, set the Content-type header. */ $headers = 'MIME-Version: 1.0' . "\r\n" . 'Content-type: text/html; charset=iso-8859-1' . … | |
i want to create the xml file and add insert and delete the node , caN YOU SUGGES ME TO THE CODE OR LINK TO HELP ME , | |
I want reset user choice of radiobutton here is my code [CODE=javascript] form action="mailto:meerovichsergey@gmail.com" method="post" enctype="text/plain"> <fieldset> <legend>Your opinion</legend> <input type="radio" name="choice" id="op1" value="All was perfect ,answer to all question." >  All was perfect ,answer to all question.<br/> <input type="radio" name="choice" id="op2" value="Arcticle is good,but there are a things to … Web Development javascript | |
I m planning 2 go for some language and m completely confused in between vb.net and asp.net. could any one let me know which one is for what and more applicable nowadays in industry.. like my main emphasis is on website development and o also want to develop an inventory … | |
So guys... everything is working properly except for when the radio button is clicked to either "yes" or "no" on the form the email that is send does not display it at all. [code] $message = " $todayis [PST] \n Attention: Interactive Media Requesting a Bid \n Phone Number: $areacode2, … | |
I wrote this code bellow but it doesn't work how I get to [B]bgcolor[/B] of [B]tr[/B] tag? [CODE][COLOR="Red"] <table id="menutable" name="table1"> <tr onmouseover="ChangeCol()" id="tr_1"><li><a href="main.html" name="main" target="main">Main Page</a><br/></tr> <script language="JavaScript" type="text/javascript"> <!-- function ChangeCol() { var col="#998800"; document.menu.tr_1.bgcolor=col; } //--> </script> [/CODE][/COLOR] thanks.Sergey Web Development javascript | |
I'm having an issues with this script from my own debugging it appears that the readyState is doing the following 1 ... 4 ... 1 ... 4 the second time it appears not to have any response so I end up seeing my content shortly (if all my debugging alerts … Web Development javascript | |
hi developers my name is sajjad i have little problem in asp.net i have made two pages one is login and other is welcome page a user enters name and password in login page after checking valid user it open welcome page and after signout jumps to login page again … | |
hi guys! can you look for my script im required to use php. i have two comboboxes namely cat and sub cat. and i have a textbox. my logic goes to when i select item from cat it will display its sub items in subcat. and then when i select … Web Development php | |
I really am stumped by this problem and would appreciate some help.. I am tryiing to build a site on a computer running Wiindows XP and using, mainly, FrontPage 2003 although I have also used Notepad to try and solve a problem that has arisen. The problem is that IE6 … Web Development hard-drive javascript web-browser | |
I have a main.php page with multiple divs. I load whole pages in these divs using AJAX. Some of these pages have forms with submit buttons. The structure of the pages is like so: For acc_settings.php [CODE]<form enctype="multipart/form-data" method="post" action="acc_settings.php" > . . <button type='submit' name='update' >UPDATE</button> </form>[/CODE] So the … Web Development data-structure first-post javascript | |
I am trying to code some advertising banners on my page based on random picks from a table in my DB. I have successfully got my top banner to display and log an impression: [CODE] // Top Banner $query="SELECT * FROM sm_ADS WHERE id_Maze_Category='$Category_ID' and Type='large' and Active='1' ORDER BY … Web Development advertising php | |
Hi, I'm having a very strange problem. I use lampp on centOS linux. My application has a upload Script (in PHP) which uploads file to file system. after upload and moving file to correct location, uploaded files are getting deleted. I check file upload and moving of file by putting … Web Development file-system php | |
I have downloaded a lyrics script, and that works, but the author of that script didnt create a file for submiting lyrics... i have tried to create a script but im not a php pro so i ask help from daniweb, to help & create that ""submit.php""... the one who … Web Development php | |
how can I align the link i mean i can i manage the 4 link two of them at the left corner two of them at the right corner? [code=html]<style type="text/css"> .sag {text-align: right} .sol {text-align: left} </style> <a class="sol" ... <a class="sag"...[/code] but it doesn't work Web Development html-css javascript | |
Hey all, I am on the verge of insanity and come to you on hands and knees. There is a long explanation and a short, this is the short: I need to install System.Web and System.Web.Extensions 3.5.0.0 into the GAC on my web server. I downloaded the latest install from … Web Development asp.net web-server | |
I am trying to update a website after I uploaded the updated source files codes to the ftp site. When I try to access the site I get the following: "Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings … Web Development asp.net web-server | |
Hi! I want to retrieve the password which is entered in the CreateUserWizardStep but it only returns empty string. When I try to retrieve CreateUserWizard.UserName it returns the username but when i try to retrieve CreateUserWizard.Password it returns an empty string. Thanks! Web Development asp.net | |
Hi, the problem is that I don't want the code to insert the [B]script name[/B] in the database. So I added this [CODE] basename($path) != basename($file_path) [/CODE] but don't work and the name of the script is then inserted in the database. What this script do is read all the … Web Development php | |
Hi Everyone! I don't think this is a hard question for all of you well versed in javascript and jQuery, but I seem to be having some problems. I am building a forum and I am experienced in PHP, MySQL and even in jQuery now somewhat, but I have run … Web Development javascript javascript-jquery | |
Hello Is it possible, to set up a system where if someone goes to google and types "test" and then clicks on my link, it automatically saves the string to my database, so i can see what he/she searched. Iv been looking around for a week, so would apericiate some … Web Development php | |
Hi experts, I got problem in servlet. I have a web page that has two buttons (submit button and update button) , both buttons call the servlet. my question is how I let my servlet program distinguish the two buttons when one of the two buttons is pressed. the servlet … | |
Hey guys, I'm having a small problem with getting a image map to work when I generate it with PHP. I'm using two separate files. The one is used to display the image which has the image map and the other file is the code I use to retrieve the … | |
just a small query.. . . i just want to know how to enter fetched data into an array..!!! Web Development php | |
Image1.ImageUrl= "C:\\Documents and Settings\\Administrator\\Desktop\\4014_thumb.jpg"; This simple code is not working. What may be the problem. Its not displaying anything. If i give the url in the properties of the image button it works but if i assign like above it doesnt. Web Development asp.net | |
i have to use datetime control in my asp.net application .can any one help me out.send me control Web Development asp.net | |
ok what i have users do is upload files to the server, the files gets renamed for conflicting issues, and then they choose a name they want to call the file. After it uploads it sends that info to the database. now i know that they are going to want … Web Development php web-server | |
Hello friends! I want to know the way I can align my text in a hyper link. I got the way of aligning it horizontally but what I want is that it should be aligned vertically too. Can anyone help me please? Thanks in advance. Web Development asp.net | |
Hi All, I have a problem with this piece of code: [code] string fileName = Label1.Text.Replace(" ","_") + ".jpg"; string localImageUrl = Server.MapPath(@"Images\" + fileName); [/code] The image does not show. When I ommit @Images\ abn move the images to the root of the project the image does show. any … | |
Hi experts, I am having a problem with sending mail from servlet I have written this code : [code=Java] import javax.mail.Session; import javax.mail.Message; import javax.mail.Transport; import javax.mail.MessagingException; import javax.mail.internet.MimeMessage; import javax.mail.internet.InternetAddress; import java.util.Properties; public class EmailSenderDemo { public static void main(String[] args) { String from = "ali@mlabs.com"; String to = … | |
Hi, I want to get only the filename from the entire path in a file dialog in JSP. Right now I am using type "file" in input tag. any help will be appreciated. cheers! Web Development java-jsp | |
I would really appreciate some help with this. I have searched and searched the internet but cannot find information on exactly what I am trying to do. I have a javascript toggle function: [code] function toggle_change() { var ele = document.getElementById("change_log"); var text = document.getElementById("Toggle_change"); if(ele.style.display == "none") { ele.style.display … Web Development javascript | |
I have my back ground in VC# is desktop application development. In VC# [CODE] if(user.Text == "admin") { form f = new AdminForm(); f.show(); } else if(user.Text == "Facaluty") { form f = new FacForm(); f->show(); } [/CODE] on different user level i can open differnt form according to their … Web Development php | |
sorry about this noob question, but i am new to PHP. i created a databse in PHPmyadmin to handle IP adresses and was wondering what type should it be ( int,varchar.etc.) i will be using $referrer = $_SERVER['HTTP_REFERER']; to compare the database to this. i was also wondering if there … Web Development php | |
Hi There, I had this post before,but I have some problems when I add a header for specific charcter set,and also add some additional data, here is my code; [code] Response.Clear(); Response.ClearHeaders(); Response.ClearContent(); Response.Buffer = true; Response.AddHeader("content-disposition", "attachment;filename=aname.xls"); string header = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n<title></title>\n<meta … Web Development asp.net | |
For the last three days I have been working on developing a view panel that will display the users site stats and there sites info on one of my site. I plan to use a absolute div with a title bar that is the handle for the drag and drop … Web Development html-css javascript | |
Okay, I had a thread in the HTML and CSS section, but I'm going to put a new one here with more detail. My friends have created a Cabal private game server, on THEIR computer. Im trying to create a site for it using my computer, but AS OF NOW, … | |
hi, just need help on how to get started on how to make a scrolling text on an iframe..like a scrolling news on a page.. any ideas is greatly appreciated :) Web Development javascript | |
I have googled it so many times, and I still feel clueless about what language I should go with. I feel comfortable in ASP.NET, and I have coded some small stuff here and there in PHP too. 1) I do not have visual studio 2008. I have Visual Studio 2005. … Web Development asp asp.net ide php visual-studio | |
Hi people, How to I can detect if a div was changed after the page loaded? E.g. by innerHTML function. ps: onChange not is valid for tag div. Reference here on [URL="http://w3schools.com/htmldom/event_onchange.asp"]w3c[/URL]. Thanks! Web Development javascript | |
While I am a veteran OOP programmer, I am stumped on aspects of the scope of javascript objects. What follows is a self-contained custom javascript class who's function is to manage a suite of containers as accordion sliders. I got it to work but must-be I'm not sure why it … Web Development javascript oop xml | |
I have searched the web, the PHP manual and checked some reference books, but I can find any satisfactory answer to my question. Perhaps It my poor grasp of the constructor concept and it's proper application? Here is the issue: I have a an existing class constructor definition that I … Web Development php | |
[COLOR="Green"]How can I block a content from being copied and right clicked ...................................I want to block some images and some text........ please I want it fast[/COLOR] Web Development php |
The End.