52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jaypatel711

For my project I am sending the HTML value from one text editor. For that I had set the character set to UTF-8. Here I am sending value through URL. In the text editor I am Providing the facility of changing the color of text. Now when I change the …

Web Development apple java-jsp
Member Avatar for jaypatel711
0
173
Member Avatar for srikanth.hk

Please anyone help me out it is very urgent php data grid view with update delete option for each row . it should be with php,ajax or javascript .....i dont want dot net code

Web Development php
Member Avatar for sateeshms
0
99
Member Avatar for melodopolis

Ok this is my first post so please be gentle... I have tried several ways to get data to a mysql database from radio buttons that have male or female options.. I had it saving to the database but couldn't get the data out and into the radio button... example …

Web Development php session
Member Avatar for melodopolis
0
224
Member Avatar for MoreBloodWine

[code] <script type="text/javascript"> function confirmation() { alert( "Please Confirm Before Proceeding !" + "\n\n" + "Display Name: " + document.forms["paypal"]["os0"].value + "\n" + "Donation Amount: $" + document.forms["paypal"]["amount"].value + "\n\n" + "Click Ok to Proceed or Cancel to Make Changes." ) } </script>[/code] Ok, here's what I would like done …

Web Development javascript
Member Avatar for MoreBloodWine
0
100
Member Avatar for aftong

Hello, I am trying to create an order form that allows a user to customize a fire ring by choosing the number of segments in the ring and the designs on each segment. When the 'Submit' button is pressed, the form returns to the same page and the page checks …

Web Development first-post php
Member Avatar for aftong
0
88
Member Avatar for aftong

Hello, The problem I am having is when the following script is executed within my page and the user submits the form, the variables passed to the GET array are duplicated only for the inputs created by my script. I have other inputs in the form that are created within …

Web Development javascript
Member Avatar for aftong
0
77
Member Avatar for Xtremefaith

So having a decent understanding of programming but new to PHP I'm stuck on this somewhat simple problem. I have column titles being listed from my database as follows: [CODE=php] //This section gathers the field names // and puts them in the first row of the table $sql = "SELECT …

Web Development php
Member Avatar for Xtremefaith
0
168
Member Avatar for gwpaul

I am having a problem in getting a watermark on an image that is called from a database. I can static image static image to work fine, but when I try to use it on a dynamically called image, I get these errors. I am trying to merge two images …

Web Development file-stream php
Member Avatar for gwpaul
0
99
Member Avatar for trilithon

Hi All, I need to use the results of this query as an array to exclude files from a tree. The file and folder names that I enter into $exclude work fine but I can not seem to add the results from the query to the array. Below is the …

Web Development mysql php sql
Member Avatar for trilithon
0
173
Member Avatar for vinay9785

Hey everyone.. I am relatively new to PHP and JS and I need help. I need to populate a dropdown list from a db(mysql). I can do it just with PHP. The problem arises when I add another of the same dropdown to my form using javascript. I need the …

Web Development javascript mysql php
Member Avatar for vinay9785
0
113
Member Avatar for programmer12

Ok, my question is... Why is it that when i uploaded my files to the server the [CODE]header("Location:".$config_basedir.");[/CODE] wont execute more than once.... But on my Localhost I had no problem with the header refreshing... Is there a way to stop this from happening or maybe a revise PHP code …

Web Development php
Member Avatar for ofus
0
137
Member Avatar for Awah Mohamed

hey everyone i need your help i want to create a mailling list in php and mysal but i dont know how to do it , so please if you know how to do it please tell me or if you know where i can get it also tell me …

Web Development mysql php
Member Avatar for Awah Mohamed
0
115
Member Avatar for Aaron44

I have created a csharp script that connects to my sqlexpress database. It works perfectly in my test environmnet. When I upload the web application to discount asp.net I cannot connect to the database using the hookUp command. The web.config file is working, I can connect to the database and …

Web Development asp.net sql
Member Avatar for Aaron44
0
99
Member Avatar for JenniO

Can anyone tell me why I am getting an undefined error, and what I can do to fix it? I appreciate your help. [CODE]<script> window.onload=myday; function myday(){ var day=new Array("sunday","monday","tuesday","wednesday","thursday","friday","saturday"); var d=new Date(); theDay=d.getDay(); for (i=0;i<=day.length;i++) { if (i!=theDay) { document.write("today is not " + day[i]); document.write("<br />");} else { …

Web Development javascript
Member Avatar for hielo
0
82
Member Avatar for djcrab

This is my second to last assignment and then I'm done! Ok, below is the code for a simple "purchase form". I'm a bit stuck so here are my problems. 1. When I click "Purchase" and then "OK" on the dialog box, if a field is empty it will let …

Web Development html-css javascript
Member Avatar for djcrab
0
102
Member Avatar for mbhanley

Hi * I have spent the last 18 hrs or so trying to get the wright sql code or think of an alternative but I just can't get my head around it. If any one can help me it would be awsome. What I am trying to acheive is getting …

Web Development mysql php session
Member Avatar for hielo
0
221
Member Avatar for Clawsy

Hello, I use Ruby with Sinatra in my application and I need to store a big data (exceeding 4K) in my session or somewhere secude on the server because I do some API calls and I refer to that data very often and that's why I need it stored. The …

Web Development caching ruby session web-browser
Member Avatar for Clawsy
0
420
Member Avatar for jonasjo

[CODE=php]<?php $server="localhost"; $username="root"; $password="root"; $db_name="test"; $db=mysql_connect($server,$username,$password); mysql_select_db($db_name,$db); if(isset($_POST['btnsave'])) { $quesid=$row['question_id']; $question=$_POST['txtquestion']; $ans=$_POST['choice']; $mark=$_POST['mark']; /*checking no of questions in question table */ $countcheck=mysql_query("select count (*) from question"); echo "no of questions in table are".$countcheck; while($row = mysql_fetch_array($countcheck)) { for(i=0;i<='$countcheck';i++) echo $row[i]; } $ab=mysql_query("SELECT * FROM question "); while($row = mysql_fetch_array($ab)) { …

Web Development php
Member Avatar for jonasjo
0
132
Member Avatar for Muath2000

Dear Friends, I'm having a problem for a few days with an sql statement. Idea: I'm trying to retrieve from table (sms_out) a list of mobile numbers. Each number with it's status of sent i.e Failed or Success. The output should be like this: Mobile No. ------------ Failed--------------Success--------------Total 0171112554 5 …

Web Development php
Member Avatar for diafol
0
110
Member Avatar for MoreBloodWine

Everything I have tried doesn't seem to work so I thought I would stop in here to see the experts. Is it possible to write the following into a $whatever = ''; ? I had some people try and while they sort of got it to work they broke the …

Web Development php
Member Avatar for MoreBloodWine
0
122
Member Avatar for jon44

Hey everybody, I'm new to PHP, and am having a seemingly simple problem, (Probably a stupid error on my part, atleast I really hope so) I hope you can help me deal with this, and to say thanks for any efforts, I will build 1,000's of backlinks for you, for …

Web Development html-css mysql php
Member Avatar for pritaeas
0
497
Member Avatar for trance girl

Hi, I have a question regarding Jquery :). I'm just a beginner and I don't know much that's why I need your help. I have a main menu that is drop down menu with images. But that other list must be separated. Why? Cause I'm working with Kentico CMS (ASP.NET) …

Member Avatar for trance girl
0
122
Member Avatar for rajbdilip

Hello. I have a form in my website that I want to hide at page load. But after the page load, there remains empty space. The form is inside the table. So, I tried resizing table with following code. But its not working. [CODE] <script type="text/javascript"> function HideForm() { document.getElementById('emf-form').style.visibility='hidden'; …

Web Development javascript
Member Avatar for rajbdilip
0
142
Member Avatar for Setvir

Hi guys and gals! I want to know if I am on the right track. I am working on a simple in-house cms. Here is a templating function I wrote to test an idea. It does work. [LIST=1] [*] The function loads the template file, [*] finds all the template …

Web Development cms html-css php
Member Avatar for Setvir
0
150
Member Avatar for JoeyWong

Hi all, I want to ask how i insert the selected data (Institution Name) and the input text data (School name) into MYSQL?? Thanks~ my database as below: [CODE=SQL]-- -- Database: `inno_education` -- -- -------------------------------------------------------- -- -- Table structure for table `institution` -- CREATE TABLE IF NOT EXISTS `institution` ( …

Web Development data-structure mysql php
Member Avatar for saiprem
0
264
Member Avatar for JayGeePee

I found a crawl detection script on the internet that works great. But at the moment I only have Googlebot. I'm trying to add YahoosLurp, and Ask Jeeves, and any other popular web crawler. PHP is definetly my weakness Heres the script [CODE] <?php $useragent = $_SERVER["HTTP_USER_AGENT"]; if (stripos($useragent,"Googlebot")) { …

Web Development php seo
Member Avatar for mbhanley
0
181
Member Avatar for farehan

Hi. I want to ask about this code. I'm trying to upload csv file and import into sql. but this code doesnt working.[CODE]protected void LinkButton1_Click(object sender, EventArgs e) { Response.Redirect("login.aspx"); } protected void Button4_Click(object sender, EventArgs e) { string filePath = FileUpload1.PostedFile.FileName; string filename = Path.GetFileName(filePath); string ext = Path.GetExtension(filename); …

Member Avatar for simongh2
0
127
Member Avatar for noellieb

I need help with writng a php code that reads cookies containing a user's name and the number of times he or she has visited a Web site. Whenever a user visits the site and clicks the submit button, print the value of the cookie count to the page, increment …

Web Development php
Member Avatar for cwarn23
0
1K
Member Avatar for swornavidhya_m

I have to do an module program which downloads pdf files in the client side. Currently, when users download the file, the url of the downloaded file is viewed by the user. Modification instructed: 1. In the page where the file download is requested, the url of the downloaded file …

Member Avatar for simongh2
0
121
Member Avatar for tunde011

I have been reading php manual and i need to encrypt passwords for users on my site. The thing is i do [CODE] $password =md5($password)[/CODE] and store it in the database what about when they want to signin. they enter their password but it won't be the same as the …

Web Development php
Member Avatar for cwarn23
0
307
Member Avatar for jaejoong

can I do this? [CODE]response.write (label1.text = exist!)[/CODE] if not.. can someone tell me how to do this.. thanks in advance..:)

Web Development asp.net
Member Avatar for simongh2
0
95
Member Avatar for asiaenforcer

I have able to generate several labels and textboxes based on a table in the database during runtime. My problem is that I could not get these values from these textboxes whenever a user changes these values and update them. Thank you for any answer or idea. I am using …

Web Development asp.net
Member Avatar for simongh2
0
220
Member Avatar for Machal

Hi! I have simple web application called App that is secured with Windows Authentication. I have set identity impersonate to true in web.config. There is only one page (Default.aspx) in App directory. When user enters the site ex.: [url]http://localhost/App[/url] the login window pops up. When user clicks Cancel, IIS redirects …

Web Development asp.net microsoft xml
Member Avatar for simongh2
0
681
Member Avatar for pjrey

hi, i have a form that i am using inside of my site.. and i just recently updated it... to use captcha... all is well, its just that when i submit it.. it hides the rest of the page, and only shows the form, and says, form sent successfully.. i …

Web Development php
Member Avatar for chrishea
0
176
Member Avatar for terrymold

Hi everyone Does anyone know of a PHP solution, or even a HTML solution, whereby a visitor could select a group of about 10 files (out of a couple of thousand!) and then click a "Download" button to download the selected files onto his/her PC? There is one solution I've …

Web Development php
Member Avatar for Setvir
0
315
Member Avatar for Puster

Hello! Yes, I am making a login system that recognize if the moderator is the main moderator or sub moderator. So i made a type row. If type = 2 the moderator is main and if it is 1 the user is a admin. So I made this on the …

Web Development php
Member Avatar for diafol
0
56
Member Avatar for dragon@dragon64

Hi i have created a form, with the submit button, which is working ok, but everytime the form is submitted, the page remains the same. I would like that as soon as the form is submitted, the system take the user to a thankyou page. Can anyone help please this …

Web Development html-css pay-per-click php
Member Avatar for dragon@dragon64
0
119
Member Avatar for Puster

Hello! I have made at site for my company that are going to upload images, and when the image is uploaded a watermark with copyright are being set in the bottom. But I got errors. [QUOTE] Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: Filename cannot be empty in C:\xampp\htdocs\sjohaugbygg\admin\upload.php on line 66 Warning: getimagesize() …

Web Development html-css php
Member Avatar for diafol
0
229
Member Avatar for nats01282

Hello, i was searchin for some fancy flash effects for my website and come accross this website [URL="http://agencynet.com/#/home/"]http://agencynet.com/#/home/[/URL] i am unsure what this website is coded in and would like to know. and also what skills are needed to create a website like this? im not after creating a massive …

Web Development flash php
Member Avatar for nats01282
0
68
Member Avatar for maxicube

oh hey guys, i got this little issue where i can read from the database. but i cannot write to it.. here be my full code. live site at [url]http://downloadavirus.net[/url] [CODE]<?php $params = $_SERVER['QUERY_STRING']; $url = $_POST["url"]; $username = "--------"; $password = "--------"; $database = "--------"; mysql_connect(localhost, $username, $password); @mysql_select_db($database) …

Web Development html-css mysql php
Member Avatar for Kieran Y5
0
160
Member Avatar for Brianbc

I am using the code below to insert time into a table, and this is the output it's giving me: 0000-00-00 [CODE]//table start DATETIME, //code to insert date into db $_POST['start']=date("Y-m-d H:i:s"); $insert = "INSERT INTO eguardIPs (Field1,Field2,Field3,start) VALUES ('".$_POST['Field1']."', '".$_POST['Field2']."', '".$_POST['Field3']."', '".$_POST['start']."')"; $add_start = mysql_query($insert);[/CODE]

Web Development php
Member Avatar for Brianbc
0
104
Member Avatar for rahullao

I am using microsoft access as my database. When i click on the button Enter Details nothing happen. Please suggest where the mistake is. The doGet method contains the following code [CODE] super.doGet(request, response); String Name = request.getParameter("txtName"); String Designation = request.getParameter("txtDesignation"); Connection con = null; PreparedStatement pstmt = null; …

Web Development java-jsp microsoft-access
Member Avatar for javaAddict
0
105
Member Avatar for nats01282

if i use this code page1.php [CODE] <form action="" method="post" > First <input type="text" name="first" /> last <input type="text" name="last" /> <input type="submit" /> </form> <a href="page2.php?first=<?php echo $_POST['first'] ?>&last=<?php echo $_POST['last'] ?>">click here</a>[/CODE] page2.php [CODE] <?php session_start(); define ('first', $_GET['first']); define ('last', $_GET['last']); ?> <p>information submitted thank you, <a …

Web Development php
Member Avatar for Setvir
0
143
Member Avatar for simirnov

Hi all, I am a newbie in PHP and is validating a form in PHP. I have an issue in this validation. The issue is that form validation is working properly to the field of email address. After this email comes the password and confirm password. The password fields are …

Web Development php
Member Avatar for hielo
0
10K
Member Avatar for Cool&Awesome

Hi guys, Ok, call me lazy, or call me busy, but what's your opinion on this: Does it make sense using resized original images instead of thumbnails? Today's internet is pretty fast,and i've just done an image intensive website, so i'm thinking on applying this solution to an image intensive …

Web Development caching php
Member Avatar for Cool&Awesome
0
73
Member Avatar for gshockneo

hi all, I want to call a class function using beans inside java script. but it is not working. It calls that function only 1 time. [code] <jsp:useBean id="track" scope="session" class="ReturnProgress"></jsp:useBean> <script type="text/javascript"> function getProgress() { document.getElementById('progress').innerHTML = '<%=track.findProgress()%>'; } </script> [/code] I want that Whenever user clicks on button …

Web Development java-jsp javascript session
Member Avatar for bofcarbon1
0
3K
Member Avatar for djcrab

I'm beginning to think that I don't have the eyes for this. Chrome's JS console is telling me that on line 28 "setCookie is not defined". What does this mean? I've looked at the function portion and it looked the same as my book but I have missed punctuation/spelling before. …

Web Development javascript
Member Avatar for djcrab
0
112
Member Avatar for JustmeVSI

Hi guys. The thing is that I have some experience with other programing languishes like Java and C#. I recently got into php and java script. The questions is when wold you prefer to use java script functions over php. For example say the random function. I'm aware of the …

Web Development javascript php
Member Avatar for JustmeVSI
0
445
Member Avatar for Raf8

Hi ! I’m new to php and try to devellop a simple application that would allow the user to classify various dishes by using radio buttons. I'm a bit lost :( My code is as follows (I’ve already got help to achieve it, but can’t go further). The first part …

Web Development php
Member Avatar for Raf8
0
121
Member Avatar for lbargers

Hi, My sql database contains a video table which has a video 'adddate' field. I need to change the code [COLOR="Red"].$video['adddate'].[/COLOR] from the following format: 2010-11-02 to 11-2010 I've changed it in .tpl files doing the following: {assign var='vidMthYr' value=$videos[i].adddate} {$vidMthYr|date_format:"%m-%Y"} However that does not work in my .php code …

Web Development mysql php
Member Avatar for diafol
0
139

The End.