- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 25
- Posts with Upvotes
- 22
- Upvoting Members
- 9
- Downvotes Received
- 21
- Posts with Downvotes
- 15
- Downvoting Members
- 6
131 Posted Topics
| |
Re: Use loops for shwoing button on each row | |
Hi, I can show data from the database using query [CODE=php] <?php $con = mysql_connect("localhost","root","root"); if (!$con) { die('Could not connect: ' . mysql_error()); } $a= $_POST["SiteId"]; mysql_select_db("abc", $con); $result = mysql_query("SELECT * FROM sitepinfo WHERE SiteId='$a'"); echo "<table cellpadding=2 cellspacing=2 width=100% > <tr> <th bgcolor=#5D9BCC>SiteID</th> <th bgcolor=#5D9BCC>Maintained By</th> </tr>"; … | |
Dear All I have developed a lease management System. I have stored 4000+ Lease agreements and purchase orders. Folders Structure Main Folder : LAPO Subfolders: North , Center , South Subfolders : 1245 , 9867 like these (numeric) In each numeric folder there are 2 files LA.pdf and PO.Pdf How … | |
Hi, I am using XAMPP for developing my Inventory management system. I have stored the XAMPP in Drive C in Windows. But there is a risk if windows corrupt I will lose all my data , So I want to save the XAMPP in Drive D and acces all the … | |
Hi, I have developed a website using Fireworks + Dreamweaver and website is for 1024X768 pixels. Now I want , it detects the browser and resolution of the user and if user resolution is 800X600 it shows a web page of 800X600 . i have developed in both resolutions. please … | |
Dear Sir I am using PHP Mailer for SMTP Authentication, Everything is working fine [url]http://phpmailer.worxware.com/index.php?pg=methods[/url] But AddCC is not working , I am using Windows 2003 Server, and it says this function works with SMTP Mailer , not with the Mail Mailer. [quote]AddCC($address, $name = "") string $address string $name … | |
Operating System: Windows 2003 Server Using XAMPP Now , I have to develop a Scheduler for these reports, For Example I have 3 Reports. These reports are PHP Files Report1.php Report2.php Report3.php I want to send them(Execute them) automatically as follows Report1.php on Monday 9AM Report2.php on Friday 9AM And … | |
Hi, all this is my file expire_show.php it shows expiry of those agreements which will expire with in 90 days from current date. Users have to login to their accounts for viewing these expiry alerts. but they require these alerts on their email. [B]1. how i can format these for … | |
Re: Use this code [CODE]<input type="hidden" name="MAX_FILE_SIZE" value="500" /> < input type="file" />[/CODE] | |
Re: please use for each loop in this case. Thanks | |
Re: Which database you are using, do you put connection of DB in page? | |
Re: how you write check box code, please just write code for checkbox. | |
Whenever I tried to access Oracle DB from PHP , it shows error Everything is ok, Path is okay. I changed php.ini file to. I am using old version of xampp Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the … | |
Hi, I have Folder Which Name is **LAPO** and There are three Folders insider whihc names are **North**, **Central** and **South**. In North Folder there are many Folders Like **9876** , **9877** , **9333**, **9853** etc. In all Folders there are files Named PO.pdf There are more then 1400 Folders … | |
hi, all i need to add combobox in datagridview. actually i have 3 fields in database which are Sid Fee status what i want to add combo column in field [status] with two option PAID or UNPAID which a user can select and update it . i am all clear … | |
Re: You can also use XAMPP or PHPEASY Both are easy In Xampp Save your pages to Htdocs for example your page is my.php and save in htdocs then you have to write in browser [url]http://localhost/my.php[/url] great Maark this thread as solved. | |
Re: I am also facing this Problem, and no help is found these days | |
I saved the link refrence in Databse like /PEDB/SupportDoc/5/PRFF or0444.pdf and used [ICODE]<a href=".$r1[10]." target=_blank>View</a>[/ICODE] to show the documents but when I click on view its not showing document because link break where space put in and show blank in explorer like /PEDB/SupportDoc/5/PRFF | |
Hi, I want to make a form , in which I have 4 input Fields. [LIST=1] [*]Date1 [*]Date2 [*]Calender Days [*]Working Days [/LIST] When I enter date1 as 2011-04-07 and date2 as 2011-04-11 Then I require in Calender Days = 5 inclusive of date1 and date2 and Working days = … | |
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' … | |
Dear All I have 2 Pages smtpAuth.php contents.php When I use this code [CODE]$body = file_get_contents('contents.php'); $body = eregi_replace("[\]",'',$body);[/CODE] It cannot show PHP variables values in Send email. Content.php file attached as contentsphpfile Whole HTML working fine but PHP DataBase values are not showing in Email. | |
Re: Please change the extension of .xls file to .xlsx when you export may be this will solve your problem. | |
Re: use [CODE]<script></script>[/CODE] and put your code in between them on PHP Page. | |
Hi, I am in a company where SMTP is currently not available and port 25 is also blocked, Therefore I have choosen to send email via PHP Mailer Class but whrn I setup everything its giving me error... Second I did not understand this line [ICODE]$mail->IsSMTP(); // telling the class … | |
Re: Please use if condition and use it on on and off button | |
Re: Please use this code and make this thread Solved [CODE]<html> <head> <SCRIPT language=javascript type="text/javascript"> function calculate() { document.form1.elements.totalbox.value = (document.form1.elements.productvalue.value * document.form1.elements.NoOfProducts.value); } </script> <body > <form name="form1" action="post" > <input type="text" name="productvalue" size="35" maxlength="100" class="blackCopy" value="" onblur="calculate();" onKeyUp="calculate();this.blur();this.focus();" onChange="calculate();"> <input type="text" name="NoOfProducts" size="35" maxlength="100" class="blackCopy" value="" onblur="calculate();" onKeyUp="calculate();this.blur();this.focus();" onChange="calculate();"> … | |
Re: use this to load image [url]http://www.daniweb.com/forums/thread227145.html[/url] | |
Hi, I have developed a SMS Application. There is a file name my.php I want to execute it after every 10 seconds so I can get new files which arrive. please guide me | |
Hi I have to develop a code for file configuration in PHP. My basic text file is stored in C:\abc my text file name format is Mobile#_Code.request Example: 923135470808_9033.request Now I want to read code 9033 from the name of text file which always be there after _ and before … | |
| |
Hi , I have 5 quries, each query showing expense of different category. like Lease,Diesel,Security,Electricity, Maintenance. 3 quries using 6 tables and 2 quries using 2 tables means 6 tables used in total. Now I want To Show Expense Using one query so I can Get complete Sum of Expenses. … | |
Hi, I am using UNION ALL to get Sum of expense of different categories from various tables. Now I got Site against their Sum of expenses but When I make this query as table(tbl2) ans select site,Max(Expense) from tbl2 it shows correct Max(Expense) but first Site id of tbl2. Here … | |
Re: I am new to JS, Practically how I use , please give me an example to use . | |
hi this is my code. I want to validate new password with repeat password befor user press submit. [CODE]<p align="center">To reset your password, provide your current password</p> <form id="form1" name="form1" method="post" action="pcq.php"> <table border="0" align="center" class="mytable2" style="margin-left:175px" > <tr> <td>Current Password</td> <td> <input type="password" name="oldpass" style="width:150px;" /> </td> </tr> <tr> … | |
Hi, this is my query. I calculate difference of 20 days from pDate(Process Date) form today. But I want if rfDate(Resubmitted date) it will count from rfdate and ignore Pdate. [CODE=mysql]SELECT * FROM `lims_payment` WHERE TO_DAYS( NOW( ) ) - TO_DAYS( `pDate` ) >20 AND rfDate LIKE '0000-00-00'[/CODE] | |
Re: Please use link method to save your pics. and just save reference of that link in your DB. It will improve efficiency | |
hi this is a code for [B]export to excel[/B]. I want to color the headers light blue and all result of query like one white then one grey and repeat. [CODE=php]session_start(); $a= $_GET["id"]; function cleanData(&$str) { $str = preg_replace("/\t/", "\\t", $str); $str = preg_replace("/\r?\n/", "\\n", $str); } # file name … | |
This is my table which I used to get access time of users at every single minute. [CODE]-- -- Table structure for table `members_log` -- CREATE TABLE IF NOT EXISTS `members_log` ( `SrNo` int(11) NOT NULL AUTO_INCREMENT, `UserName` varchar(25) NOT NULL, `access_time` datetime NOT NULL, PRIMARY KEY (`SrNo`) ) ENGINE=MyISAM … | |
Hi, this is my query [CODE]$result = mysql_query("SELECT SUM(`qty`) FROM sims_ac WHERE region ='North'");[/CODE] How I can show this [CODE]$result[0][/CODE] without using While loop or any other loop. | |
Hi this is my Form , when User fill form and by mistake he click on back button. I want when he open it next time all values be there, so he cant type again [CODE]<form name="form1" method="post" action="checklogin.php"> <input name="myusername" type="text" value="Enter Your Username"onfocus="this.value=''" /> <input name="mypassword" type="password" id="mypassword" … | |
Hi, this is my option value. June is my Default selected Value, but there is a small issue. When Users select any month like January-2010, when he/she click on submit button. Page will show again June in Option. But I want which the user selects. [CODE=php]<td> <label>Billing Month <span class="small">Like … ![]() | |
This code is about months and year options. When you change the months or Year and press Submit button it will show selected month and year which you sleclet. This will be helpful for you all. | |
Re: also like this [CODE]SELECT department_id, department_name FROM departments LIMIT 4,0[/CODE] | |
Hi, this is my file which showing result. I put check box for each result. [CODE=php]<? include("config.php"); echo "<form method=post name=myform action=b.php >"; $result=mysql_query("Select Distinct region,MaintainedBy From info"); while($ro=mysql_fetch_array($result)) { echo "<tr bgcolor=#FFFFFF style=color:#000000;>"; echo "<td>" . $ro[0] . "</td>"; echo "<td>" . $ro[1] . "</td>"; echo "<td><input name=id[] type=checkbox … | |
I can easily change settings in IE6 for printing Background Colors and Images. But How I can do same in Google Chrome. Please see attached image ... | |
Dears [INDENT]This is an electricity billing Site link [url]http://www.mepco.com.pk/ls/defftree.asp[/url][/INDENT] I click on each link and SELECT and COPY/PASTE , It takes 3 hours minimum each day to save all pages in Excel. I want to get all pages automatically using PHP or Query. Because higher management demand reports each day. |
The End.