17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Froger93

Hey guys, I have been working on some code and have struck a problem, I tried to make the code as easy as possible to edit at a later date. The issue comes when I include a config file from a directory for a certain page, this config file decides …

Web Development html-css php web-design xml
Member Avatar for SAMAEL
0
170
Member Avatar for sudharani

Hi friends, I am doing a small project.In that the user can order for some products.when the user clicks the oreder_submission Button one conformation dialogue Box should appear with the message of confirmation with two buttons "Yes" and "no". Pleae give me the code in C#.

Web Development asp.net
Member Avatar for serkan sendur
0
92
Member Avatar for deadmancoder

hello all, i am new to ajax.. unfortunately, i was given an assignment before i complete ajax.. i need help, someone pls direct me where i can learn to solve the following thing!! Consider a web page has 3 frames, the top has the header, the left has the actions …

Web Development javascript
Member Avatar for Thirusha
0
118
Member Avatar for Mahsa_C++

Hello to all, I'm just starting off learning PHP programming.As for the beginning i managed to download Apache 2.2 and PHP 5.3.0 , but i gave up frustrated after browsing several pages googling how to add the PHP to the Apache so that the server uses the php interpreter and …

Web Development apache php web-server
Member Avatar for Mahsa_C++
0
328
Member Avatar for julio gomez

Hi, I have a corn.php file that runs automatically every day and one of the functions is to send an e-mail to certain users. The problem is that the e-mails are being sent twice. I can't find anything wrong with the cron file, but checking the access_log.processed file of the …

Web Development apache file-system php
Member Avatar for julio gomez
0
157
Member Avatar for cwarn23

Hi and I have been looking around and found that google has a few search api's but haven't yet found one that returns the results as a javascript/ajax array. Is it possible to at least get the google api to send the results to my website as a variable/array in …

Web Development api javascript php seo
Member Avatar for cwarn23
0
190
Member Avatar for ofir0803

Hi i created a small program that does connection to db and perform a select. that's works fine for me. now,i want to make it a web service, but how can i return the result of the select query from it? please help... this is my code... [CODE] using System; …

Web Development asp asp.net open-source
Member Avatar for Ramesh S
0
162
Member Avatar for davidjennings

Hi all, I am trying to pass values to the cart. When I select add to cart the values show up in the url but does not direct the user to the shopping cart. url output. http://214.146.126.103/streetwise/result.php?itemname=CITROEN&returnurl=http%3A%2F%2F214.146.126.103%2Fpassenger.php&price=123.00&storeid=xxxxx&quantity=1[/url] [code=php]//passing variables from db $m_id=$row{products_make}; //echo $m_id;// test out put valid $p_id=$row{products_price}; //echo …

Web Development php
Member Avatar for davidjennings
0
175
Member Avatar for JerieLsky

Hi guys, i don't know what 's causing this php error: [QUOTE]403 Forbidden. You don't have permission to access /Duplicate of Edited Site/< on this server.[/QUOTE] Need help. This problem actually occured when i clicked the submit button from a certain form. Thanks in advance. This is code: [CODE]<html> <head></head> …

Web Development php
Member Avatar for ivatanako
-1
201
Member Avatar for JerieLsky

I'm just new in php actually and this is the problem that i have been encountering lately. I actually have one .html file and .php file, on the .html file I created a form which looks like this: [CODE]<table cellpadding="0" cellspacing="5" border="0" width="500" align="center"> <form name="FAQ" method="post" action="question.php"> <span style="font-family: …

Web Development php
Member Avatar for ivatanako
0
237
Member Avatar for AdventDeo

Ok so I have two separate AJAX function that I want to combine but have no idea how. The first 2 files are to call up a table with cells in the form of text-boxes, and the last 2 files are linked dropboxes. What I want to do is to …

Web Development html-css javascript mysql php
Member Avatar for AdventDeo
0
122
Member Avatar for j_limboo

Echo google problem Please advice you inputs are greatly appreciated [CODE]<?php if (empty($_GET['q'])){ echo "What are you doing?"; } else { /* getting value from the search form creating a new variable*/ $ser = $_GET['q']; /* applying logic and creating a new variable to it*/ $logic = "~resume (filetype:pdf OR …

Web Development google pdf php
Member Avatar for j_limboo
0
101
Member Avatar for f_atencia

I think this is more of a SQL query but how do I change my Grid Viewso that it displays a currency in the proper format of $ with 2 decimal places only? As it stands it is only like 194.9500 format. Cheers again.

Web Development asp.net
Member Avatar for serkan sendur
0
142
Member Avatar for LJames

I have a text box for number input. Validator works fine for range 1 to 100, but it still allows the return key to be used. I want to tell ASP.NET, using VB, to ignore a return key press. Any ideas?

Web Development asp.net
Member Avatar for serkan sendur
0
112
Member Avatar for Sereal_Killer

im busy with a school project to create a photo viewer type site with java script. the whole thing i being created from java script and im giving all the img's an ID tag how do i go about getting the id of the img that i have just clicked. …

Web Development javascript
Member Avatar for Sereal_Killer
0
248
Member Avatar for j_limboo

echo $_GET[x] changing it into variable... any code sugessions Please advice new to PHP some inputs first change $_GET[x] to variable and then echo

Web Development php
Member Avatar for j_limboo
0
123
Member Avatar for jazzycontact

hi i don't know it is wright place for it or not. i am new in javascript programming. i am try to implement find and replace functionality. in it i want to search keyword in particular div only. not other part of the page. i have implement following code function …

Web Development javascript
Member Avatar for Troy III
0
132
Member Avatar for coollife

why crystal report displays empty fields with no data . Why dynamic binding is not happening . here in my case Cat_id cat_Name is displayed no values under it is displayed code: protected void Page_Load(object sender, EventArgs e) { SqlConnection con = oclsdbcon.Getconnection(); con.Open(); DataSet1 ds = new DataSet1(); string …

Web Development asp.net
Member Avatar for Ezzaral
0
74
Member Avatar for cybershark

Hi, I'm trying to get the IF\ELSE statement within the foreach to print "keyword," or if it's the last element in the array just to print "keyword" [CODE=php]$key = "mykey"; $url = "http://access.alchemyapi.com/calls/text/TextGetKeywords"; $text = <<<EOD Barrier Logic The barrier logic is a reliable cost effective solution to barrier electronics. …

Web Development data-protection php xml
Member Avatar for cybershark
0
127
Member Avatar for nagatron

Hallo to all, I have a problem on how to test an existing data from the database. . .I have this registration form which displays an error if the user inputs a username and emai address which already exist in the database. Please help me, I can't find any related …

Web Development php
Member Avatar for nagatron
0
92
Member Avatar for DealthRune

When I use my php, and code it and such, for some reason when I use '<?' my php doesn't work. And I need it to go like that because I download a lot of scripts other people made and most of them don't use '<?php'. Can anyone help??

Web Development php
Member Avatar for DealthRune
0
179
Member Avatar for Muazam

Hey, htmlentities doesn't work in this code of mine, someone know why? Check line 11-14 Thanks. [code]<html> <head> <title> Welcome <?php echo $_GET['name']; ?> </title> </head> <body bgcolor="<?php echo $_GET["favcolor"]; ?>"? <h1> Welcome <?php echo $_GET['name']; ?> </h1> <br /> <?php foreach ($_GET as $key => $verdi) { $verdi = …

Web Development html-css php
Member Avatar for Muazam
0
150
Member Avatar for nagatron

hallo to all web developers, I am having this problem. . .what does it mean? This happen everytime I put username and password on my sql database. . .[B]Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'admin'@'localhost' (using password: YES) in C:\xampp\htdocs\sample\index.php on line 2 Access denied for user 'admin'@'localhost' (using …

Web Development php
Member Avatar for nagatron
0
82
Member Avatar for Susan.LK

I have a login form which redirects the user to a new page if the form is submitted, however it does not show the error messages on the same page as the form. Currently if nothing is typed in user or passwords fields, the same page is relaoded process2.php showing …

Web Development php
Member Avatar for Susan.LK
0
128
Member Avatar for NguyenThai

Hello. My project required me to search the record inside the database. What I mean is I save the text field of a session like Session["Example"] = "ex". Then using this session to search inside the field of table of SQLDataSource. If the session match the field, then display the …

Web Development asp asp.net session
Member Avatar for reach_yousuf
0
117
Member Avatar for SQL_n00b

What is the best way to update a record when 2 users of my site happen to edit it simultaneously? For example, assume the following scenario: Let's say users John Doe and Jane Doe log into my site and happen to view the below record simultaneously. --------------------------------------------------------------------------------- Bruce Wayne | …

Web Development coldfusion
Member Avatar for buddylee17
0
145
Member Avatar for Altairzq

Hello I'm using this code I got from an example: [ICODE] <head> <TITLE>Creating a link</TITLE> <SCRIPT LANGUAGE="JavaScript"> <!-- function createLink() { var szURL = prompt("Enter a URL:", "http://"); if ((szURL != null) && (szURL != "")) { document.execCommand("CreateLink",false,szURL); } } // --> </SCRIPT> </HEAD> <BODY> <H1>Creating a link</H1> Here's some …

Web Development javascript
Member Avatar for Troy III
0
2K
Member Avatar for Mongz

Im passing a query string from 1 page to many pages, the second page accepts the query string and pass it to the next page and so on. On the second page i accept the query string and it appear's on the url bar, that shows that the second page …

Web Development asp.net c#
Member Avatar for sknake
0
189
Member Avatar for davidjennings

Hi all, I am new to PHP Do I need to sanitize hidden data values in a form before carrying out the query on MySQL db. If so can someone assist me in the correct format The category_id is an INT and the make is a String. $category_id=$_POST['category_id']; $make=$_POST['make']; Also …

Web Development php
Member Avatar for davidjennings
0
152
Member Avatar for sudharani

Hi, I want to pass cid genarated in selling.aspx to orderform.aspx . How to retrieve the query string in orderform.aspx I gave the code below in selling.aspx [code]SqlConnection con; SqlDataReader dr; con = new SqlConnection("Persist Security Info=False;Uid=sa;Password=q1w2e3/;Initial Catalog=YOGADATA;Data Source=PC-1"); con.Open(); t=0; SqlCommand com = new SqlCommand("select * from Custlogin", con); …

Web Development asp.net open-source
Member Avatar for IdanS
0
144
Member Avatar for valonesal

What I would like to do is return a basic text message if no results are returned from my database. Using the following code can someone tell me how I can accomplish this. Please excuse the code if its sloppy, Im a beginner at php. [CODE]<?php // create short variable …

Web Development display php
Member Avatar for valonesal
0
143
Member Avatar for baudday

I would really appreciate help here. I think I'm just missing something small but I just can't figure it out. I have 2 questions about the following code: [CODE=php] <? if(isset($_POST['download'])) { $x = 0; $download_path = dirname(__FILE__).'/'; echo "<b>Downloading from $download_path:</b><br />"; $file = array(); while($x <= $_POST['download']) { …

Web Development php
Member Avatar for baudday
0
130
Member Avatar for andym67

This is driving me crazy and should be very easy. I am trying to pre-fill an html form with session data using echo. I can compile and run but the form field contains a / if the session data is blank. How can I get rid of the / Heres …

Web Development php session
Member Avatar for andym67
0
17K
Member Avatar for Cheeki

Hey guys, im having the weirdest problem with my ajax!! below is the function that is called when ever a if statement evaluates to true. Anyway the problem im having is that this if statement [code] if(xmlHttp.readyState == 4) [/code] with in the ajax functions runs when readyState is equal …

Web Development javascript
0
61
Member Avatar for 68thorby68

I'm experiencing alot of issues trying to create the $to field as a variable, PHP is reporting Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /home/shhdcouk/public_html/PHP/class_vcard.php on line 172 and I'm not sure why.... my code is. $send = $_POST['email1']; $to = $send; $subject = "Registered for xxxx"; $body="Thank …

Web Development php
Member Avatar for 68thorby68
0
92
Member Avatar for aashishn86

hi all i have been using ASP... I basically wanna learn PHP and Drupal now.... I tried installing WAMPSERVER ..... I have got it installed , but i can't make it run... i already have IIS installed on my computer.. i changed this in the httpd.conf file [COLOR="Red"]Listen 8080 ServerName …

Web Development php
Member Avatar for aashishn86
0
248
Member Avatar for mvchandoo

I had problem with mouse out in div. i tried for one long day in vain. can any one do it. it was an urgent issue.Thank you in advance. the code is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>The test</title> </head> <script type="text/javascript"> function changeStyle(div) …

Web Development html-css javascript
Member Avatar for Troy III
0
152
Member Avatar for rayarman

Hi, I have the following dates, either: - 07-09-09 (which is 7th September 2009) or - 07/09/2009 (which is again 7th September 2009) I need to reformat whichever one of these formats comes up so it is correctly inserted into myql db via php. Have tried strpos to find - …

Web Development mysql php
Member Avatar for almostbob
0
106
Member Avatar for Schoorsteen

I had a rather short question, doesn't OOP Programming make you increase the amount of executed queries? [code=PHP] class Guild{ private $members[]; private $sName; private $iLevel; function __construct($guildId) { // get all information from db using the guildid // also get all memberid's from the db and pass these trough …

Web Development mysql oop php
Member Avatar for Schoorsteen
0
129
Member Avatar for rayarman

Hi, I've got the following type of date string parsed from an OFX file: 20090902000000[-5:EST] How can I get this into my mysql db via php - formatted as d-m-Y I've tried : [code]$ofxdate = strtotime("20090902000000[-5:EST]"); $stmtdate = date("d-m-Y",$ofxdate); [/code] Obviously wrong! ... Any assistance appreciated! How would I do …

Web Development mysql php
Member Avatar for melissagirl
0
128
Member Avatar for mike89

The minimal AJAX script below works in Firefox, but not in IE, Opera, or Chrome. I could use some suggestions or referrals to resources that will help me get the script working in other browsers. Before there are six characters entered in the CAPTCHA code field, the 'Send' button is …

Web Development audio javascript
Member Avatar for mike89
0
199
Member Avatar for hemgoyal_1990

Hi All, I have a PHP code for Sending http post from cURL. it work fine but i have a trouble that when i am send any data from loop it display me only first string the remaining string it not print. I am Use this Code. [ICODE]<html> <head> <meta …

Member Avatar for hemgoyal_1990
0
695
Member Avatar for Menster

Hi there, I'm busy trying to build an interface where users can create a sort of collage with images that they upload. I know it is possible to get the position of a DHTML element relative to the screen, the problem is I need the coordinates relative to a main …

Web Development javascript
Member Avatar for Menster
0
142
Member Avatar for Alexpap

Hello all, I want to create a stored procedure using [B][I]SMO Objects[/I][/B]. I have set up all the properties of my Smo.StoredProcedure object, but when i try to create it, it throws me this Exception Message: [ICODE]Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact-SQL statement or batch[/ICODE] Here's a little …

Web Development asp.net session
Member Avatar for Ramesh S
0
303
Member Avatar for andrewnim

Hi all getting this error "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1" [code] if($_POST['paypalsubmit']) { $upsql = "UPDATE orders SET status =2, payment_type =1 WHERE id =" . …

Web Development php sql
Member Avatar for andrewnim
0
126
Member Avatar for sudharani

Hi friends, I have created a form with a dropdown list and a text box and i have a table named customer with fields cid and name in database. I successfully binded the cid column to dropdown list.now my problem is i want to bind the name into the text …

Web Development asp.net
Member Avatar for sudharani
0
178
Member Avatar for lonestar23

Hello, I am retrieving results from a RSS feed, but not all results have a title. I would like to run something like the below code which, lets me know how many times a title is empty. If three "titles" are empty, then X code would dynamically echo "3" etc.... …

Web Development display php
Member Avatar for darkagn
0
161
Member Avatar for mimsc

[url]http://www.palmer-realty.net/content/listdetail.html/89633726[/url] -If you click on the green "Virtual Tour" button in the middle of the page...it gives a error -This is working fine in Firefox there's s function if you view source : [code] function win_up(winurl, winname,w,h) { if (winname == null) winname = "calcs_win"; if (w == null) w …

Web Development javascript open-source
Member Avatar for mimsc
0
85
Member Avatar for Vai

How do I make the timestamp string be displayed as something that is actually readable / understandable? Yes, I have looked on google, here and a couple other places, but I am not seeing anything too specific or I am just not understand. Thank you for your understanding, helping me …

Web Development php
Member Avatar for Rkeast
0
152
Member Avatar for fawadkhalil

Hi I have dropdownlist populated from database.My requirement is to count the number of records for each dropdownlist item like: Toyota(15) Honda(10) BMW(20) I have used[CODE] ddlMake.Items.Add(datatable.Rows.Count)[/CODE] but it shows records in below format Toyota Honda BMW (15) (10) (20)

Web Development asp.net vb.net
Member Avatar for fawadkhalil
0
147

The End.