I recently had a hard-drive go down in which I was running os x 10.2.x. I do not
remember exactly what version of mysql, php etc. I had on it. I had a small mysql
database with some php code that worked fine. Now that I have my new drive I have put
php 4.3.2, phpmyadmin 2.5.7-pl1, and mysql
Really stupid question. I set up apache, mysql, phpadmin etc., and started personal
web sharing of course on my mac and created a couple of databases. My question is on
my hard-drive, where and/or what file holds my databases?
Thanks for any help,
Doug
--
PHP General Mailing List
I have a tab delimited file I am trying to load in my database using:
LOAD DATA INFILE '/users/dbs/sites/phpmyadmin/gus/exptab.txt' INTO TABLE datable;
But all it will load is the first record and I have about 2000 records. There are 20
columns of data in my 'exptab.txt' file I am loading and
As John H told me (which is true) I should run my words through htmlentities. I have
a textarea in a form for individuals to type in a list of words. From there I place
these words in an array and then perform calculations and echo the words back out with
the resulting calculations. But if
After doing calculations etc on my data I am wanting to place it in a textarea form in
html. I am having trouble getting my data to show up in my texarea. For example, say
after all my calculations I my field called $test ends up containing This is a test.
Here is what I tried:
textarea
I have my two html textarea fields followed by these two buttons.
form action=?=$_SERVER['PHP_SELF']? method=post br
input type=submit name=calcentry value=Calc Your Entry /
input type=submit name=clearentry value=Clear Your Entry /
/form
I have textarea1 to type words into. I
Just to make it simple this is my whole page for now, when putting words in the
textarea zwords and hitting calc your entry it never goes into my if statement:
html
body
?
if ($_POST['$calcentry'] == Calc Your Entry) {
echo 'xxx' . $zwords . 'xxx';
}
?
textarea name=zwords rows=20 cols=30 wrap
To: Hull, Douglas D
Cc: Note To Php general List (E-mail)
Subject: Re: [PHP] after suubmitting, working with data on same page
if ($_POST['calcentry'] == Calc Your Entry) {
Hull, Douglas D wrote:
Just to make it simple this is my whole page for now, when putting words
8 matches
Mail list logo