39,319 Topics
| |
Hi frnds .... I am trying to create a contact form in PHP , MySql .... In my form i have two 3 input fields n a Submit Button ..... 1. Name 2. email 3. SecurityCode ( here user have to enter the captcha code ) m collecting all information … | |
i work with a website. in which i want to urlrewrite for example my url is www.test.com/express.php?project_id=4&group_id=3 Now how can i convert it into www.test.com/project_name.html i get project name from database using project id.... | |
I am using the following code to find whether the content area is using a command (commands are held in a table column) or not. The commands call on "quick content" which are default areas that you might see regularly around the site. This feature ensures they are not different … | |
Hi, I am trying to set up a php email form but the website the form is hosted on, is hosted on a windows server. And I am getting this error: There was an error in the information submitted: From Email address empty Please return to the form and fix … | |
Hi, I have almost finished my first webpage with php but I have an error I can't manage to fix. I used the plaincart template to start with. If you go to [URL="www.michton.com/shop.php"]www.michton.com/shop.php[/URL] There is an error at the top of the page, it is on black so you need … | |
id like to input a parameter using an input box it suppose fill a column of an existing table the submit button need to clear the old values in this column and than fill it with the new values for example three column row; id, countries, parameter1 on submit clear … | |
hi, here i mention my code its a code to login and logout code when i click on logout than its return on userlogin page but when i press back button of browser its return to previous page. code here RM.php <form action="login.php" method="post"> <table width="300" align="center" border="1"> <tr> <td … | |
Is it possible to run an exe file directly onto the server without downloading/saving into client machine? I had used that exec() function .But it is showing no display. <?php echo exec("d:\example\php_exe\1436.exe"); ?> Also I tried it using backticks operator | |
Hey Guys! i'm trying to start making a php based word translator. Do i need to retype every word in dictionary or is there a way to download "library" type thing, or copy and paste from sources (could not find)? thank you for your help | |
I am selecting an image as part of a html form. Once selected, jQuery assigns a user-defined attribute of the image to a hidden form variable and passes it to form handler. Neat. Problem is when I dynamically add images that can be selected. I am using live function to … | |
Hello, I hope somone can help me. I have a form that a user use to search for their pay, and it will dispay it for them as both with dependents and without. Right now they can search and it will display their pay, but it displays it as two … | |
ALL THE FILES ARE HERE. [URL="http://cid-3e21e1e16478087a.office.live.com/embedicon.aspx/.Public/noswfupload.rar"]http://cid-3e21e1e16478087a.office.live.com/embedicon.aspx/.Public/noswfupload.rar[/URL] THERE'S A PROBLEM IN THE FILE RECEIVER.PHP I can't solve why I cant upload with restrictions, what I want is to upload multiple files in one deploy... it's an array of files. I want these each files of every array element is checked and … | |
Hi All, I have some trouble getting some javascript code implemented Its basically because I havent used much it before. Its like this: When admin chooses to delete a page from his site via this link: [CODE] <?php echo '<a href="process_delete_page.php?pid=' . $id . '">Delete page!</a>'; ?> [/CODE] Before this … | |
Does anyone know about cleaning up URLs for CMS? I had a .htaccess file containing the following code (or so far as I can remember) [CODE] RewriteEngine On RewriteRule ^([a-z])$ /index.php?url=$1 [L] RewriteRule ^/article/([a-z])$ /index.php?url=$1&type=news [L] [/CODE] which was working fine ie: [url]www.mysite.com/somepage[/url] loaded the "mypage" content into my index.php … | |
hi...i really, really need help right now...i have order date and approve date.. 1) my problem is, how i can calculate between those two date 2) code for checking insert date...for example, if the user enter yesterday date for order date, it will pop up an error and if the … | |
[B]Hello everybody. I've been working on a PHP file that adds a value to a cell in one table in MySQL.[/B] First I thought that the following code might work properly: [CODE] <?php require("DB_Connector.php"); //The file that connects to the MySQL database required mysql_query("update tableName set cellName= cellName + '$The_New_Value' … | |
how to delete line number 3 or any line of my csv file ????????????????? like test.csv 1.jhon 2.sarah 3.ricky //delete this row of csv 4.martin | |
Hi Experts, I have a table and I want to check once in a day if some records have been added or removed from this table within last 24hours ,and then send an e-mail to myself of all those added or removed records only . Any idea about how can … | |
HI Sorry for opening the thread, i have some issue please help me in solving the below one [B]Javascript[/B] [CODE]<script language="javascript"> function line(elem,amt,res_elem) { var qty=document.getElementById(elem).value; var tot_amt=qty*amt; //document.getElementById(res_elem).value = tot_amt; document.getElementById(res_elem).value = Math.round(tot_amt*100)/100; } </script>[/CODE] PHP [CODE] <?php $cate_code=$_GET['ct']; $civrform=$_GET['vrform']; $site=$_GET['site_name']; $desr="select * from site_rate where category_code='$cate_code' AND sitename='$site' … | |
hi i want to delete line from my csv file after echo or process this line can any one help???????????? thanks in advance!!!!! here is my code [CODE]$fp = fopen('surInput.csv','r') or die("can't open file"); while($csv_line = fgetcsv($fp,1024)) { for ($col = 0, $j = count($csv_line); $col < $j; $col++) { … | |
[CODE]while($row = mysql_fetch_array($sql_blabs)) mysql_fetch_array(parameter)[/CODE]PLEASE i need another method OF retrieving data from MySQL database other than THIS IS THE FUNCTION THAT'S THROWING THE ERROR, IT KEEPS SAYING THAT'S ITS A NOT A VALID PHP FUNCTION | |
hey people. i am trying to build a synamic page that updates its contents dynamically without using javascript. a friend of mine sugested me web sockets. and when i checked it it was awsome. now i can build a web socket that can be accessed from command prompt. now my … | |
I have a form that contains multiple dropdowns that are dynamically populated using AJAX not CSS, dependent upon the form above it. The page works fine in FF and Safari, but when I try it in IE, the first dropdown is populated, but the others remain greyed out. Here is … | |
hey there, I have the following piece of PHP code to retrieve a list of files on a directory, and then build links to each file: [CODE] <?php $dir=""; // Directory where files are stored if ($dir_list = opendir($dir)){ while(($filename = readdir($dir_list)) !== false){ ?> <li><a href="<?php echo $filename; ?>"><?php … | |
I was adding a link to make it poosible to delete a page on a site, which is not yet published. the link looks like this, with the processing below it: [CODE] <?php // The Link echo '<a href=\"process_delete_page.php?pid=' . $id . '">Slet siden her!</a>'; // Processing the request $id … | |
Hi Everyone, Just a basic Conn function i would like to share with the community. Any constructive criticism and tweaks are very welcome, im trying to optimize my entire code library, starting with the basics. [CODE]<?php funtion dbconn(){ $db = "database_name" //<-- name of database being connected to $server = … | |
Good Morning All, I have a query I need to do, but haven't been able to get it clear in my mind how to structure it... I have two tables 'members' and 'subs_track' they are linked by the 'mem_id' field in both There is a single record for each member … | |
l am trying to send individual emails with a loop using php mailer in joomla. However when l generate the emails l get something like 12 emails to one email address even if the loop is only 2 in size So its something like foreach($res as $r) { //send email … | |
Can somebody help me please? i try to generate an xls(excel) file using this code, all format work fine except the cell size(width). can anyone help me how to format the cell width? [code] </php . . . $workbook = new Spreadsheet_Excel_Writer(); $format_und =& $workbook->addFormat(); $format_und->setBottom(1);//thick $format_und->setAlign('center'); $format_und->setHAlign('equal_space'); $format_und->setBold(); $format_und->setVAlign('vcentre'); … | |
I have php mailer that works on the server and sends newsletters out to clients. I wnat it to send me read receipts (I know that some users will select dont send read receipt)and delivery receipts. I tried this: [CODE] $mail_body = ''. $news . ''; $subject = "My Newsletter"; … |
The End.