[PHP] problems after installing on new hard-drive

2004-08-17 Thread Hull, Douglas D
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

[PHP] what file holds my databases

2004-08-04 Thread Hull, Douglas D
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

[PHP] load data infile

2004-07-16 Thread Hull, Douglas D
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

[PHP] using htmlentities with data in textarea

2004-07-13 Thread Hull, Douglas D
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

[PHP] placing values in html teaxtarea

2004-07-12 Thread Hull, Douglas D
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

[PHP] after submitting, working with data on same page

2004-07-09 Thread Hull, Douglas D
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

[PHP] after suubmitting, working with data on same page

2004-07-09 Thread Hull, Douglas D
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

RE: [PHP] after suubmitting, working with data on same page

2004-07-09 Thread Hull, Douglas D
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