52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for XxPKMNxX

getting the problem ~ mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /studhome/1/0803087/public_html/RSS.php on line 14 trying to create a RSS feed no idea what is wrong, so can anyone help [CODE] <? // Connect to database DEFINE ('DB_USER', '******'); DEFINE ('DB_PASSWORD', '********'); DEFINE ('DB_HOST', '*****'); DEFINE …

Web Development mysql php xml
Member Avatar for XxPKMNxX
0
250
Member Avatar for pato wlmc

Well, I'm really new into JS and I'm actually more into C++, but I decided to give it a try since I'd love to develop some online games, using the new Canvas element HTML5 is providing. But before that i need to get the basics. What I'm trying to do …

Web Development javascript
Member Avatar for pato wlmc
0
4K
Member Avatar for Sorcher

I get this error message: Insert 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 'testing this thing again' at line 2 NOTE: the 'testing this thing again' is $body This is my …

Web Development mysql php
Member Avatar for diafol
0
168
Member Avatar for newbieJS

Hi there, I have two prompt dialogue boxes that ask the user the enter their name and their employee number. I am experiencing two errors. The first is, if a user enters their name incorrectly, using numbers for example, there is an error message that asks the user to re-enter …

Web Development javascript
Member Avatar for tcatt
0
3K
Member Avatar for tcollins412

i have two sub-domains pointing at the same file.the sub-domain's are test.test.com and fail.test.com and the file is index.php. Now i want to be able to work with both of those domains within the same file so i used this code: [CODE] if($_SERVER['HTTP_HOST']=='test'){ echo"test"; }else if($_SERVER['HTTP_HOST']=='fail'){ echo"fail"; } [/CODE] but …

Web Development php
Member Avatar for tcollins412
0
114
Member Avatar for jkon

It was not time ago that I realized that those that I consider standards for MVC implementation with PHP are not standards for all. I would be very happy to read different approaches of how to implement MVC architecture with PHP, not just frameworks but the all idea that you …

Web Development php
Member Avatar for jkon
0
106
Member Avatar for jrotunda85

Ok, I currently have three different pages in play here. [LIST=1] [*]Cigar.php - This is the individual cigar page, dynamically generated based on a GET Value [*]Cigarreview.php - This is where a user goes to review a cigar. It has a drop down menu that pulls from the DB and …

Web Development first-post php
Member Avatar for jrotunda85
0
1K
Member Avatar for raf11

i need some advice on where im going wrong with my code its not giving me any error but its not working the way it should be. when someone types in the serach box a message title it should tell me what messages are in the database with that title …

Web Development javascript
Member Avatar for raf11
0
169
Member Avatar for jacob21

Hi, I am fetching date from the database which is submitted by user while form filling. The date came from database 2011-11-15. What i want to do,show date in below format. 2011-dec-15 or dec 15 2011 need help??

Web Development mysql php
Member Avatar for paulrajj
0
82
Member Avatar for raghujosh

I am trying to print a label and a textbox together in a HTML file that I am trying to write using fopen, fputs in PHP. For some reason the output is just a text box and not the label along with the textbox. This is the piece of code …

Web Development php
Member Avatar for ko ko
0
398
Member Avatar for AndreRet

I'm not sure how to write this in php, so any help will be appreciated - In vb6, I would have had a function similar to this code - [CODE]Function GetReserve() Dim xAmount As Integer, xValue As Integer Select Case xAmount 'Where xAmount is an Integer Case Is = 0 …

Web Development php
Member Avatar for AndreRet
0
173
Member Avatar for vijaygupta

Hello, I am writing a code to for a registration form in php,i am done with adding field to database the problem is "validation" there are msnu feilds in the form .I have to validate two feilds in my form username and email before submiting (in short i have to …

Web Development javascript php
Member Avatar for vijaygupta
0
107
Member Avatar for dr.ammu

can any one give some suggestions how to insert video files in pdf that has to be converted to ebook and that can compatiable with ipad ebook reader.:'(

Web Development asp.net ipad pdf
Member Avatar for dnanetwork
0
68
Member Avatar for VinayRok

Hi Friends, Am facing a problem in Modal popup. following is the source code [CODE] <div> <asp:Button runat="server" ID="hiddenTargetControlForModalPopup" Style="display: none" /> <ajaxToolkit:ModalPopupExtender runat="server" ID="programmaticModalPopup" BehaviorID="programmaticModalPopupBehavior" TargetControlID="hiddenTargetControlForModalPopup" PopupControlID="programmaticPopup" BackgroundCssClass="modalBackground" DropShadow="True" PopupDragHandleControlID="programmaticPopupDragHandle" RepositionMode="RepositionOnWindowScroll"> </ajaxToolkit:ModalPopupExtender> <asp:Panel runat="server" CssClass="modalPopup" ID="programmaticPopup" ScrollBars="auto" Height="300px" Style="display: none; width: 600px; padding: 10px"> <div style="padding-top: 10px;"> <asp:TextBox ID="TextBoxEdit" …

Web Development asp.net
Member Avatar for dnanetwork
0
997
Member Avatar for musman007

I am software developer working in ASP.net for more than 3 years. I think it is the time for me to get a certification. I was wondering if it is worth it to spend money on 3.5 instead doing something in 4.0. Currently I am studying book for 70-536 with …

Web Development asp.net
Member Avatar for dnanetwork
0
186
Member Avatar for niths

hi, After searching in google for a long time i found this code for uploading multiple files at a time in .net. so here is the code ---sample.aspx--- [CODE]<%@ Page Language="VB" %> <script runat="server"> Private Sub InsertMsg(ByVal msg As String) End Sub Private Sub Attachments1_AttachmentAdded(ByVal sender As Object, ByVal args …

Web Development asp.net html-css
Member Avatar for dnanetwork
0
111
Member Avatar for Csegota

To ad log in credentials to a page, accessed by a database. Would you just check a user table in the database that stores lets say, UID, UserName, UserPW and see if there credentials exist? If so, how would you do that? Also, how would you keep track if they …

Web Development asp.net
Member Avatar for dnanetwork
0
115
Member Avatar for karthik_ppts

Hi frendz, I need to calculate the decimal latitude and longitude value from the following latitude and longitude value. latitude 11006805N longitude 076577304E

Web Development asp.net
Member Avatar for karthik_ppts
0
103
Member Avatar for rpv_sen

Hi I am using Xampp Server in my machine, i used php mailer (class.phpmailer.php), when i run the mail file, i am getting the below error msg Could not execute: /var/qmail/bin/sendmail Please help me to solve this issue.

Web Development php
Member Avatar for rpv_sen
0
3K
Member Avatar for ayesha789

Hi, I have 3 feilds in my invoice processing Table. [LIST=1] [*]Submet [*]Return [*]Resubmitted [/LIST] Now I am using this query [CODE=mysql]SELECT `SRNo` , `VenName` , `Submet` , TO_DAYS( NOW( ) ) - TO_DAYS( `Submet` ) AS Days FROM `invmain` WHERE `Status` = 'SENT TO PAYABLE' AND `Submet` != '0000-00-00' …

Web Development mysql php
Member Avatar for ayesha789
0
224
Member Avatar for newbie14

Dear All, I am using third part tab. So I have build the tabs nicely and include the code like below. The problem now is that when one of the tab is press it call the javascript. So that is when I dont know how to pass the $dD or …

Web Development javascript php
Member Avatar for happytogether
0
190
Member Avatar for seleniumJava

I need a bit a help to randomly select a radio button on an page to answer questions. I am doing some Selenium / Java / webdriver development and sort of new to this. Below is a some code to find the number of radio buttons. any help that someone …

Web Development java-jsp
Member Avatar for lxXTaCoXxl
0
335
Member Avatar for ebanbury

Hi I currently have a form in which you select from the prop_type field and then a field with the relevant subtypes shows up. The saletypes are currently in 5 separate fields right now (saletype1 -5), all showing records from the same mysql table, using a different recordset each. They …

Web Development javascript
0
103
Member Avatar for kelvnese

hi everybody, i'm doing a ASP.NET project with VB.unfortunately,when i'm using Logout control, i still can not logout. So i can't logout.. And i have tried to delete the browser cache, but no luck.. What could be wrong? :'( [CODE] <asp:LoginView ID="LoginView2" runat="server"> <AnonymousTemplate> <asp:Login ID="Login1" runat="server"> <LayoutTemplate> <div class="username"> …

Web Development asp.net
Member Avatar for kelvnese
0
161
Member Avatar for samsons17

hi i'm working on codeigniter for now.and i got some problem with the user login system. basically user can login using his/her email address, and then the login system will retrieve the user corresponding "username" base on the email address entered.This username will then be stored as session and will …

Web Development php session
Member Avatar for kurtopia
0
2K
Member Avatar for asif49

I've been trying for about 2 days with 12 hour stretches of time trying to solve this problem and am completely out of energy after not getting anywhere so please help with any information you may have. Basically, for the website I've built, there is a box which is placed …

Web Development php
Member Avatar for chrishea
0
73
Member Avatar for ShandyElliott

How do I reference a div in a form when there are multiple forms on a page? Each form will have a unique id. I'm trying to change the style.display of a div in a particular form. I can alter elements inside that div (whether they have id's or names), …

Web Development html-css javascript
Member Avatar for ShandyElliott
0
140
Member Avatar for aaraf

[B]hi since I began programming in php the most thing I used is form but today I wanted to use form inside an html page that have a css style BUT THE FORM INSIDE IT DO NOT WORKED IT IS VERY SIMPLE AND RIGHT BUT IT DON'T WORK i used …

Web Development first-post html-amp html-css php
Member Avatar for aaraf
0
167
Member Avatar for vijaygupta

Hello, I am building a stock market website and i want to show all commodities prices rise fall even charts later .first of i want to know whether it is possible or not.If yes please guide me through.Please help any kind of help appreciated

Web Development mysql php
Member Avatar for smantscheff
0
107
Member Avatar for pebesoft

Greetings, This problem kept me searching for a solution for days. I hope someone can help me. I can't find spelling errors Below is part of the form. (The whole form can be had at [url]www.pebesoft.co.nz/ir4312.htm[/url] The other part of the form works OK A Var dump does not show …

Web Development php
Member Avatar for markmatt
0
220
Member Avatar for methuselah90

[QUOTE]Warning: fopen() expects parameter 1 to be string, array given in /home/speedycm/public_html/speedyautos/carphoto.php on line 42 Warning: filesize() [function.filesize]: stat failed for Array in /home/speedycm/public_html/speedyautos/carphoto.php on line 43 Warning: fread(): supplied argument is not a valid stream resource in /home/speedycm/public_html/speedyautos/carphoto.php on line 43 Warning: fclose(): supplied argument is not a valid …

Web Development php
Member Avatar for diafol
0
323
Member Avatar for java_programmer

I am trying to write a simple servlet program. But getting the error The requested resource (/servletexam/LoginServlet) is not available. I have created two servlet classes as follows - [B]LoginServlet[/B] [CODE] public class LoginServlet extends HttpServlet { Hashtable<String,String> users = new Hashtable<String,String>(); public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, …

Member Avatar for java_programmer
0
309
Member Avatar for RisTar

Hi, Im working on an application that works on a timer. There is a timer on a product, and when the timer expires, the application dispatch the NextProduct method that set the next product in queue to be the active one and resets the timer. The timer is basiclly an …

Web Development php queue
Member Avatar for diafol
0
91
Member Avatar for choudhuryshouvi

Hello, I am creating an automobile finance system for retail bike dealer. The system contains features using which inventory, purchase, sales and party (customers, suppliers, manufacturers, financers) details can be maintained. Here inventory indicates to vehicles only which can be two wheeler, three wheeler and four wheeler. A lot of …

Web Development asp.net finance
Member Avatar for choudhuryshouvi
0
132
Member Avatar for jambla

Hi, I have been searching here and Google for the past few days but I haven't been able to find an answer. I want to have a script that will download one page of a website with all the content i.e. images, css, js etc... I have been able to …

Web Development html-css php
Member Avatar for langsor
0
3K
Member Avatar for Elbudster

Hello, For a web app I am building, I am dynamically loading additional JavaScript and CSS files on demand (after the initial page load). According to the html specs, both the <script> and <link> elements support the onload event. I can get <script> tags to load and fire an onload …

Web Development html-css javascript web-browser
Member Avatar for matsko
0
655
Member Avatar for azegurb

hi All I have script that dont has any forms but there used $_POST method I dont understand that function and why there used $_POST method if there is not any Form here is script [CODE]<?php define('INCLUDE_CHECK',1); require "connect.php"; if(!$_POST) { if($_SERVER['HTTP_REFERER']) header('Location : '.$_SERVER['HTTP_REFERER']); exit; } ?> <!DOCTYPE html …

Member Avatar for azegurb
0
114
Member Avatar for Vbs88

Hi guys, I'm new here and in dire need of help for a problem that I've worked on hours. I created a table 'tblProductCat' in the webform and wanted to populate the table with the code below: [CODE]Imports System.Data Imports System.Data.SqlClient Partial Class ProductCategories Inherits System.Web.UI.Page 'Define DA and DS …

Web Development asp.net dataset open-source
Member Avatar for Vbs88
0
178
Member Avatar for cris651

Hello, maybe someone can help me: I have two gridviews on my page, positioned side by side, GV1 on the left and GV2 on the right. When the user selects a row in GV1 (that has many rows), GV2 should shift near the selected row. I was wondering if there …

Web Development asp.net
Member Avatar for Fortinbra
0
147
Member Avatar for mirvine

Ok so let me start off by saying I am not a NOOB. There... So i need help trying to figure out an export of just my 2 colums from a table. Got it done. Now i need to make sure that I only export from a date range and …

Web Development mysql php
Member Avatar for mirvine
0
144
Member Avatar for puvi

Hi ppl, I have a dynamic form, where user can add/remove rows and enter data. This form is basically a invoice. On clicking save button, the data should get saved into db, also a pdf file containing the details of the invoice should be generated. I came across this [CODE] …

Web Development pdf php xml
Member Avatar for puvi
0
2K
Member Avatar for begueradj

Hello, I have a form from which I post some data into 3 tables: when I click on the submit button I don't get any error message from mysql_error(); but when I look to my 3 tables I see no one of them has received the data I just posted …

Web Development mysql php
Member Avatar for begueradj
0
261
Member Avatar for bangla

[CODE]<tr> <TD VALIGN = 'TOP'> <a href="sendGift.php" TARGET = _BLANK><font color = "#0000FF" size = "3" face = "verdana"> <b>Send Gift </b></font></A><BR></TD> <TD VALIGN = 'TOP'> <a href="sendMoney.php" TARGET = _BLANK><font color = "#0000FF" size = "3" face = "verdana"> <b>Send Taka </b></font></A><BR></TD> </TR>[/CODE] when i click first link(send gift), …

Web Development html-css php
Member Avatar for happytogether
0
151
Member Avatar for paresh_thummar

I use [CODE] FileUpload.Filename = lbl1.text.ToString(); FileUpload.SaveAs(Server.MapPath("~/Photo/AllPhotoes/" + FileUpload.FileName)); [/CODE] and i got Error: Property or indexer 'System.Web.UI.WebControls.FileUpload.FileName' cannot be assigned. it is read only. I want to save image with label name which is hidden. and it get new value each time. how can i change image name with …

Web Development asp.net file-system
Member Avatar for kesaven
0
174
Member Avatar for Shantanu88d

Hello everyone, I am developing a website application on vb.net. I was earlier using IE-6 and everything was fine, except some wrong display of gui elements. So, I installed IE-8. But now, when I run/debug my web appl, it starts VERY SLOWLY. It takes about 20 seconds+ to load the …

Web Development asp.net gui visual-studio
Member Avatar for Shantanu88d
0
131
Member Avatar for rejisha

hi friends.... Can we check whether the javascript is enabled or not in the client browser??? thanx in advance....

Web Development javascript
Member Avatar for jdjdjks
0
696
Member Avatar for Niveditya

ajax.html [CODE]<html> <head> <title> Ajax at work </title> <script language = "javascript"> var XMLHttpRequestObject = false; if (window.XMLHttpRequest) { XMLHttpRequestObject = new XMLHttpRequest(); } else if (window.ActiveXObject) { XMLHttpRequestObject = new ActiveXObject("Microsoft.XMLHTTP"); } function getData(dataSource, divID) { if(XMLHttpRequestObject) { var obj = document.getElementById(divID); XMLHttpRequestObject.open("GET", dataSource); XMLHttpRequestObject.onreadystatechange = function() { if …

Web Development javascript
Member Avatar for Niveditya
0
177
Member Avatar for Shantanu88d

Hi all, I have set readonly property of text box as true. Coz i dont want user to be able to change it's value. It is going to contain date value, which will be inserted into it by an Ajax Calendar control. But when i accept their values in code …

Web Development asp.net
Member Avatar for Shantanu88d
0
143
Member Avatar for aithabuddy

I have code here for a form that submits the data to receivers email. When I click the send this form button, it submits the email to receivers address. Following is the code that i'm using to send email [CODE]function send_mail_users($myname, $myemail, $contactname, $contactemail, $subject, $message) { $headers .= "MIME-Version: …

Web Development email php
Member Avatar for aithabuddy
0
216
Member Avatar for RicardoE

Hi I would like a crhon job to do the following: 1) copy a zip file, eg: [url]www.somesite.com/file.zip[/url] to [url]www.mysite.com/file.zip[/url] 2) unzip such file 3) move the unziped files to another directory, after reading one of those files. Please, I have no idea on how to do this... (my thing …

Web Development php
Member Avatar for RicardoE
0
141

The End.