[PHP-WIN] AOL and myphpadmin

2005-06-28 Thread Patrick Roane
en a fan of AOL to begin with. Has anyone else ever experienced this with AOL? thanks- Patrick Patrick Roane Web design and development www.franklin-band.com Fox River Grove, Il. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] PEAR Installation path

2005-04-10 Thread Patrick Roane
p/includes" ; ; Windows: "\path1;\path2" ;include_path = ".;c:\php\includes" include_path = ".;c:\wamp\www\bonds\libs/PEAR" any help on this would be great! P Patrick Roane Web design and development www.franklin-band.com Fox River Grove, Il. -- PHP Windows Mail

[PHP-WIN] date function works, font color?

2005-03-25 Thread Patrick Roane
Greetings, I am using: in my html code which displays the following in black: Fri 25th Mar,2005 08:24 pm How can I change this to white and center it in a table cell? Thanks in advance. P Patrick Roane Web design and development www.franklin-band.com Fox River Grove, Il. -- PHP Windows

Re: [PHP-WIN] getting close ...but still "record doesn't exist"

2005-02-21 Thread Patrick Roane
am very much mistaken, PHP does not invent > spaces whiel concatenating strings. > Insert one space before the words FROM and WHERE, > otherwise you will get something like > > > SELECT furn_picFROM crostWHERE item_num = ... > > Luis > > > Patrick Roane wrote: > > >

[PHP-WIN] getting "Couldn't get file list" error.

2005-02-20 Thread Patrick Roane
uot;; $result = mysql_query($sql)or die("Couldn't get file list"); if(mysql_num_rows($result) == 1) /*-if row returned from our query, we save its actual data to a variable, $fileContent.--*/ { $fileContent = @m

[PHP-WIN] code isn't parsing mysql ...

2005-02-12 Thread Patrick Roane
oad_type' )"; if ( ! mysql_query( $query, $link ) ) { $dberror = mysql_error(); return false; } return true; } function write_form() { print ' file Description: Choose a file '; } ?> Patrick Roane Web design and development www.franklin-band.com Fox River Grove, Il.

[PHP-WIN] BLOBS problem

2005-02-12 Thread Patrick Roane
oad_type "; echo "File size: $fileUpload_size "; echo "Uploaded to: $fileUpload "; echo "Add Another File"; return true; } function write_form() { print ' file Description: Choose a file

[PHP-WIN] getting error after filling out form

2005-02-12 Thread Patrick Roane
venue have its own equipment? What kind of food deal? What kind of drink deal? What is our compensation?

[PHP-WIN] form not parsing php code?

2005-02-10 Thread Patrick Roane
e "; echo "File type: $fileUpload_type "; echo "File size: $fileUpload_size "; echo "Uploaded to: $fileUpload "; echo "Add Another File"; //} ?> = Patrick Roane Web design and development www.franklin-band.com Fox River Grove, Il. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] mysql table rename

2005-02-10 Thread Patrick Roane
This has been solved. The problem was 'pilot error'. This is indeed the right syntax to change a table name. --- Patrick Roane <[EMAIL PROTECTED]> wrote: > I am trying to rename my table, but I get a syntax > error. > > ALTER TABLE myblobs RENAME myBlobs; > &g

[PHP-WIN] mysql table rename

2005-02-10 Thread Patrick Roane
I am trying to rename my table, but I get a syntax error. ALTER TABLE myblobs RENAME myBlobs; Can anyone tell me where the problem is here? I went to the mysql ref. site and I think this is the right way to do this. thanks- = Patrick Roane Web design and development www.franklin-band.com

[suspicious - maybe spam] [PHP-WIN] [suspicious - maybe spam] Re: [PHP-WIN] $_SERVER['PHP_SELF']

2005-02-10 Thread Patrick Roane
t; On Wed, 9 Feb 2005 17:21:03 -0800 (PST), Patrick > Roane > <[EMAIL PROTECTED]> wrote: > > I'm trying to execute my php code from w/in the > same > > page as my form. I've done this before, but > recently > > i've been getting some parse errors.

[PHP-WIN] $_SERVER['PHP_SELF']

2005-02-09 Thread Patrick Roane
: $fileUpload_name "; echo "File type: $fileUpload_type "; echo "File size: $fileUpload_size "; echo "Uploaded to: $fileUpload "; echo "Add Another File"; ?> = Patrick Roane Web design and development www.franklin-band.com Fox River Grove, Il. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] New Windows user having trouble with Apache and PHP

2005-02-07 Thread Patrick Roane
Do a search for you phpinfo.php on the 'C:' drive. Make sure that its in your 'www' folder or in your apach/htdocs folder. Once you've determined this, go to www.php.net and review the section on 'installing php on windows'. If all else fails, go to www.wamp.com and instal the bundle. --- Sun

RE: [PHP-WIN] $subject = "form results " causing problem

2005-02-02 Thread Patrick Roane
second param. > > -M > > > -Original Message- > > From: Patrick Roane [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, February 02, 2005 6:08 PM > > To: php-windows@lists.php.net > > Subject: [PHP-WIN] $subject = "form results " > caus

[PHP-WIN] $subject = "form results " causing problem

2005-02-02 Thread Patrick Roane
I was wondering why when I insert the $subject = "form results", I get the ...echo "Message failed to send"; error. But when I comment this out, everything works fine. Please see below. 0) { foreach($errors as $err) echo "$err\n"; echo "Please use your browser's Bac

Re: [PHP-WIN] why isn't php being parsed?

2005-02-01 Thread Patrick Roane
thing in the lines of: > > if (isset($_POST["submit"])) { > > email sending code here... > > } > > If not, the users, when they reach the page will > send an empty form to > the email... > > Cheers, > Luis Ferro > > > > Pa

[PHP-WIN] why isn't php being parsed?

2005-02-01 Thread Patrick Roane
I am trying to include form-parsing code on the same page as my hard-coded HTML form- but I'm doing something wrong. The name of my file is chair1.html Please see below: thanks! http://www/w3/org/TR/xhtml1/DTD/xhtml1-strict.dtd";> form   Item Ch1-1         »Arm C

[PHP-WIN] user login/password

2005-01-28 Thread Patrick Roane
Can anyone suggest a good tutorial on creating a user login screen? = "forget your lust for the rich man's gold. All that you need, is in your soul. You can do this if you try. All that I want for you my son, is to be satisfied" ~ Lynard Skynard -- PHP Windows Mailing

Re: [PHP-WIN] basic mysql question:

2005-01-28 Thread Patrick Roane
Thanks for the tip: ALTER TABLE specs MODIFY food CHAR(30); does the trick! --- Thomas Vanhal <[EMAIL PROTECTED]> wrote: > Did you try a ALTER table? > - Original Message - > From: "Patrick Roane" <[EMAIL PROTECTED]> > To: > Sent: Friday, January

[PHP-WIN] basic mysql question:

2005-01-28 Thread Patrick Roane
I was wondering if there is a quick way to change the value of my VARCHAR from 10 to 30 characters w/out having to drop and recreate the column? thanks- = "forget your lust for the rich man's gold. All that you need, is in your soul. You can do this if you try. All that

Re: [PHP-WIN] Has anyone seen this error before?

2005-01-28 Thread Patrick Roane
hat kind of drink deal? > > >What is our compensation? > > value="submit!" /> > > >FORM'; > } > > //==end of new function...do not include this > line== > &

[PHP-WIN] Has anyone seen this error before?

2005-01-27 Thread Patrick Roane
Parse error: syntax error, unexpected $end in c:\wamp\www\php_excercises\schedule.php on line 81: line 81 is all the way at the bottom. Here is my code: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> Listing 13.1 Opening a Connection to a Database \n"; } else {

[PHP-WIN] mysql connect problems

2005-01-24 Thread Patrick Roane
I am trying to est. a connection to mysql via PHP5 on my win XP and I keep getting the undefined function error. By the way I am running apache 1.3.23. I believe I've made the necessary adjustments to the php.ini. (uncommented the extension=php_mysql.dll) and copied this to my windows dir. There

[PHP-WIN] how do I enable php to support DBA handlers?

2005-01-19 Thread Patrick Roane
I need some help configuring php on win XP to use DBA handlers. Does anyone have experience with this? I looked at the php manual and it says to download and install one of several types of DBM systems like: db4 and gdbm. The manual also says to install by: ... using the --enable-dba=shared co

Re: [PHP-WIN] DBA functions

2005-01-19 Thread Patrick Roane
the configuration file AKA php.ini! Ok ... moving forward now. --- Patrick Roane <[EMAIL PROTECTED]> wrote: > The steps I've taken so far to solve this are as > follows: > > 1. I got rid of WAMP in favor of installing php5.0.3 > manually. > > All i need hel

Re: [PHP-WIN] DBA functions

2005-01-19 Thread Patrick Roane
- configure switch? thanks --- Patrick Roane <[EMAIL PROTECTED]> wrote: > I need to use DBM-style abstraction layer functions > see: http://www.php.net/manual/en/ref.dba.php > > > I am trying to find out if I compiled php (I >

[PHP-WIN] DBA functions

2005-01-19 Thread Patrick Roane
I need to use DBM-style abstraction layer functions see: http://www.php.net/manual/en/ref.dba.php I am trying to find out if I compiled php (I actually installed WAMP 5: -- Apache version : Apache/1.3.33 (Win32) PHP version : 5.0.3 MySQL version :

[PHP-WIN] I am trying to write & read to a file

2005-01-17 Thread Patrick Roane
I created a form that asks for the users 1st and last name. I than try and attempt to save this data to a file. Next, I'd like to read the data from this file and write its contents to the browser. I only get so far before I get a wierd response after hitting the submit button: Resource id #3 S

Re: [PHP-WIN] Re: help w/hidden fields and storing an int.

2005-01-17 Thread Patrick Roane
Thanks- I will look into session vars. --- Jason Barnett <[EMAIL PROTECTED]> wrote: > Patrick Roane wrote: > > I am tring to store and display the number of > requests > > that a user has submitted via a hidden field. I've > > created a form that does a some s

[PHP-WIN] help w/hidden fields and storing an int.

2005-01-17 Thread Patrick Roane
I am tring to store and display the number of requests that a user has submitted via a hidden field. I've created a form that does a some simple addtion. Everything works, but I need some direction as to how I can store each number the user puts in and to display them. Please see below: http://

Re: [PHP-WIN] Re: Making includes easy.... Am I a 'tard?

2005-01-04 Thread Patrick Roane
The inludes folder is thrown around as more of a generic term for a directory that includes important files. Is this a pretty good definition for the purpose of an 'includes' folder? Also, I've seen the following syntax before: (__FILE__). Why the underscores? thanks- --- Jason Barnett <[EMA

Re: [PHP-WIN] Re: a function question

2005-01-03 Thread Patrick Roane
Thanks for all of your help. Sorry for the late response, I've been out of town. Anyway, my objective with this is to ultimately create a website that uses php and mysql to store and load information about gigs (for a band). I design web sites and primarily rely on 'flash' to do the job (which can

[PHP-WIN] a function question

2004-12-29 Thread Patrick Roane
I am trying to create a function that works with two arguments. the 1st needs to be a suername. The 2nd needs to be an email address. Next, I have to use case conversion functions to capitalize the first letter of the username and convert the email add. to lowercase characters and finaly check that

[PHP-WIN] newbie: a very simple question (I hope)

2004-12-15 Thread Patrick Roane
I am trying some excercises in a book and one of the excercises says to: Assign values to two variables. Use comparison operators to test whether the first value is: 1. the same as the second 2. less than the second 3. Print the result of each test to the browser. My question is, how do I prin

[PHP-WIN] simple database question

2004-11-11 Thread Patrick Roane
I'm using the basic MySQL.exe console and I'm creating a simple database for practice purposes. I've made some errors. Do I have to start all over again? Or, is there a way to back in the code and re-write just the part that I goofed. Thanks- = "forget your lust for the

[PHP-WIN] error. no database selected problem solved!

2004-10-26 Thread Patrick Roane
Thanks for all of your input. I didn't realize that I had to 1st create the database: mysql> create database phonelist; Database "phonelist" created. and than follow that up with: mysql> use phonelist Database changed next: mysql> create table table01( id INT(100) PRIMARY KEY, firstNa

[PHP-WIN] error. no database selected.

2004-10-26 Thread Patrick Roane
Ok, No syntax errors this time, but when I hit enter (after I type in the code below), I get 'error 1046, no database selected' CREATE TABLE phonelist( id INT(100) PRIMARY KEY, firstName VARCHAR(15), lastName VARCHAR(15), email VARCHAR(20), phone VARCHAR(15) ); There must

[PHP-WIN] mysql question

2004-10-26 Thread Patrick Roane
I am learning the mysql basics and was wondering what I'm doing wrong. I'm using the MySQL.exe console to create a simple table, but I keep getting these syntax errors. All I'm doing is typing the code and than pressing enter. Is there more I have to do? Here is my code: CREAT TABLE phonelist(

[PHP-WIN] mysql question.

2004-10-12 Thread Patrick Roane
where can I find a tutorial that can help me use mysql to update data 'dynamically'(content, URLs' etc.)contained in an html table, instead of going into the html code itself? = "forget your lust for the rich man's gold. All that you need, is in your soul. You can do th

[PHP-WIN] Patrick Roane has sent you an Evite

2004-02-17 Thread Patrick Roane
Patrick Roane has invited you to "Franklin's Kind show!". Click below to visit Evite for more information about the event and also to RSVP. http://www.evite.com/pages/invite/viewInvite.jsp?inviteId=XQNYSJAKFHYTNVBCQCVH&src=email **If you are having trouble viewing the abov

[PHP-WIN] help!

2003-10-28 Thread Patrick Roane
I have been away from my computer for many months and thus, have forgotten many of the php basics. I'm trying to get "back into the swing of things" and the problem I'm having is that my php code is not being parsed. Instead, its being treated like HTML and the code just shows up on the screen