39,323 Topics
| |
change password.php [CODE] <html> <head> <title>Change Password</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="pwd.css" rel="stylesheet" type="text/css"> <link type="text/css" href="menu.css" rel="stylesheet" /> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="menu.js"></script> </head> <body> <style type="text/css"> #menu { top:5px; margin:0 auto; width:80%; left: 40px; } #copyright { margin:100px auto; width:80%; font:12px 'Trebuchet MS'; color:#bbb; text-indent:20px; padding:40px … | |
Hello there, anyone can help me with my problem? my problem is, i want to display a "please complete all the fields" when the user inputs incomplete data in the textboxes and i want to display it in the same form. im new in php. These are my codes [CODE]<?php … | |
Hello, I'm working on a website which requires ALL fields to be filled before a user can download stuff. How can i code the web form as such a user has to fill in their details before the download button becomes active or usable? Help greatly appreciated. regards, Pabbzmike | |
I have two relation table and I've made a php sql query out of it ... What I need is to insert the sql result into a new database table... Anyone ? this is my code [CODE]<?php $con = mysql_connect("localhost","sample","sample"); if (!$con) { die('Could not connect: ' . mysql_error()); } … | |
hi there can anyone tell me if its possible with php to use certificate to autenticate to a web application admin area instead of using common username and password? and is there a vps web server that can encrypt the whole drive and database of my application, for it may … | |
I am trying to install pyrus.phar from the command line but I keep on receiving the next error. c:/www/wamp/bin/php/php5.3.8 php pyrus.phar You must compile PHP with the following extensions enabled: sqlite3 or install the necessary extensions for your distribution. I checked the php.ini file and the sqlite3 is enabled. I … | |
hey m making a website which use to tel the daily report. there are many other functionalities as well. i have three tables concerned with this problem 1. shift 2. molding section 3. intermediate store on the basis of date and shift num, shift ids are assigned now i want … | |
I am using Zend Framework with the Doctrine ORM and was wondering how I would get Doctrine to recognize a database schema I already have made to automatically read it and handle the relationship mapping, etc. Any ideas? | |
I need some ideas in regards to the database management of the email alerts that my website is sending out. [url]www.gubbit.com[/url] My website sends out deal alerts of the products on deals everyday. Typically a product deal stays ON for 3-4 days and my script is sending the same deal … | |
| I am writing a simple program where i have a HTML page that gets the username and password from the user and sends it to a PHP page. The PHP page connects to an MS access database and retrieves the stored password, compares it with the password given by the … |
Hello,i have the following html page. [CODE]<html> <head> </head> <body> <div class="container"> <div class="8"> <?php $firstname['1']; ?> </div> <div class="8"> <?php $firstname['2']; ?> </div> <div class="8 last"> <?php $firstname['3']; ?> </div> <div class="8"> <?php $firstname['4']; ?> </div> <div class="8"> <?php $firstname['5']; ?> </div> <div class="8 last"> <?php $firstname['6']; ?> </div> … | |
HI I have a drop down box after selecting it page must be refreshed and it must show the selected value. How to do it example I select one item in a dropdown and page must be refresh and show the selected value in drop down after refresh? thanks | |
i wish to post a xml data using php ; but wihtout cURL? what are the options available. | |
Hello all, I've been searching all day for a solution to this. I have the following code: [CODE] <?php foreach ($software_serialRecords as $record): ?> <?php $programLimit = array(); ?> <?php $programLimit[] = $record['program']; ?> <?php $programLimit = array_unique($programLimit); ?> <?php for ($i = 0; $i<count($programLimit); $i++) { ?> <option value="software_serials_program.php?program=<?php … | |
Hi, I'm trying to sort out the names from the database based on the first letter by using (addr WHERE LIKE 'A%'). This gives me the following error message: [B]Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in...[/B] Does anyone know what’s wrong here? Everything works great when … | |
Hi all, I use codeiniter framework and I am still new to the framework. I settup a project in a localhost in my pc and I use netbeans id. I setup route.php in config folder , as $route['default_controller'] = "welcome"; when the project is started it shows the url as … | |
Hi everyone, i am trying to develop a website in php by reading the discussion and tutorials available on the internet and i have completed it almost, its working well we can register and data base working well, but problem is that i want to display user name on all … | |
Hi, I want to parse all <iframe> tags with DOMDocument: $videos = $doc->getElementsByTagName('iframe'); echo $videos->item(0)->nodeValue; Unfortunately, thin only gets me the value between the opening and closing tag. How to display a full tag with all attrbutes and values with this method? Thanks | |
Needs to achieve such an effect: [CODE]$dateall=$year.$month.$day; $arr_from=array('20120401','20120416','20120510'); $arr_to=array('20120405','20120425','20120515'); if($dateall>=$arr_from[0] && $dateall<=$arr_to[0] || $dateall>=$arr_from[1] && $dateall<=$arr_to[1] || ...) { $calendar .= '<td class="reservation"><span title="reservation" id="id'.$year.$month.$day.'">'.$day.'</span></td>'; } else if //other conditions [/CODE] The above code works fine. But I need to rewrite this code as: [CODE]if($dateall>=$arr_from[$j] && $dateall<=$arr_to[$j]) // something like … | |
[CODE]<?php include_once ('connection.php'); include_once ('session.php'); if(isset($_POST['submit'])) { $title = $_POST['title']; $content = $_POST['content']; $metatitle = $_POST['metatitle']; $metadescription = $_POST['metadescription']; $metarobots = $_POST['metarobots']; $metatags = $_POST['metatags']; $categoryname = $_POST['categoryname']; if(empty($title) || empty($content)) { echo 'A valid title and some content is required to ceate a post'; } elseif(empty ($categoryname)) { $category … | |
Hi about 7 days am experiencing this problem if you can help me out this is the code; it's not updating at all it's just redirecting me to the page this is my code [CODE] function editcat($cid,$catname,$catdesc,$ok=false) { global $db; $id = intval($cid); $result = $db->query("SELECT * FROM category WHERE … | |
Hi, I am new to Wordpress. I am using latest version of wordpress. I am launching new designing blog. I want new user to register on my blog so they can post blog post on my blog. I use PIE REGISTER Plugins. I have done all the settings. But i … | |
| Hello, I have setup a wordpress locally in WAMP. Every user is given points for writing. I want to write a piece of code that will add two points to the user's existing points every time he writes a blog. Can this be done usng php? Also, where should I … |
Im building a control panel on my website to cover a bunch of stuff for my website. It makes viewing each member and video, website etc alot easier. But im building a table for my members. And i have it layed out pretty good. but there's one issue. When you … | |
Aside from sql injection if I sanitize data before querying or sending it to a database are there any issues that needs to be addressed concerning security of a web app? im building an e commerce from scratch as part of a school project using notepad++ and xampp. any recommendations? … | |
I want something like how facebooks wall works but when i call what others have posted its out of order with time for example: First Table (Users): UserID: 1, Name: Matt, UserID: 2, Name: Bob, UserID: 3, Name: Steve, Second Table (Friends): UserID: 1, FriendUserId: 2 UserID: 1, FriendUserId: 3, … | |
my goal is when user adds a product thats already in the cart, it will retain the product name and it will add 1 to the current quantity my code is: [CODE]$item_found = false; $index_of_array = 0; if(isset($_POST['product_id'])) { $product_id = $_POST['product_id']; if(!isset($_SESSION['cart_array'] ) || empty($_SESSION['cart_array'] )) { $_SESSION['cart_array'] = … | |
im making a small web app as e-commerce site im storing the product id selected by a visitor into session product id as an array now what i want to accomplish is: also store the quantity associated with the product selected and then update that sessions for quantity if visitor … | |
I'm trying to use a variable in a Update to a field. The variable will change the amount of the increment that occurs in that field. I can't use a fixed amount, as it will change according to the user. The Following won't work $points = 5; $query2 = "UPDATE … | |
Hello. I have two text files. Text1.txt and Text2.txt. I am needing to remove an lines found in Text1.txt from Text2.txt. That was probably confusing, so let me give an example. Let's say Text1.txt has this: 1 2 3 And Text2.txt has this: 2 3 4 The final result would … |
The End.