52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sierrasoft
Member Avatar for divyasrinivasan
0
138
Member Avatar for spokie

Hey guys thank you for the help you have been giving me it is much appreciated!!! Now can someone help with some code, im developing a website using php and mysql and id like to know how do you limit the amount of data that the php script takes from …

Web Development php
Member Avatar for sikka_varun
0
100
Member Avatar for hhamdan

Im trying to get the ip address for our company customer and save it in the DB just for statical thing.

Web Development coldfusion
Member Avatar for hhamdan
0
134
Member Avatar for designingamy

Hello all, I am having a hard time trying to figure out why I can't get my code to successfully check my email address. It seems I can plug in anything and it won't give me an error. This is my code for that line: [code] <?php session_start(); if((!empty($_POST['email']) && …

Web Development php
Member Avatar for designingamy
0
85
Member Avatar for gtamawale

i am beginner. i dont know how to configure mail server. would u please explain about mail server and also about smtp and pop3 server and their configuration with example.....

Web Development email php
Member Avatar for gtamawale
0
194
Member Avatar for linekill

Hi. I'm new to this Java Script. Could anyone give me an idea how to start a quotation rotator that someone could embedded into their webpage, a JavaScript script, and that would display a random quotes on their page. The quotes could just be saved as a .txt file.

Web Development javascript
Member Avatar for essential
0
184
Member Avatar for squarkman

Hi Gurus, I have a form that works well. But there is no validation. Can validation be added on after the fact? I'm sure it's not ideal but can it be done. General suggestion appreciated on how. Here's the code [code=php] <?php if(isset($_POST["Submit"])) { require("c:\php\includes\class.phpmailer.php"); $mail = new PHPMailer(); $toaddress …

Web Development php
Member Avatar for sikka_varun
0
127
Member Avatar for DorsetBloke

Hi all, I have a problem with a script that is driving me round the bend and I do hope someone can shed some light on the matter. I am new to Javascript and need a nudge in the right direction. I have three select menus - Country, Region and …

Web Development javascript
Member Avatar for brechtjah
0
131
Member Avatar for SavyCat

I have a web based form that contains a select box that calls to an AJAX function from the onchange event that produces at least two additional select/textboxes boxes. When I submit the form using Firefox/Mozilla, the additional form values do not post to the next page. Ugh! Works fine …

Web Development javascript web-browser
Member Avatar for brechtjah
0
115
Member Avatar for Bryan Fox

While making use of a sample for addContent (located at [url]http://www.randomsnippets.com[/url] - specific page [URL="http://www.randomsnippets.com/2008/04/14/how-to-dynamically-add-content-to-a-div-via-javascript/"]here[/URL] ) I stumbled into a problem that I hope someone can help on. This may not be the best/only way to skin this cat, but we have a PHP/MySQL page that has to be modified …

Web Development javascript
Member Avatar for brechtjah
0
188
Member Avatar for cardi22

Does anyone know if it is possible to save a document to a SQL 2000 database image field from a .NET web form running on Windows 2000 .NET 1.1 framework. I've seen plenty of code on the internet on how to do this in Visual Studio 2005 and .NET 2.0 …

Web Development asp.net image sql visual-studio
Member Avatar for aijhann_05
0
312
Member Avatar for kvdd

Hello people, I want that when I mouse over a checkbox, that it is checked. I have now the following code: [CODE=javascript] <script language=javascript> function checkit(myform, name) { var xx = document.myform.name; xx.checked = true; } </script> <form name=myform27> <input type=checkbox name=mycheck onMouseOver="checkit(myform27,mycheck)" value="1"> Checking </form> [/CODE] But this does …

Web Development javascript
Member Avatar for kvdd
0
2K
Member Avatar for iwasfirst

Hi, I'm just getting into the world of Javascript and is faced with this following problem: How to filter out and hide/remove only those <p> elements that I've given a certain className with unobtrusive javascript. Is there anyone out there that can display an example of how this is done?? …

Web Development javascript
Member Avatar for Luckychap
0
134
Member Avatar for servis

Hellow evey body, I have to use same sql query frequently on diferenet php scripts pages in a appliction, i want to put this query in a funtion to use it where i want but this funtion is not working at all. i am unable to figure out the problem, …

Web Development php sql
Member Avatar for servis
0
139
Member Avatar for jproducer

I used a wonderful resource at oreillynet to grab a pretty nice script to open up mp2's in a little .js pop up window. I'm just having a little issue trying to get the link color to change. I see where the code is and have tried several reditions. Just …

Member Avatar for SavyCat
0
218
Member Avatar for Borderline

Evening I am trying experiencing problems with a new layout. I am trying to achieve the following style: [url]http://www.further-flight.co.uk/testing/notes/attempt.htm[/url] My current layout has ended up like this: [url]http://www.further-flight.co.uk/testing/notes/failedlayout.jpg[/url] Code: [CODE] <div id="menu"><?php include($_SERVER['DOCUMENT_ROOT'].'/testing/notes/menu.php');?></div> <div id="main"> 1.1 Allow Apostrophes </div> <div id="content"> <p> Information relating to allow apostrophes here </p> </div> …

Web Development php
Member Avatar for somedude3488
0
132
Member Avatar for DanceInstructor

[CODE]Warning: Unknown(): Unable to call () - function does not exist in Unknown on line 0[/CODE] Has anyone seen this error or know what it means?? Thanks

Web Development php
Member Avatar for GrrUnknown
0
228
Member Avatar for designingamy

I'm having a hard time with sessions. I have a long form on 3 different pages and then a preview page of everything entered. I created the code to store the session variables on each page but on the preview page it comes up empty. I am using session_start(); on …

Web Development php session
Member Avatar for designingamy
0
84
Member Avatar for nszumowski

Hey Everyone, hope you are all well... I have a little subscribe form at inkmedic.com it is a php include, when you click the submit link, the jquery plugin 'lighwindow' opens the elist.php file and should submit the form, however the email information from the form is not carrying over …

Web Development email php
Member Avatar for nszumowski
0
102
Member Avatar for franko75

Hi there, I'm looking for some feedback on a simple database class i've written. I'm just trying to get to grips with OOP, so any feedback would be appreciated. I do realise that PDO is available, and that this database class is really just a wrapper for mysql_* functions, but …

Web Development oop php
Member Avatar for somedude3488
0
114
Member Avatar for farshidk

Hi, how can I assign an action to an icon? For example, I have a print or close icon and I insert it in my webpage, now how can I assign appropriate actions to the icons? Please help...!!!

Web Development javascript
Member Avatar for farshidk
0
102
Member Avatar for divyasrinivasan

pls give me the complete code for it ..i tryed but not getting the output..pls help..iam pasting the code here but no output [code=aspnet] SqlConnection cn = new SqlConnection(ConfigurationSettings.AppSettings["con"].ToString()); protected void Page_Load(object sender, EventArgs e) { Response.Write("sql is connected"); SqlDataAdapter da = new SqlDataAdapter("select countryid,countryname from countryname", cn); DataSet ds …

Web Development asp.net dataset
Member Avatar for terrible
0
147
Member Avatar for miko85

The code below disable whole dropdownlist when select. How do i only disable and grey out certain values in the dropdownlist? function ViewPersonalinfoBoxes(fm) { if (fm.PolicyType.value=="VEHICLE" || fm.PolicyType.value=="VEHICLENO") { alert('System not available!'); document.RegForm.PolicyType.disabled = true; } } * RegForm is the form name * PolicyType is the dropdownlist

Web Development javascript
Member Avatar for Luckychap
0
119
Member Avatar for maxbox

i cant understand why this error commimng up [CODE]<?php $mysql_host="xxxx.xxxxxx.xxxx"; $mysql_user="anuncios"; $mysql_password="xxxxxxx"; $mysql_db = "suecia"; $conn = mysql_connect("$mysql_host","$mysql_user","$mysql_password") or die("Could not connect : " . mysql_error()); mysql_select_db("$mysql_db",$conn) or die("Select database failed"); $code = mysql_query("Select * from jos_call where code = '".@$_REQUEST['nombre']."'",@$conn); if (mysql_num_rows($conn)==0){ //error here// echo @$_REQUEST['nombre'].' - Codigo correcto'; …

Web Development mysql php
Member Avatar for sikka_varun
0
89
Member Avatar for mcx76

Hi, I am thinking to use Oscommerce. and i want to make some change as I want that "When user see products and like to order.User simply go to Contact us page and send email. Actually i want "Add to cart" to "Contact us for more information and it go …

Web Development php
Member Avatar for sikka_varun
0
127
Member Avatar for gazet22

How can I know which version of PHP my host have? thx.

Web Development php
Member Avatar for gazet22
0
51
Member Avatar for servis

Hellow, Can we prevent exposing java script and css in source code of web page on the user machine??? please if anybody know about it???? shuja

Web Development html-css javascript
Member Avatar for jbennet
0
192
Member Avatar for chirutha12345

hai friends, i am writing the code for file upload .the document file is stored on the sqlserver databse. i taken the one file upload control and button. in the sqlserver i create a table and a procedure and witten the code. but it gives error at show files method …

Web Development asp.net
Member Avatar for 4advanced
0
129
Member Avatar for stevehart808

Hi, This script works great when uploading photos but if I try mp3's I get 'Error uploading file' Any ideas would be much appreciated! Thanks [code] <? $uploadDir = 'mp3/'; include ("../includes/database.connect.php"); if(isset($_POST['send'])) { $fileName = $_FILES['userfile']['name']; $tmpName = $_FILES['userfile']['tmp_name']; $fileSize = $_FILES['userfile']['size']; $fileType = $_FILES['userfile']['type']; // get the file …

Web Development php
Member Avatar for stevehart808
0
207
Member Avatar for sancti

hi all, I am developing a web application. I have loaded some block of text into the text box. Now i want to print only the contents of the text box.Can anybody help me regarding since i am new to asp.net thanks in advance

Web Development asp.net
Member Avatar for 4advanced
0
892
Member Avatar for vikingGirl

I have an image that I have created using the new image draw functions, but I need to have separate areas of the image as links to other pages. I know that the html map tag can be used to do this, but the problem is I can only get …

Web Development coldfusion
Member Avatar for vikingGirl
0
82
Member Avatar for sleign

I have written a guestbook in php using a MySQL database to store the entries. I am now writing the backend for it so that the rows in the table can be modified via a form. The way the form works is this: A table is displayed on a page …

Web Development mysql php
Member Avatar for sikka_varun
0
2K
Member Avatar for samtwilliams

HI All, I am currently following a tutorial on mysql and php and I am getting this error on displaying results ready for an update in a form. Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/site/update.php on line 11 [CODE]<? $id=$_GET['id']; $username="web183-sql"; $password="sqlpassword"; $database="web183-sql"; mysql_connect(localhost,$username,$password); …

Web Development mysql php
Member Avatar for sikka_varun
0
186
Member Avatar for Akangel

Hey everyone, well ill be quickly...ive gotta a JSP page indexMembers.jsp with a button "Show My Reservations" when u click on that button it calls a JFrame (with a JTable inside) with the data from the databse that the user wrote before. now if i click on another button like …

Web Development java-jsp session
Member Avatar for stephen84s
0
100
Member Avatar for sayeo87

Hi, I'm new to the UI side of AJAX, and I was wondering if there was any AJAX framework (or an extension to the framework) which has the functionality like this: [url]http://tool-man.org/examples/sorting.html[/url] (scroll down to the section "Example: Sorting in two dimensions") Thanks, Suan

Web Development javascript
Member Avatar for Luckychap
0
68
Member Avatar for designingamy

This may seem like a dumb question...well, it probably is. I am trying to write code for form validation. I wrote the code to check the information and then if everything looks okay, to use header ("Location....... and send them to the next page, but of course I get the …

Web Development php
Member Avatar for designingamy
0
82
Member Avatar for javlonchik

Hi folks, I was really excited to use lightwindow AJAX modules that it worked on local server. But once we made it live on our actual server, it's not rendering. It opens the AJAX window and makes the entire page black. Please see attached image for visual explanation. We are …

Web Development javascript
Member Avatar for javlonchik
0
77
Member Avatar for trtcom1

Hi, I need somebody to have a look at my code below and help to see what I have done wrong. I have 3 tables:[B]Student[/B] [I][COLOR="Red"](studentNum,firstName,lastName)[/COLOR][/I], [B]course[/B] ([COLOR="Red"][I]courseID,courseTotalCapacity[/I][/COLOR]), [B]course_allocation[/B] ([I][COLOR="Red"]studentNum,courseID[/COLOR][/I]). The AIM is to allocate students to 2 classes (courses 101 and 102) as long as there is available space …

Web Development mysql php
Member Avatar for trtcom1
0
168
Member Avatar for Traicey

Guys I have a dropdownlist control with categories so when I select something from ddlCategory I wana display all the products fall under that category in a datagrid but I dont seem to get that right... here is the bit I have done [CODE=C#] protected void Page_Load(object sender, EventArgs e) …

Web Development asp.net dataset
Member Avatar for Traicey
0
206
Member Avatar for an_an

wasn't too sure my codes are correct could sum1 help me check?ty. [code=php]<?php session_start(); unset($_SESSION['email']); session_destroy(); ?>[/code]

Web Development php
Member Avatar for Aamit
0
170
Member Avatar for marcmm

Hello, I am fairly new to PHP, having just started messing around with it, but I need to solve something and I would apreciate any help any of you could offer. Here is my problem: There's a hardware online store built using php/html and connected to a mysql database. It …

Web Development linked-list php
Member Avatar for marcmm
0
292
Member Avatar for egbert

Hi everyone I've been looking at some code from the 'Ajax for Dummies' book (page 67). I'm running the code samples on an XAMPP installation with both files in the C:\xampp\htdocs folder which (appears) to have been set up as 'localhost'. However, there are 3 odd things about this code. …

Web Development javascript
Member Avatar for brechtjah
0
3K
Member Avatar for todrik

hi everyone. i'm trying to make a (very) simple shopping cart for my class. i'm stuck on the qty update - it says it's not defined. i think it may have something to do with when i check to see if the form has been submitted yet or not. any …

Web Development coldfusion session xml
Member Avatar for terrymodular
0
113
Member Avatar for elbuhleini

Hi, N00b as I am, I have a little problem: I have a gamesite. When a user clicks on a game, a Js script has to check if he has our app installed and if not, it redirects him to our landing page, where he can install that app. This …

Web Development javascript
Member Avatar for brechtjah
0
112
Member Avatar for virspy

Hello friends iam new to this community and also iam new to the PHP can any one help me in getting the Telugu version of data in website as in eenadu.com i have to get the data in telugu please help me Thanks in advance Bye

Web Development php
Member Avatar for virspy
0
88
Member Avatar for Traicey

I have the ff error and I have no idea what is [COLOR="Red"]Line 1: Incorrect syntax near ','. [/COLOR] [COLOR="Red"]Exception Details: System.Data.SqlClient.SqlException: Line 1: Incorrect syntax near ','.[/COLOR] Source Error: Line 101: dgItems.SelectedItem.Cells[0].Text; Line 102: [COLOR="Green"]the application point the error in the ff line that fills in the dataset[/COLOR] [COLOR="Red"]Line …

Web Development asp.net dataset
Member Avatar for Kusno
0
120
Member Avatar for squarkman

I have an aspx form. It works. It submits. Now, without going into ANY OTHER FILE, I would like to add a field or two. Is this possible? I've tried it but those fields never send their data I've tried copying a field and changing NAME to NAME2 but still …

Web Development asp asp.net
Member Avatar for Kusno
0
71
Member Avatar for shobhatai
Member Avatar for Kusno
0
229
Member Avatar for elbuhleini

Hi to all, php n00b here :-) I have a simple problem and would like to ask for some help... What I want to do is this: when our affiliate submits his aff ID into the form, a php script should post that ID from DB, but load it into …

Web Development php
Member Avatar for digital-ether
0
146
Member Avatar for ChintuChowdary

hi to all, i need code for downloading a page into a doc file.

Web Development php
Member Avatar for digital-ether
0
106

The End.