39,323 Topics
| |
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. | |
i have done a login form but its giving error :9 can somwan help me[B] index.php[/B] [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"> <title>Login Panel</title> </head> <body> <form action="login.php" method="POST"> Username : <input type="text" name="username" > Password : <input type="text" name="password" > <input … | |
Hi all, Here's my first post. I have a problem which I've worked on for a while now. I'm new to php, html, scripts, but I'm a very quick learner and have worked in IT for years, so hopefully someone can point me towards what I need to do/learn to … | |
unable to put new line in this code i try "\n" , <br/> but not working i want that when this docoment write in the file data.txt there should be new line between First name, last name and email [CODE]<?php $file = fopen("data.txt", "a+"); fwrite($file,"First name:$_POST[fname] Last name:$_POST[lname] Email:$_POST[email] Comment:$_POST[comment]"); … | |
I want to code a page index.html, when loading this page, we will show a child form, its name is child.html, and disable body of index.html, when i closed child form, the index.html must be enable. This resembles Daniweb page, when i click member login.... Everybody can tell me a … | |
Hi Guys! I want to know how to limit the no of records to be shown in dropdown list from mysql.Below is my code. I just want to list 4 records from colum name 'department_name'. The colum has 11 records in total. [CODE]<select class="ac" name="area" > <?php $qry = mysql_query("SELECT … | |
Hi, My question may be very simple [B]How to know that subscriber has received my letter (i need get message or mail from my script)?[/B] I need just to know statistics of my subscribers receiving (even not opening it) my newsletter.I need just code in PHP. best regards | |
helloo i have to communicate between two users and i want to do it through e mails. how can we send messages on email address in php??? do we have to use any e mail server?? plz help !! Regards! | |
Hi everyone, can you check for me if my codes below are correct? i am having problem to retrieve my image file from mysql database. The errors start at "header" parts. I have no problem to store image file (mediumblob) in mysql database. The file shown are in HEX forms. … | |
Hi, New to PHP, wondered if anyone could point me to a script that would do the following: get email address from a website. Basically there is a site that is open for public viewing with addresses and phone numbers and email addresses that my client would like to target. … | |
Hi there, Someone using symfony? help me, please.. I have form class that I embed to another one.. In the embedded form, I have multiple checkboxes. But when I try to save it and I check some value of checkboxes, the error said "SQLSTATE[HY093]: Invalid parameter number: number of bound … | |
I am getting a weird error in Google Webmaster Tools when my site is accessed as [url]http://www.myurl.com/[/url] it shows duplicate meta tags for a [url]http://www.myurl.com/?ref=wierdurl.com[/url] I have no relation to this weird url, but obviously it is linked to my site this way and Google sees it as a separate … | |
Hi , i have used some gui tools to generate my php code from database and i need some help with the search form. basically the tools only created the search of dates in US format so someone had to write a cusotm function for it to display as UK … | |
Is it possible to control which files get included by looking at the browser type? For example if I'm using: [CODE]<?php include("includes/nav.php"); ?>[/CODE] but for all IE browser versions I'd like to call a different file, nav_ie.php, can that be done, and if so, how would I go about it? | |
I followed a tutorial on [url]http://www.phpeasystep.com/workshopview.php?id=6[/url] and I think it's not working properly for me. When I try to start the session in my sidebar thing it won't actually start somehow :S [code]<div id="sidebar"> <h2>[<a href="?page=home">Samppa's page</a>]</h2> <h3> Main menu</h3> <ul class="menu"> <li><a href="?page=about"> >> About</a></li> <li><a href="?page=projects"> >> Projects</a></li> <li><a … | |
Hi everyone [CODE] $i=0; echo '<script language="javascript"> var dA = new Array(); var x = 0; for(i=0;i<2;i++) { dA[x++]="'.$date[$i]." ".$message[$i].'"; '.$i++.'; } </script>'; [/CODE] here i want to increment $i above code is not working, Please help...Thanks in Advance... | |
Hello to everybody. Lately I have been working into a forum and I have been offering free e-mail accounts with my domain to all the people that register to my forum. However few of them will bother to use outlook for that, so I thought to make a login/registration page … | |
Pls help: [B]Warning:[/B] require(connect_to_mysql.php) [function.require]: failed to open stream: No such file or directory in C:\wamp\www\chibenda\root_directory\index.php on line 3 [CODE]<?php $db_host = "localhost"; // Place the username for the MySQL database here $db_username = "root"; // Place the password for the MySQL database here $db_pass = ""; // Place the … | |
Hi! I have basic input form, which right now saves what i input into a txt file Now, i want to save/add that into a table (not mysql one, just a table on a page that anyone can see) so, i was wondering if there is any example code, or … | |
Here's how I'm creating my form: [CODE] foreach ($all_rows as $column) { print ("<tr>"); print ("<td>". $column['name'] . "</td>"); print ("<td><input type='text' name='form1[".$column['id']."][materialsPrice]' id='".$column['id']."' value='".$column['materialsPrice']."'/> <input type='hidden' name='form1[".$column['id']."' value='"."' /></td>"); print ("<td><input type='text' name='form1[".$column['id']."][labourPrice]' id='".$column['id']."' value='".$column['labourPrice']."'/> <input type='hidden' name='form1[".$column['id']."' value='"."' /></td>"); print("<td><input type = 'checkbox' name = 'form1[".$column['id']."][quantityCheckbox]' id = … | |
Been in computers since the Radio Smack days. Been developing in VB (DOS through 2005), Access VBA, Authorware, yada yada, so how come PHP is such a big deal? I must be getting old. | |
I have a picture of my database design attached. Basically what I'm wondering is if there is a way that I can use the foreign keys I have set up. For instance, shirtColorsLink contains two columns, shirtId, and colorId. Both are foreign keys from the shirts table and the colors … | |
HI I HAVE FORM IN MY PHP PAGE THAT INSERT DATA INTO MY DATA BASE: DETAILS OF MY PHP PAGE THAT HAVE DATA ENTRY FORM IS: oUTLET Id: oUTLETnAME: ADDRESS: CONT NO: SIMS: CARDS: LOADS: NOW THE HELP REGARDINGS IN THIS FORM IS THAT. I WANT TO OBTAIN DATA FROM … | |
HI, THNX FOR HELPING IN MY LAST POST. Now i wants the help in follwing problems. i have a table in my sql named as "retailer001". i have a php page that have the data entry form of all field that are in mysql table. my table retailer001 having 11 … | |
Hey Guys I have just started to learn PHP and have been using a book called "PHP For Absolute Beginners" now i have found a fair few mistakes in the book which i have corrected myself but i have come across an issue which is probably a simple fix by … | |
Dear members, I am new for Php, wish to develope two dropdown list. One listing all DB's availabe with MySQL and on selection of one DB second should list tables in that DB ( with no 'GO' type button). Once Table selected third dropdown will list fileds availabe, Can some … | |
Hello, This is my first appearance on a forum ever, I am fairly new at programming and I have following question : If I make a INSERT...SELECT statement (to transfer data from one table to another) in a MySQL-editor, the statement gets executed once ; the same statement in my … | |
I need to write a method to return the number of rows I have in my table. This code I've written so far; [code] <pre><?php class Database { private $connected=false; private $user,$pass,$host; private $db; private $result=array(); public function initialize($user, $pass, $host) { $this->user=$user; $this->pass=$pass; $this->host=$host; return $this; } function connect($dbname) … | |
hai all. i got a problem to display a total from a few data in my database for example, in my database i got these fields: TABLE STUFF food double; clothes double; groceries double; total double; ---> should i put this in my table to save my total that will … | |
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 … |
The End.