39,402 Topics

Member Avatar for
Member Avatar for haggis-man

A client would like me to implement spreadsheet-style form traversal using arrow keys, i.e. left arrow to submit entry and move left by one field on the form, and so on. Does anyone have a browser-independent method of doing this please? All input fields are single line text fields.

Member Avatar for network18
0
82
Member Avatar for smvec

hi, im a newbie developer.. i developer a website in php n hosted it.. when im trying to access it i get an error.. You do not have permission to view this directory or page due to the access control list (ACL) that is configured for this resource on the …

Member Avatar for network18
0
94
Member Avatar for asim ahmad

sir i want to know how to convert any image in pdf format programatically in PHP. If possible please give codes. Please Reply Soon

Member Avatar for network18
0
71
Member Avatar for rahul.anand77

Hi Friends, I am working on a Script to login into yahoo using a curl or fsock script without visiting to yahoo. I am facing so many problems. Guys, Please help me to solve this Problem. Please Its Urgent. Thanks in Advance Rahul Anand

Member Avatar for network18
0
70
Member Avatar for asim ahmad

sir i am using xampp and want to know how to run php file except saving them in htdocs(root) folder of xampp.as i have used JSP and know how to put our jsp files anywhere and make them run by linking with a file (i.e not to save in root …

Member Avatar for network18
0
75
Member Avatar for Zack_Grindall

Hello, I was wondering if anyone could help as this has been puzzling me. I have a form with a few checkboxes on it and i need to store them in a database table taking on the following structure: user_id / c_id user_id being the users profile id and c_id …

Member Avatar for network18
0
546
Member Avatar for gtey

Im very new at PHP, I am having problems with learning how to get information from rows in a MySQL Table and having them displayed on the webpage when certain conditions are met. For example, my table has 5 colums in each row.. Item #, Item Name, Item Type, Description, …

Member Avatar for network18
0
82
Member Avatar for lcyew

Hi there. Is there any way that can count the number of slashes in a string? For example: abs/frg/grgr/rgr/ and,the number of slashes can be obtained? Thanks for any solutions provided.

Member Avatar for lcyew
0
570
Member Avatar for Besherek

Hi folks, I'm building a page that displays content from a database. I'm using CKEditor to add content to the database which includes basic html tags such as <p>, <img>, etc On the page however, I want to shorten an article and have a more link below it. An example …

Member Avatar for Besherek
0
113
Member Avatar for azegurb

Hi, i created dynamic table with a help JavaScript master (Airshow) which add rows automatically and sums each added row. and so on here is my code. Please help me to send it to MySQl base via PHP Thanks beforehand [CODE]<html> <head><title>dinamik sheet</title> <script> function addrow(){ var tbl = document.getElementById('sheet'); …

0
75
Member Avatar for ko ko

Hi.. Everybody.. My EOT font doesn't work wiht PHP file. It only work in HTML. What do I do for PHP? Thanks..

0
82
Member Avatar for sam023

Here is my code [code=php] /* Create a new mysqli object with database connection parameters */ $mysqli = new mysql('localhost', 'username', 'password', 'db'); if(mysqli_connect_errno()) { echo "Connection Failed: " . mysqli_connect_errno(); exit(); } /* Create a prepared statement */ if($stmt = $mysqli -> prepare("SELECT priv FROM testUsers WHERE username=? AND …

Member Avatar for pritaeas
0
110
Member Avatar for headedtomexico

I've attempted googling this, but i'm not gearing my searches right or something cause i'm coming up with junk. I have some php software I design that uses GD functions. One of my main users is on an extra machine that belongs to a hosting company. With my software installed …

Member Avatar for network18
0
170
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
94
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
115
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
176
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
110
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
143
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
124
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
166
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
83
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
139
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
85
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
127
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
81
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
120
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
161
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
115
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
109
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
119
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
103
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
65
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
92
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
309
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
96
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
145
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
80
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
67
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
188
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
81
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
83
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
176
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
108
Member Avatar for moonwine

I try to update a mysql db using php. I need to update the data in table "A" with the data from table "B" if the two table have 1 data in common. Everithing works fine when the data in common (prod='$col[0]') are only 1 word but not work when …

Member Avatar for pritaeas
-1
88
Member Avatar for nschessnerd

Hey I am using multi curl to execute cron jobs based off sql records. will the script i call run if i dont wait for the result and just close the connection? or do i need to get the result?

Member Avatar for pritaeas
0
79
Member Avatar for virtualmisc

I wanted to know which PHP IDE is the best available in market. There are lots of products available. I would prefer one with a good help guide because i am new to this.

Member Avatar for redhouse
-1
206
Member Avatar for Silverhawk

Hi, I have a major problem that I can not figure out. I have a directory that is updated once a night by fetching data from a site provider. For the last 3 days it will go fetch the data and fills the log file with the following errors over …

Member Avatar for Silverhawk
-1
208
Member Avatar for Venom Rush

Hi all I have some functionality that allows the upload of files such as MS word docs, zips etc. It works fine on my pc and another test machine but doesn't seem to work on two other machines I've tested. All machines have Windows XP installed. The first machine that …

Member Avatar for liamfriel
-1
174
Member Avatar for praveen_dusari

hi all, i want to update one field from one database to another database my query is [CODE]mysql_connect('localhost', 'root', '') ; mysql_select_db('db1'); mysql_connect('localhost', 'root', '') ; mysql_select_db('db2'); $query1=mysql_query("select * from db1.tbl_products"); while($fetch=mysql_fetch_assoc($query1)){ echo "update db2.tbl_products set p_price='".$fetch['p_price']."' where p_id='".$fetch['p_id']."'"; echo "<br>"; echo "<br>"; } [/CODE] in local it is executing …

Member Avatar for pritaeas
0
81
Member Avatar for Tigran

Hello, I'm making a browser based game in php and so far it's going really good. However I have a doubt about a script i've written. This script does alot of calculations using the data from the mysql database i'm using. So it reads and writes quite alot. And the …

Member Avatar for network18
-1
96

The End.