39,316 Topics

Member Avatar for
Member Avatar for jithusdani

Hi Folks, I have created a text box dynamically using javascript. Now i want to call a javascript function in the OnChange Event Of that Control is there any way to do the same.?? Here is the code what i tried. [QUOTE] el[j] = document.createElement('input'); el[j].type = 'file'; el[j].name='work'+j; el[j].onChange='lookup(this.value)'; …

Member Avatar for somedude3488
0
90
Member Avatar for lcyew

Hi! I'm having some problem in displaying long varchar retrieved from database on the interface. When the text is very long, it causes the interface to stretch horizontally to display the whole text. I've tried to use text field to display them. It can restrict the display of text in …

Member Avatar for lcyew
0
111
Member Avatar for joloms38

Hi.. Can anyone help me about the Online Bus Ticketing System, i'm using php language and i dont have any idea on how to make a code. the choices will be like this.... 1. place origin 2. destination 3. passenger fare 4. set reservation 5. time departure 6. bus terminal …

Member Avatar for joloms38
0
171
Member Avatar for arobix

My client tells me that when he tests this code, he is asked to supply his email address when he has already entered it. When I test it, it goes through. It used to work and now it doesn't. Here is the code for the form (Apply_Online.php): <table width="750" border="0" …

Member Avatar for arobix
0
107
Member Avatar for OmniX

I throw the exact same sql statement in phpmyadmin and it works but it does not work with mysql_query. Ideas? [code] $a = "INSERT INTO players (player_id, first_name, last_name, date_of_birth, email, mobile_number, emergency_number, mother_name, father_name, player_number, team_captain, ip_address) VALUES ('', '', '', '', '', '', '', '', '', '', '', …

Member Avatar for OmniX
0
141
Member Avatar for OmniX

I have done this a million times before. I dont understand why this is not working through the use of a class. It is telling me that the variable is "undefined" hence contains a NULL value which is a load of *((^&$#. Anyways my code(sections of it) is below, any …

Member Avatar for OmniX
0
121
Member Avatar for headedtomexico

I posted this earlier, but its not showing up now... sorry if I end up double posting. Anyway, I got a problem with one of the main users of some php software I release. They are getting errors on imageftbbox and imagettfbbox that are in my software. Their phpinfo shows …

Member Avatar for headedtomexico
0
156
Member Avatar for sassenach

Hi, I am using a script to upload media files. Here it is: [code] $filename_audio = 'uploadintaudio'; $tmpName_audio = $_FILES[$filename_audio]['tmp_name']; if(empty($_POST['intclip_which'])) {$_POST['intclip_which'] = 0;} if($_POST['intclip_which'] == 1){ //change image only echo 'MEDIA --> <br/> name '.strtolower($_FILES[$filename_audio]['name']).'<br/> isset? '.isset($_FILES[$filename_audio]).'<br/> which '.$_POST['intclip_which'].'<br/> error '.$_FILES[$filename_audio]['error'].'<br/> type '.ereg($media_types,strtolower($_FILES[$filename_audio]['type'])).'---- '.$_FILES[$filename_audio]['type']; if (isset($_FILES[$filename_audio]) && ($_FILES[$filename_audio]['error'] != …

0
80
Member Avatar for planethax

OK, I am making a Form that will have about 65 check boxes, this data will be pulled from database. I need to validate form to be sure that 7 (no more no less) are checked. Can some one post a quick code snippet of the code validation for this? …

Member Avatar for wilch
-1
137
Member Avatar for laxminarayan108

I have website in PHP a products based website. Products pages are genrated dynamically with their Id's. I want to change the Meta tags of category (Products) page. I have a Product page, i want a PHP code to change the meta tags of category (Products) pages with the help …

Member Avatar for network18
0
82
Member Avatar for ayesha789

HI, I am developing a Inventory Management Databse in PHP/MySQL. There are 3 fields 1. Item_Code 2. Serial_No 3. Quantity For Example: if Item_Code is fan02 and quantity 10 then each item quantity have a unique serial no. How i can develop a form for user, Who can insert item_code …

Member Avatar for network18
0
125
Member Avatar for hi.meral

I want to access one control of FCK through a html button (out side of fck) when we click on 'Paste as Plain text' image of FCK editor a popup window named `Paste as Plain text` is displayed I want to open that `Paste as Plain text` pop up window …

Member Avatar for hi.meral
0
78
Member Avatar for Facte

Hi there everyone. I have a script that has been written to generate a feed for sites that mine links to. It is supposed to return all jobs from my mySQL database that have not expired. No matter what I do I can only get it to display all jobs …

Member Avatar for Atli
0
117
Member Avatar for genieuk

Hi, I built a comments system, basically the comments appear underneath the form once submitted and page is refreshed, everything works like it should. I have this piece of code below, what i am having difficulty in is first time it worked then it no longer works. [CODE]<?php $bannedwordquery = …

Member Avatar for genieuk
0
158
Member Avatar for slucia

how to rectify the following error ? SMTP server response: 503 Bad sequence of commands. You must specify the recipients of a message before you can send it in php

Member Avatar for hawk17
0
112
Member Avatar for valonesal

I finally got things together and now the echo is not working can someone tell me what I am doing wrong? The page I want to echo is working fine I just cant echo the information to another page. Thank you. Here is the echo page. [CODE]<?php echo '<a href="http://mywebsite.com/index.php?text=this">'; …

Member Avatar for Atli
0
105
Member Avatar for jithusdani

Hi Folks, I have 2 texboxes with the name names like 'des0' and 'des1', So i need to validate this two controls for required filed with the help of loop. something like this [CODE] for (var i=0;i<=1;i++) { } [/CODE] So i have confused what will write inside the loop …

Member Avatar for network18
0
116
Member Avatar for smvec

hi.. im trying to send email to the user who register to my website.. SMTP server response: 501 5.5.4 Invalid Address in D:\Domains\lelys.org\wwwroot\reg_save.php on line 66 this is the error im getting.. [CODE]if($res) { //echo "record added"; //$count = 1; $to = $mail; $sub = "Confirm Mail From LeLys"; $header …

Member Avatar for network18
0
98
Member Avatar for dipsn

Hello friends. I have built one website in Joomla and while testing on all browsers i found that its having problem in IE 6 and IE7 . Some of the pages are not at all getting displayed. I have tried by modifying index.php and also ie.js script but nthng worked …

Member Avatar for sureronald
0
63
Member Avatar for santhanalakshmi

hi, please tell me, [B]how to set or specify the "URL Name" ?[/B] [B]for example: [url]www.yahoomail.com,www.daniweb.com[/url] etc [/B]

Member Avatar for Will Gresham
-1
90
Member Avatar for SKANK!!!!!

when registering. how do i make it so that its like with php [CODE]if($username matches any of these words){exit("that username is not available to be used. sorry it is forbidden");}[/CODE] like that kind of thing but see i was thiinking it would be better if all the words(cause there will …

Member Avatar for SKANK!!!!!
-1
303
Member Avatar for rightway_parvej

Hello All, In my website i have a requirement os getting order information in my website from LinkShare. Is there any API is availabe for it in LinkShare? Please help me out of this problem. Thanks, Rightway

Member Avatar for hedinfaok
0
94
Member Avatar for ayesha789

I am developing a Lease Information Management System. This system is related with Land rent Contracts. Every contract have a Begining date and Expiry date. For example Begingin Date is: 01-08-06 And Expiry Date is : 31-07-16 I have store these 2 dates in DB. Payment will be given to …

Member Avatar for ayesha789
0
142
Member Avatar for MikeGore

Can someone help me convert this code into PHP plz [CODE]using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class scheduleGame : System.Web.UI.Page { protected projectServices.project objProj; protected void Page_Load(object sender, EventArgs e) { if (Session["proj_id"] == null) { Response.Redirect("login.aspx"); } if (!IsPostBack) …

Member Avatar for MikeGore
-2
79
Member Avatar for Gerald19

Hello, I am working on a website where you must be able to select a certain period in weeks (a week -> saturday - saturday), e.g. from 10 till 24 oktober which includes 2 weeks. The only input for the php script is the year, month and day of both …

Member Avatar for digital-ether
-1
66
Member Avatar for macross

This should be an easy question, I googled it and was noytable to get it working 100%. I have a sql DB which records people signing up via a form for a newsletter/group. I have the form working fine where it inserts the data into the Db correctly. I now …

Member Avatar for macross
0
181
Member Avatar for stevehart808

Hi guys hoping someone can help me out please..... Got the code where a side menu appears with sub-pages link which are related to the main body article. To do this I used the the command - where project_id = $show. That works fine but the problem lies in when …

Member Avatar for diafol
-1
78
Member Avatar for nadnakinam

hi, i'm using menu for displaying birth month of user... i hav added 12 entries denoting 12 months of a year. items and thier values are... Item Value Jan 1 Feb 2 ... . ... . Nov 11 Dec 12 the values are stored in Database. Problem is viewing the …

Member Avatar for nadnakinam
-1
80
Member Avatar for mahe4us

Hi all, Iam trying to tigger some file which will be working in backend once the window is closed in php. Iam using onunload function in javascript but it triggers the file once we leave that particular page only. If we closed the window it didnt do anything. Anybody have …

Member Avatar for diafol
-1
174
Member Avatar for streetrodfanati

Hello, I need a bit of help- I get the following error on my site when I add a banner: Warning: mktime() expects parameter 3 to be long, string given in /home/goldenpl/public_html/ptc/admin2/banners.php on line 69 Here is the file code: [code=syntax] <? $includes[title]="Banner Manager"; if($action == "add") { $sql=$Db1->query("INSERT INTO …

Member Avatar for streetrodfanati
0
103

The End.