- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
37 Posted Topics
Re: Use below code // Define Variable $ServerName = $_POST[ServerName]; //ServerName $a1 = $_POST[a1]; //Hi Memeory Utilization $a2 = $_POST[a2]; //Avg Memeory Utilization $a3 = $_POST[a3]; //Hi CPU Utilization $a4 = $_POST[a4]; //Avg CPU Utilization $a5 = $_POST[a5]; //Hi I/O Utilization $a6 = $_POST[a6]; //Avg I/O Utilization $a7 = $_POST[a7]; //Hi … | |
Re: Below is the detail use of foreach with PDO Query <?php // We Will prepare SQL Query $STM = $dbh->prepare("SELECT `SrNo`, `TTDescription`, `TTCity`, `TTEntryDate`, `TTEntryTime`, `TTEntryBy`, `TTClosedDate`, `TTClosedTime`, `TTClosedBy`, `Status` FROM ttmain WHERE Status='Open' AND TTEntryDate = SUBDATE(CURDATE(),1)"); // For Executing prepared statement we will use below function $STM->execute(); // … | |
Re: For Page Protection use this on top of the page session_start(); if($_SESSION[type]!='ACTAdmin'){ header("location:index.php"); exit(); } please use type of the user. | |
Re: Below is a code for export to excel in PDO <?php // Time limit to 0 for exporting big records. set_time_limit(0); // mysql hostname $hostname = 'localhost'; // mysql username $username = 'root'; // mysql password $password = ''; // Database Connection using PDO with try catch method. try { … | |
Re: if($row[0] == 'Seller') { header( "location:http://localhost/test/secret.php"); } | |
Re: Please check more details here http://crewow.com/PHP-PDO-to-Connect-MySQL-Database.php | |
Re: please use PDO http://crewow.com/PHP-PDO-to-Connect-MySQL-Database.php | |
Re: please use PDO http://crewow.com/PHP-PDO-to-Connect-MySQL-Database.php | |
Re: You can do it very easily . please share details of your projects. how many forms , tables you require? ![]() | |
Re: check this http://crewow.com/PHP-PDO-to-Connect-MySQL-Database.php | |
Re: Use REG EXP for search Search.html page below [CODE=html]<form action="show.php" method="post"> <input type="text" value="Enter Site ID" name="a" class="textfield_effect" maxlength="30" onfocus="this.value=''"> </td> </tr> <tr> <td align="center" style="font-family:Calibri"> <input type="submit" value=""/> </form>[/CODE] and show.php below [CODE=php]<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } $a= $_POST["a"]; [B]//get … | |
How to make Layout like Daniweb Footer My Favourite Forums Todays Posts ............. | |
Re: Please check uploadify.com | |
Re: Just use this [CODE]<? session_start(); session_destroy(); ?>[/CODE] name it logout.php and link your logout button | |
Hi to all Result of my SQL Query is attached My Query is [CODE=mysql]SELECT * FROM $tbl_name WHERE TO_DAYS( NOW( ) ) - TO_DAYS( `pDate` ) >20 AND mid(`SiteID`,1,1) ='C' AND `cDate` LIKE '0000-00-00' AND `crDate` LIKE '0000-00-00' [/CODE] For Showing I use this Code [CODE=php]echo "<table cellpadding=2 align=center cellspacing=2 … | |
Its working PERFECTLY In IE6 But in Chrome Back Button is not Working. Code for Back button [CODE]<td><a href="lims_New_North.php"><img name="lims_pages_r5_c2" src="images/lims_pages_r5_c2.jpg" width="74" height="23" border="0" id="lims_pages_r5_c2" alt="" /></a></td>[/CODE] There is no Issue with Pagination above Back link not work in Google chrome but work in IE6 code Pagination [CODE=php]<?php /* Place … | |
Re: Please SHARE your table structure, so we can tell you | |
I have 100 records in My DB. I want to show 10 and then add another field in the record as UPDATE and then show these 10 as printer friendly. ![]() | |
Re: Post your table structure with sample data and share your code | |
Hi Dear All Is it possible to compare two PDF Image Files and if Name of Person is same in both documents only then we can save it to server and save the path to the Database. actually its about confirmation. But Problem is Both PDF are Images and name … | |
| |
How I can make a Search field like a HOTMAIL Search Bing. In which search button is inside a search field and there is a Bing image in search field and also when i click in search field, bing disappear. image is attached. [COLOR="Red"]thanks in advance...[/COLOR] | |
Hi to all I have designed a entry page which is used to INSERT Data in a Daatabse table. I use meta fresh tag time =60seconds Now I want to show that in another page with 2 control buttons ACCEPT and REJECT. Problems: 1. I need to show only one … | |
Re: How I can post variable vaue to update.php page In Form.php [code=php]<form action="update.php" method="post"> <input type="text" name="siteid" value="<?= $b ?>" /> <input type="submit" name="subjoin" value="Update"> </form>[/code] in update page how I show the value of site id. I am using post method. but field value is variable($b) so how I … | |
:) this page name is search.php which gets siteID from the databse and show in LISTBOX. [CODE] <form action="site_report.php" method="post"> <?php $con = mysql_connect("localhost","xxxx","xxxx"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("onm", $con); $query="SELECT SiteId FROM SitePInfo WHERE Region='Central 1' "; $result = mysql_query ($query); echo "<select … | |
Re: please check my thread i need help, updation there is a code for this | |
hi this is a form.php [CODE=html]<html><body><font face=Arial size=2> <form method="post" action="contact.php"> <table bgcolor=#ffffcc align=center> <tr><td colspan=2><strong>Contact us using this form:</strong></td></tr> <tr><td>Department:</td><td><select name="sendto"> <option value="info@mycompany.com">General</option> <option value="support@mycompany.com">Support</option> <option value="sales@mycompany.com">Sales</option> </select></td></tr> <tr><td><font color=red>*</font> Name:</td><td><input size=25 name="Name"></td></tr> <tr><td><font color=red>*</font> Email:</td><td><input size=25 name="Email"></td></tr> <tr><td>Company:</td><td><input size=25 name="Company"></td></tr> <tr><td>Phone:</td><td><input size=25 name="Phone"></td></tr> <tr><td>Subscribe to<br> mailing list:</td><td><input type="radio" … | |
Re: try this [CODE=php] echo "<td bgcolor=#9B5DCA><a href='link_page.php?id={$lessonID'>".stripslashes(delete)."</a> </td>"; [/CODE] | |
Deal all, I have developed a database for a school and when some one select the student ID it shows all the information related to that particular data, any one can tell how I can purt a print and export excel button on the result page which prints the report … | |
Hi, How I can Export PHP Result which shown in table to excel using a Export Button on the Same Page. [B][COLOR="Green"]:) [/COLOR][/B] | |
Hi please Share how to show data from a specifice date to specific date. Thanks in advance... | |
Hi I have 2 pages. 1. form.php 2. update.php I have populated valus from databse on the base of id and show in the form field, now in update page I have tried to post the value but its not working. [B]Please Helop me[/B]In Form.php [code=php]<form action="update.php" method="post"> <input type="text" … | |
[CODE] <form action="update.php" method="post"> <input type="text" name="userdate" value="<?= $b ?>" /> <input type="submit" name="subjoin" value="Update"> </form> [/CODE] and update.php [CODE] $c= $_POST["$b"]; echo "value".$c; //its not working[/CODE] |
The End.