Well thats right ambroz
we are using all that the first field might also be anything thing (e.g he can select surname, forename, add1, town) according to the selection the second listmenu will be built.
(e.g first list box will be like select Distinct surname (or firstname, forename, add1...
ambroz
Thanks for your suggestion. But the actual db is not that at all.
OUR db consists of Tsunami victims where they gave us single file excel file which organisation is working on.
We wanted to use that single database of the victims which consists mainly of Surname, Forename, Address1, Town...
Assuming I have 3 list boxes
Example :
Cars----------Models--------------type
---------------------------------------
All the fields will be dynamically from single table
Cars field has
NISSAN
TOYOTA
SUBARU
HONDA
MITSUBISHI
MAZDA
PROTON
CIEOLO
SCODA
MODELS fields will have list
--------
CIVIC...
its this code
$i= $area;
$result = mysql_query("SELECT * FROM $table WHERE surname = '$surname' and add1 = '$add1' ORDER BY add1",$db);
$new = stripslashes($area);
$new2 = htmlspecialchars("$new", ENT_QUOTES);
$new1 = stripslashes($new2);
$rn = mysql_numrows($result);
echo "Total Number of...
well have a look at this what I have been working so for.
But there is a big bug in that where the loop is not functioning fine, as only the first record gets posted to the textfile with full format
the format as it looks in text file
ANDY MARIE NOELLE NADIAxxxxxxxxxxxxxxxxxxxxx Le...
well how is that possible to move the curson along in a array variable which will be generated.
eg. rec one (first field)should start at 0,0 end at 0,44 and second field should start at 0,46 - 0,84 (third field) should start at 0,86 - 0,124 (fourth field) should start at 0,126 - 0,150.
then...
well tabs will not be presise for me to.
Lemme tell you that the output should not cross 150 characters.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxSxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxSxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxSxxxxxxxxxxxxxxxxxxxxxxxxx.
( 1 - 44 ) - is the spacing for the...
fopen() is kewl but I'm trying to figure out how could we possibly make the output in the text file assign the specified columns.
<?
include ("include/header.inc.php");
if($_POST)
$fp = fopen("newfile.txt", "a") or die("Couldn't create new file");
{
for($i=0;$i < $_POST['rn'];$i++)
{
$numBytes...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.