39,402 Topics
![]() | |
Hi guys, I just reviewed the design of a project I am working on at the moment and a software design related question raised... If I can save data from a form to a database through data access classes or whatevar, and I can display data from the database, WHY … | |
Can any one explain about how to find the date of next fefteen days based on present date,what problem is in my database i have deal_expire_date,based on that i used to display the deatils which the deal_expire_date is near to coming 15 days means deal_expire_date <=15... can some one help … | |
Hello everyone! I have a table with titles that have a link to delete the record. Clicking on the link, redirects the user from (members.php) to a page (delete.php )where it says that the title is deleted and the user can click another link to return to the table. The … | |
hi, i want to validate checkboxes where each checkbox has a different name 1.atleast one checkbox should be select. 2.not more than 4 checkboxes should be selected. can any one tell me how to validate this. | |
Hello, I'm working on a website and needed some help with my php. My website basically allows a user to register for an account then add a college course to their page through scheduler.php I have three sql scripts: accountInformation, course, and account_courses. I need account_courses to hold the two … | |
Hi all, I am getting result in an array from some webservice and i have created User Interface to see these results with each result have a check box with it. what i want to do is to insert only that record in DB that user will check in check … | |
Hi there, I am trying to implement a confirmation dialog box before deleting a record in a table that have. I created a MYSQL table called manager with columns: [B]Table manager[/B] [I]managerID firstName lastName Department[/I] I use a while loop to display the records of every manager in the database … | |
Hi, I want to retrieve a key value for the option selected in the drop down box,and i also want to you to tell me how to use that key value [code=php]<select name="role" style="width: 145px">'; $result=selecttbl("ugname","ugroup"); while($nt=mysql_fetch_array($result)) { print'<option>'.$nt[ugname].''; print'</option>'; } print'</select></td>[/code] | |
Hi, I have been building a shopping cart for a website that I am building. What I am trying to do is created a purchase history so when an item is purchased it is stored in the customers purchase history (in the customers MySQL table). I have three tables Cart … | |
PLz, can anybody help me to display Excel table on browser.Looks like easy task, however, the table must be edited and saved using the browser. I've looked Google spreadsheets, but I dont know how to connect that application to my web site. My purpose is: client opens an excel table(which … | |
hi all...how are u? i have a question , i'm creatingn a php login system for a forum but i'm new in php and i'm not able to put session timing for the login ..i want when the user login to register the session and then after login in ..if … | |
Hello everyone, I have been trying to create a .php page to catch information from a form and insert it into our local database. Normally I am able to catch the parse errors but this one points straight to the end of my code: [CODE]<?php require_once("includes/connection.php"); ?> <?php require_once("includes/functions.php"); ?> … | |
Hi everyone! I'm getting this error all the time: Parse error: parse error, expecting `','' or `';'' in... I know that the problem is the href line, but since this is the first time I'm writing this kind of thing I can't write it correctly. This is the code that … | |
Hi, Javascript doesn't work if i do this way. How can i solve it? Is that because i echo it. Thanks [code] <?php echo "<html><head> <link type=\"text/css\" rel=\"stylesheet\" href=\"cssFile.css\" /> <script type=\"text/javascript\" src=\"javascriptFile.js\"></script> </head><body>"; ?> <form name="form" action="added.php" method="post" onsubmit="return validateForm();" style="float:left"> <input type="text" name="ID" size="20" tabindex="1" /> <input type="submit" … | |
Hi everyone, I am like so proud of myself because I am building a php web page. I get stuck now and then, but eventually get it after two or three days:( I have one big problem that I have put on the back burner for a while and I … | |
Hi! I've made a members.php page that is supposed to show all the entries done by the user, in other words, the title, category and year of a movie. After login in the user clicks on a link (href="members.php") and is redirected to members.php. My problem is that the table … | |
we need to link this interface to database.. but i fail to connect this.. [code]<!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> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <form id="form1" name="form1" method="post" action=""> <p><img src="header2.jpg" alt="header" width="800" height="100" /></p> <blockquote> <p align="left"><strong>Friends</strong>List</p> <p> <textarea … | |
Hi everyone! Could anyone help me please? As u can see by my username, I'm a newbie in PHP. Now to the question: I have made a site that extracts data (in my case movies) that logs in a user and shows all data that the user has entered as … | |
Dear friends , I wrote my own asp.net pages and I wand to upload them. Now I need a forum part. Is it possible to use open source forum in php?, or is there any good open source forum in asp.net available ? | |
hi friends, How To Block Parallel Login? How to block parallel login? How can I block multiple login attempts in to a single account, when that user have already logged in? Like... Yahoo/Hotmail email accounts... 1. When I logged in, using <username: russell> & <password: 123> from <my pc: xunit> … | |
I have a web form at designed in php. Can you provide me with a simple code to connect a textbox to an email account. | |
hi I get interested about the PHP module architecture cos I get these errors , [code] Module compiled with module API=20050922, debug=0, thread-safety=1 PHP compiled with module API=20060613, debug=0, thread-safety=1 [/code] when I trying to load the php_ffi.dll inside the windows. How to fix this error ? more than that … | |
[code]<?php require_once('includes/connection.php') ?> <?php require_once('includes/functions.php') ?> <?php include('includes/header.php') ?> <?php include('includes/sidebar.php') ?> <div id="contentnorightbar"> <h2 id="Intro"><a href="#">Registered Partners</a></h2> <?php if(isset($_POST['firstname'])) { echo "form submitted"; [B] // I Want the $edituser variable to be available here[/B] } ?> <?php include('includes/topnav.php'); if ($result) { //If the Query succeed print "<br /><table class='partners' … | |
hi i want to insert a symbol between all the chek box value eg:the value will be either 1 or 0. [code=php]$tmp =$_REQUEST["check1"]; $tmp .=$_REQUEST["check2"]; $tmp .=$_REQUEST["check3"];[/code] this how i have requested the value .in order to separate the values .i want to add some symbols(like comma)plz tell me how … | |
HI, I have a little problem passing the value of the drop down list from the first form to the second. I am able to display the data in the list box, then used $_POST to get the passing data in the the second form. However when I echo the … | |
Please any one give the idea of crop uploaded image using php Please help Thanks in advance Rajeesh | |
When you open Excel file with Internet Explorer, Save/Open/Cancel dialog box appears. How to avoid it and directly open it??? P.S=>IE can open and edit Excel files online....but there is no guaranty that client will open file using IE...however, i could not find another way to perform my goal...(((( | |
Hi, I have a website full of code snippets at [URL="http://syntax.cwarn23.info/PHP:_Contents"]http://syntax.cwarn23.info/PHP:_Contents[/URL] but I need some ideas of small scripts that I can make for the example list. So there are some examples of what I have done at that link but I don't want the examples to be too complex. … | |
What is the FTP server? Please tell me the key of the Renames a file or directory on the FTP server, Changes the current directory to the parent directory on the FTP server? | |
How to get Ip address and MAC address of system for an IP address i tried this code [icode]echo $ip=GetHostByName($REMOTE_ADDR);[/icode] But after uploading through FTP i'm getting Server ip But i want local system IP can any one solve problem. | |
i am new to php..can anyone help me with the basics of PHP. i mean after installing php,how do i save my first PHP file. i mean saving that file as .php i know ..but in which folder should i save it and after saving how do i run myprogram. … | |
Hi imagedestroy()[url]http://au.php.net/imagedestroy[/url] I was just wondering because php.net states in the manual that it destroys the memory associated with the image rather than the image stored in the "/tmp" folder. Is this true? Also how can you change your default tmp directory? I think you go into the php.ini file … | |
You can include cc: and bcc: [ICODE] //filename: html_mailer.php class htmlMailer { function sendWelcomeHTMLMail($email, $age, $sex){ $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= "From: ".EMAIL_FROM_NAME." <".EMAIL_FROM_ADDR.">\r\n"; //define constants $headers .= 'Bcc: [email]email1@msn.com[/email], [email]email2@yahoo.com[/email], [email]email3@aol.com[/email]' . "\r\n"; $subject = "Welcome!"; $message = <<<EOT … | |
[ICODE]<?php error_reporting(E_ALL); $to = 'whom@yahoo.com'; $subject = 'The Playboys!'; $message = ' <html> <head> <title>TESTING!</title> </head> <body> <p>Playboy in the Philippines</p> <table> <tr> <th>Name</th><th>Sex</th><th>Age</th><th>Vitamin</th> </tr> <tr> <td>Tukmol</td><td>Twice a Day</td><td>75</td><td>Viagra</td> </tr> <tr> <td>Tamulmol</td><td>M ...W.....F</td><td>80</td><td>Tongkat Ali</td> </tr> </table> </body> </html> '; // Content-type header $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= … | |
i have installed a new open source cms i would like to add up the login session unset session and destroy the session i wanted to know where do i place the coding. i have no idea about php any help would be appreciated | |
Hi everyone! As u can see by my username, I'm a newbie in PHP. Now to the question: I have made a site that extracts data (in my case movies) that logs in a user and shows all data that the user has entered as a table. I've written some … | |
What is the FTP server? Please tell me the key of the Renames a file or directory on the FTP server, Changes the current directory to the parent directory on the FTP server? | |
Good morning! What I am trying to do is: display some text, wait 3 seconds (so the person can read it) and redirect that person to a different web page. I can get it to either: 1 - Display the text or 2 - Sleep(3) and redirect them to the … | |
I know a lot of vBulletin people view these forums, and some of the developers are Moderators here. So, the question is, would you guys ever convert over to ASP.NET? I'm not saying dump php, just run on two different systems. If you guys did, I know you would make … | |
Hi, I need to populate a drop down box with size and colour values from my db. I have got it working but it just seems to be too clunky. I'm going to be marked on it and so would like to know where I'm going wrong. What I do … | |
I have 2 questions to ask: (1) I have been doing php for quite some time and I would like to know how a link such as this one works: [url]http://www.rooftop.com/forums/index.php?do=login&f=31[/url] My problem is the part that comes after the question mark. I have been using joomla of late and … | |
hi friends , i made a login page, and i made a logout button too, but i want to make a timed logout, i mean after 5 min for example the user is logout automatically.(i.e i should log out from inactive web page after 5 mins) need source code or … | |
Can any one give me some idea regarding how to calculate second and fourth saturdays i did based on time whenever i change system time it results in tuesdays insetad of saturdays. | |
[code]mail($to,"Discount offer",$message,"From: noreply@bisnis-indonesia.biz\n MIME-Version: 1.0\n Content-type: text/html; charset=iso-8859-1 \n Reply-To: promo@bisnis-indonesia.biz\nX-Mailer: PHP/");[/code] why is not didn't work [url]www.bisnis-indonesia.biz[/url] ? server problem or code problem ? | |
Hi I just came across this site while seeking some information. It looked way to nice not to stop and register here. I am old skool geek. DOS/FOXPRO DOS Pre 3.0 Windows. BBS software. ETC Who is way behind in programming technology, I can rip apart a PHP program make … | |
hi all could someone plz help me out in validating csv file(excel sheet) before i can insert it into the database?:?: i hv the code for uploading but not validating reply ASAP. cheers coder | |
Hi All, Some website said the we cannot run php function in javascript because php is on server side and javascript is on client side. My code will help us to run a php function when you type something on the textbox given below. [icode] <?php function myfunction(){ $x="I love … | |
![]() | I'm trying to develop a web gallery, but have been struggling with laying out the thumbnails, and paginating the results. I found a tutorial, but have been experiencing problems with it. Can anyone point me in the right direction? Current result: [url]http://www.equinefocus.co.uk//photos/2009-03-21/gallery.php[/url] Current code: [CODE] <?php // Connects to your … |
Hi, i want to create a subdomain drupal from myweb.com/forum to be forum.myweb.com Any body can tell me how ? Thanks |
The End.