Re: [PHP] Calendar System

2002-10-17 Thread Rick Emery
http://myphpcalendar.sourceforge.net/

Re: [PHP] Inserting a variable into a mysql_query() statement

2002-10-16 Thread Rick Emery
$query = "DELETE FROM product WHERE manufacturer=\"$hidden_manuf_id\""; mysql_query($query,$bb) or die(mysql_error()); or: mysql_query("DELETE FROM product WHERE manufacturer=\"$hidden_manuf_id\"", $bb); = Phil Clark wrote: >I'm trying to insert the va

Re: [PHP] SQL field problem

2002-07-10 Thread Rick Emery
SELECT DISTINCT kat FROM mytable; Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 12:40 PM Subject: [PHP] SQL field problem Hello I have a problem with mysql.I create a table with a field "kat".In this field are entries

[PHP] RE: ############

2002-07-09 Thread Rick Emery
lets all spam Erik

Fw: [PHP] New Newsgroups

2002-06-26 Thread Rick Emery
Somewhat related to this discussion. There are some posters to this email list that appear as Newsgoup entries in my OutLook Express. Most posters, however, are identified as mail, not news postings. "Peter" is one of those that appears as a News post. I've looked at the headers of his m

RE: [PHP] getting variables the hard way?

2002-06-18 Thread Rick Emery
$_POST[] $HTTP_POST_VARS[] - Original Message - From: "Renaldo De Silva" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 18, 2002 3:21 PM Subject: [PHP] getting variables the hard way? how can i get variables posted from a form without calling then distinctly

Re: [PHP] Php 4 Deleteing Cookies: Trying to set and delete a cookie in same page

2002-06-06 Thread Rick Emery
first, it's not PHP that won't delete the cookie...it's the nature of cookies. second, there is no need to try to delete it and set it to a new value. Just set it to the new value. third, the cookie will expire and disappear when the browser closes. The browser MUST close, not simply go

Re: [PHP] Combo box selected value...

2002-06-06 Thread Rick Emery
The value is returned in whatever is stored in $nome. So, if $nome="var", then $var will contain the selected value. Second, this could not possibly operate the way you want it to, because the mysql_result() is called TWICE with each line. You want it called only ONCE to retrieve the value

Re: [PHP] Combo box selected value...

2002-06-06 Thread Rick Emery
the value is returned in whatever is stored in $nome. So, if $nome="var", then $var will contain the selected value. - Original Message - From: "Alexandra Aguiar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 04, 1980 12:56 PM Subject: [PHP] Combo box selected

RE: [PHP] Image Question

2002-04-08 Thread Rick Emery
First, why store it in a database? Why not store it as a separate file, then store pointer/file-name to it in database? If you do want it in the database (may I assume mysql?), then INSERT/LOAD the file directly into the field without conversion. -Original Message- From: Jay Paulson [ma

RE: [PHP] Assigning unique form names...

2002-04-08 Thread Rick Emery
perhaps you could use $file_name -Original Message- From: Jas [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 2:54 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Assigning unique form names... Ok I understand what you mean here, however what I need to do is have a unique form actio

RE: [PHP] mysql question

2002-04-08 Thread Rick Emery
mysql is a relational database. therefore, the concept of a row number is irrelevant. that said, what do you REALLY want to do -Original Message- From: Julian [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 2:59 PM To: [EMAIL PROTECTED] Subject: [PHP] mysql question Hi!!! I

RE: [PHP] fwrite() - problems....

2002-04-08 Thread Rick Emery
$fp = fopen($filename, "w"); fwrite($fp, $outputstring); READ THE DOCS -Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 12:51 PM To: [EMAIL PROTECTED] Subject: [PHP] fwrite() - problems I have a large string that I want to written t

RE: [PHP] Object Confusion

2002-04-08 Thread Rick Emery
$A->variable Rather than having us all guess, show your code... -Original Message- From: Robert J. Cissell [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 11:42 AM To: [EMAIL PROTECTED] Subject: [PHP] Object Confusion If object of type A ($A) contains a variable $B which is an

RE: [PHP] Upload alert

2002-04-08 Thread Rick Emery
What you're seeking is push technology. I'm not certain that PHP can provide that. However, PHP can email you using the mail() function -Original Message- From: Rodolfo Silva [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 12:16 PM To: [EMAIL PROTECTED] Subject: [PHP] Upload ale

RE: [PHP] difficulty in solving the unknown warning

2002-04-08 Thread Rick Emery
so what does line 111 look like? we can't read your mind... -Original Message- From: erich [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 3:35 AM To: [EMAIL PROTECTED] Subject: [PHP] difficulty in solving the unknown warning i am a php programmer whose learning expr. is about

RE: [PHP] getting slash with single quotes in form mail

2002-04-05 Thread Rick Emery
stripslashes($text) -Original Message- From: Rob Packer [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 7:46 PM To: [EMAIL PROTECTED] Subject: [PHP] getting slash with single quotes in form mail Hi, I have a contact form and when someone fills it out, all the single quotes (

RE: [PHP] Arrays within classes

2002-04-05 Thread Rick Emery
riginal Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 1:28 PM To: 'Brian McLaughlin'; [EMAIL PROTECTED] Subject: RE: [PHP] Arrays within classes I corrected the syntax errors Erik found and added var_dump() after each $t equation/assignment The proble

RE: [PHP] Arrays within classes

2002-04-05 Thread Rick Emery
I corrected the syntax errors Erik found and added var_dump() after each $t equation/assignment The problem is that you refer to $test->words. You should refer to $test->words BIG DIFFERENCE $test->words means find the value of $words and look for that variable in $test. That is, if $words ="a

RE: [PHP] MySQL - UPDATE & INSERT

2002-04-05 Thread Rick Emery
what happened when you tried your query? -Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 12:58 PM To: [EMAIL PROTECTED] Subject: [PHP] MySQL - UPDATE & INSERT Is this query legal? $query = "UPDATE table SET (var1, var2, var3) VALUE

RE: [PHP] refresh

2002-04-05 Thread Rick Emery
yes, put the name of the PHP file -Original Message- From: Kris Vose [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 12:23 PM To: Rick Emery Subject: RE: [PHP] refresh When I delete a record from a table in php it loops back to the table. However, It does not show that the

RE: [PHP] regexp for ' replacement

2002-04-05 Thread Rick Emery
MAIL PROTECTED]] Sent: Friday, April 05, 2002 11:35 AM To: Rick Emery Cc: [EMAIL PROTECTED] Subject: RE: [PHP] regexp for ' replacement Nop. I don't want to affect the first and last ' of every line. On Fri, 5 Apr 2002, Rick Emery wrote: > addslashes($textline) > >

RE: [PHP] Writing to Files

2002-04-05 Thread Rick Emery
try creating a script with fopen(), fwrite(), etc. When you run into problems, ask here. $filex = fopen("myfile","w"); fwrite( $filex, "write this here"); fclose($filex); -Original Message- From: Sebastian A. [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 10:29 AM To: PHP Gener

RE: [PHP] regexp for ' replacement

2002-04-05 Thread Rick Emery
addslashes($textline) -Original Message- From: Thalis A. Kalfigopoulos [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 10:54 AM To: [EMAIL PROTECTED] Subject: [PHP] regexp for ' replacement Yet another regexpr question. If I have as part of a text: ...and then 'the quick brown f

RE: [PHP] refresh

2002-04-05 Thread Rick Emery
after database submission, header("location: ...") re-directed to the script you wish to go to -Original Message- From: Kris Vose [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 10:31 AM To: [EMAIL PROTECTED] Subject: [PHP] refresh I want to be able to refresh my browser window

RE: [PHP] Directory to array to select box...

2002-04-05 Thread Rick Emery
When ad_done.php3 is called, it will receive a variable named $files. Change: $file_name"; to: "; $files will contain the value of the file selected -Original Message- From: Jas [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 10:36 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] D

RE: [PHP] conditionally including classes/functions

2002-04-05 Thread Rick Emery
It's okay to do so. That's why include() was created; to provide conditional inclusion. -Original Message- From: Andrew Warner [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 11:29 AM To: [EMAIL PROTECTED] Subject: [PHP] conditionaly including classes/functions Is it okay pra

RE: [PHP] Directory to array to select box...

2002-04-05 Thread Rick Emery
the contents of the SELECT box and the contents of the HIDDEN field are separate entities. Append the path upon transfer to the next PHP script Show us what you REALLY want to do here instead of keeping us guessing... -Original Message- From: Jas [mailto:[EMAIL PROTECTED]] Sent: Friday,

RE: [PHP] Directory to array to select box...

2002-04-05 Thread Rick Emery
I must be missing something. Just add a HIDDEN type in your form. It will be sent with all your form data. -Original Message- From: Jas [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 10:14 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Directory to array to select box... Hey Ric

RE: [PHP] Directory to array to select box...

2002-04-05 Thread Rick Emery
Since I ran this on Win2000 machine, I changed name of directory: You were right on the money with your code; just a minor mod or two was required: $filex\n"; } $form = "\n". "$file_count\n". "\n". ""; // close directory closedir($dir); print $form; ?> outputs the following: . .. activities.txt

RE: [PHP] Includes

2002-04-05 Thread Rick Emery
Assume the following file is named "this_script.php": This is all in ONE file. \n"; do some other stuff exit; } ?> -Original Message- From: Sebastian A. [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 4:19 AM To: PHP General List (PHP.NET) Subject: [PHP] Includ

RE: [PHP] PHP stops execution without error message

2002-04-05 Thread Rick Emery
If this is a web-page you are generating, I believe browser timeout is 5 minutes. -Original Message- From: Ando [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 6:19 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP stops execution without error message Importance: Low Running php ver

RE: [PHP] eregi_replace

2002-04-04 Thread Rick Emery
it should print: V:\memo\F0001\abcdef.com \F0001\abcdef.com -Original Message- From: Rodolfo Gonzalez [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 2:35 PM To: Rick Emery Cc: 'Fredrik Arild Takle'; [EMAIL PROTECTED] Subject: RE: [PHP] eregi_replace I got this as

RE: [PHP] eregi_replace

2002-04-04 Thread Rick Emery
ECTED]] Sent: Thursday, April 04, 2002 3:18 PM To: Rick Emery Subject: RE: [PHP] eregi_replace > $NoteNm[$i] = eregi_replace ("V:\memo\F0001\", "", "$NoteNm[$i]"); > $NoteNm[$i] = eregi_replace ("\\LOBBY\VismaDok\Memo\", "", &

RE: [PHP] eregi_replace

2002-04-04 Thread Rick Emery
show the whole line of coding again. very few of us keep threads. include previous responses -Original Message- From: Fredrik Arild Takle [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 3:14 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] eregi_replace > Backslashes are magic. >

RE: [PHP] strip_tags() problem

2002-04-04 Thread Rick Emery
you need to open and process yahoo with file statements, not include please read the PHP manual... -Original Message- From: Ryan Govostes [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 2:44 PM To: PHP People Subject: [PHP] strip_tags() problem The following simple code does

RE: [PHP] eregi_replace

2002-04-04 Thread Rick Emery
Because you did NOT \\ all your \'s What error are you getting? -Original Message- From: Fredrik Arild Takle [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 1:11 PM To: [EMAIL PROTECTED] Subject: [PHP] eregi_replace Why won't this work? $NoteNm[$i] = eregi_replace ("V:

RE: [PHP] references a functions

2002-04-04 Thread Rick Emery
What happened when you tried? -Original Message- From: javier [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 1:01 PM To: [EMAIL PROTECTED] Subject: [PHP] references a functions I trying to code a kind of DB wrapper. So when is dbQuery turn I run into trouble. I read in php ma

RE: [PHP] mySQL join query error

2002-04-04 Thread Rick Emery
change to: SELECT * FROM tifrequest LEFT JOIN USING(user) WHERE tifexpire.exp_date >="2002-04-04" It helps if you provide the error message. Also, this would have been found when you entered it directly into the mysql command line prompt. -Original Message- From: ROBERT MCPEAK [mailto:[

RE: [PHP] Classes??

2002-04-04 Thread Rick Emery
yes -Original Message- From: Gerard Samuel [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 10:43 AM To: PHP Subject: [PHP] Classes?? Maybe a simple question. But can one file contain 2 or more classes?? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] New to PHP Need Help

2002-04-04 Thread Rick Emery
change: $Location_Info = mysql_fetch_row($result); to: $row = mysql_fetch_array($result); $Location_Info = $row['fieldname']; replace "fieldname" with the real name of your database field -Original Message- From: Jason Tobias [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 9:2

[PHP] RE: [Zend Engine 2] Unsigned Right(Maybee Left) Shift [Again]

2002-04-04 Thread Rick Emery
Count me as AGAINST, because <<< is heredoc operator -Original Message- From: Jason Greene [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 9:43 AM To: PHP-Dev; Andi Gutmans; Zend Engine 2 Subject: [Zend Engine 2] Unsigned Right(Maybee Left) Shift [Again] So far, after posting

RE: [PHP] Logfile of Mysql Queries?

2002-04-04 Thread Rick Emery
on a unix/linux box, all queries are in /var/log/mysqld -Original Message- From: Moschitz Martin [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 8:55 AM To: [EMAIL PROTECTED] Subject: [PHP] Logfile of Mysql Queries? Is there any possibility of logging all the Insert, Update an

RE: [PHP] Help with e-mail...

2002-04-03 Thread Rick Emery
send an email to yourself: -Original Message- From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 3:26 PM To: PHP General Subject: [PHP] Help with e-mail... I have just install a program called Web Calendar. It suppose to be able to send reminders via e

RE: [PHP] mail() problem...

2002-04-03 Thread Rick Emery
$arrText[$i] still contains the new-line character at the end. Is that harmful here? -Original Message- From: Jack Davis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 3:16 PM To: [EMAIL PROTECTED] Subject: [PHP] mail() problem... I wrote a small piece of code to take a tex

RE: [PHP] Any ideas on combining arrays????

2002-04-03 Thread Rick Emery
ok...so what problem are you having? what's the error? your code worked for me, i.e., it compiled and executed -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 11:15 AM To: [EMAIL PROTECTED] Subject: [PHP] Any ideas on combining arrays???

RE: [PHP] Re: syntax for date math expressions

2002-04-03 Thread Rick Emery
SELECT * FROM table2 LEFT JOIN USING(user) WHERE table1.exp_date >= $somedate; or SELECT * FROM table2 LEFT JOIN USING(user) WHERE table1.exp_date >= now(); -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 12:00 PM To: [EMAIL PROTECTED] Cc:

RE: [PHP] can't get it to work

2002-04-03 Thread Rick Emery
Need one more quote (se below) Of course that's a mysql parse error!! Mysql dates are -MM-DD. Do NOT use slashes $query = "SELECT * FROM table where date >= \"$year_1-$month_1-$day_1/$year_1\" AND date <= \"$year_2-$month_2-$day_2\""; Read the mysql manual concerning dates, formats,

RE: [PHP] can't get it to work

2002-04-03 Thread Rick Emery
Of course that's a mysql parse error!! Mysql dates are -MM-DD. Do NOT use slashes $query = SELECT * FROM table where date >= \"$year_1-$month_1-$day_1/$year_1\" AND date <= \"$year_2-$month_2-$day_2\""; Read the mysql manual concerning dates, formats, functions -Original Message-

RE: [PHP] syntax for date math expressions

2002-04-03 Thread Rick Emery
Convert to date/time variable and perform arithmetic. Otherwise, if these dates are from mysql, let mysql do it -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 11:12 AM To: [EMAIL PROTECTED] Subject: [PHP] syntax for date math expressions

RE: [PHP] What's wrong with the Array? I"m baffled!

2002-04-03 Thread Rick Emery
show the rest of your code When you say this code is "repeated again", what does that mean? repeated in a function, a loop,...? Print out $sumItUp["TU4R"] prior to if(). Is it as you expect? -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03,

RE: [PHP] mail tag

2002-04-03 Thread Rick Emery
stripslashes() failed??? I've used stripslahses in this situation, and it's worked perfectly. Wonder what else is going on here? Go without quotes. Try: mail($usersemail, $subject, $message, $headers); -Original Message- From: hamish [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April

RE: [PHP] Passing Values

2002-04-03 Thread Rick Emery
show us code -Original Message- From: Sebastian A. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 6:02 AM To: PHP General List (PHP.NET) Subject: [PHP] Passing Values Hello, Today I was working on an object that will create all of the columns and tables in my DataBas

RE: [PHP] images not displaying

2002-04-02 Thread Rick Emery
2, 2002 4:56 PM To: 'Rick Emery'; [EMAIL PROTECTED] Subject: RE: [PHP] images not displaying yes. the SRC=/home/website/testingArea/images/ Should I just make it http://website.com/testingArea/images/ instead? __ Carl Schmidt | Developer | L

RE: [PHP] images not displaying

2002-04-02 Thread Rick Emery
examine the generated HTML with View Source in your browser. Does it contain what you expect? -Original Message- From: Carl [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 4:45 PM To: [EMAIL PROTECTED] Subject: [PHP] images not displaying the images folder is in /website/

RE: [PHP] Cookies

2002-04-02 Thread Rick Emery
. To believe otherwise would allow many of us an opportunity for off-list humor at the believer's expense. -Original Message- From: Steffan Harris [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 2:13 PM To: Rick Emery Subject: RE: [PHP] Cookies sorry, I was in a rush when I wro

RE: [PHP] Cookies

2002-04-02 Thread Rick Emery
what is an infinite cookie? do you mean one that lasts after the browser is closed and can be re-examined at a later date? Already there... -Original Message- From: Steffan Harris [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 1:57 PM To: [EMAIL PROTECTED] Subject: [PHP] Cooki

RE: [PHP] Remembering choices

2002-04-02 Thread Rick Emery
no such thing as a global variable accessible from all pages. use cookies or sessions -Original Message- From: Morten Nielsen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 2:02 PM To: [EMAIL PROTECTED] Subject: [PHP] Remembering choices Hi, I have a menu, where I would like

RE: [PHP] Re: Connecting to a DB using PHP and mysql...

2002-04-02 Thread Rick Emery
[mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 02, 2002 2:06 PM > To: Rick Emery > Subject: Rick... > > > Rick, > After typing in: > > mysql> SHOW GRANTS FOR johndoe@localhost; > > I get an ERROR 1064 > > Regards, > TR > ......

RE: [PHP] Re: Connecting to a DB using PHP and mysql...

2002-04-02 Thread Rick Emery
I assume that instead of johndoe, you used the real user name that you have in your script -Original Message- From: Anthony Ritter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 2:06 PM To: Rick Emery Subject: Rick... Rick, After typing in: mysql> SHOW GRANTS FOR john

RE: [PHP] Counting months between two dates

2002-04-02 Thread Rick Emery
if done in mysql: SELECT PERIOD_DIFF(DATE_FORMAT("2002-06-05","%Y%m"),(DATE_FORMAT("2001-08-27","%Y%m ") ); -Original Message- From: John Hughes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 12:33 PM To: [EMAIL PROTECTED] Subject: [PHP] Counting months between two dates I wa

RE: [PHP] Counting months between two dates

2002-04-02 Thread Rick Emery
John, Are you pulling dates from mysql? If so, let mysql do it for you. If you don't know how, ask again. -Original Message- From: John Hughes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 12:33 PM To: [EMAIL PROTECTED] Subject: [PHP] Counting months between two dates I wan

RE: [PHP] Re: Connecting to a DB using PHP and mysql...

2002-04-02 Thread Rick Emery
at the mysql command line, type: mysql> show grants for johndoe@localhost; what does it show? -Original Message- From: Anthony Ritter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 1:08 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Connecting to a DB using PHP and mysql... Crai

RE: [PHP] Connecting to a DB using PHP and mysql...

2002-04-02 Thread Rick Emery
have permissions been granted to contacts in mysql using that combination of username and password? -Original Message- From: Anthony Ritter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 10:36 AM To: [EMAIL PROTECTED] Subject: [PHP] Connecting to a DB using PHP and mysql... Us

RE: [PHP] Warning: Undefined variable

2002-04-02 Thread Rick Emery
I've used undefined variables for over 30 years...which has caused many late-night debugging sessions and much pain. Defining and initializing variables is a good thing. I believe PHP has a flag set to warn of use of un-initialized data. I do prefer strongly-typed languages, such as C++. That

RE: [PHP] set browser timeout

2002-04-02 Thread Rick Emery
what do you mean "timeout"? What is timing out? -Original Message- From: Carl Schmidt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 8:25 AM To: [EMAIL PROTECTED] Subject: [PHP] set browser timeout Is there an HTTP tag in the header that can be sent to tell the browser not to

RE: [PHP] Re: preventing "back" button usage?

2002-04-02 Thread Rick Emery
use cache control in your HTML to prevent BACK button usage This is easily done "Erik Price" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED]... > Sorry to plague this list with questions today, but I was hoping someone > could help me understand a fundamental thing about how bro

RE: [PHP] how did this become an array?

2002-04-02 Thread Rick Emery
> What I don't understand is how did $result_row become $result_row[0] and > $result_row[1]? mysql_fetch_row() returns an array structure > Also what does it mean to select max(thread) as thread, max(mesid) as > mesgid? I have never used this "as" command before. max(x) returns the highest

RE: [PHP] DB Question

2002-04-02 Thread Rick Emery
Normally, you'll create the databases within the native database environment. For instance, for mysql, at the mysql command line. Then, you use PHP/PERL/C/sh/bash/... to access the database with various queries, such as SELECT. You also use the database native environment to update/maintain tab

RE: [PHP] New php functions?

2002-04-02 Thread Rick Emery
FYI: http://www.lindows.com Unlike the http://www.mslinux.org (see below), which is an April Fool's joke, Lindows is an actual product in beta development now. It is a Linux based operating system that runs MS Windows applications. I can't wait to see the impact on PHP development that Lindows

RE: [PHP] date expressions

2002-04-02 Thread Rick Emery
Don't need to convert to timestamp. Mysql will handle dates directly without this unnecessary conversion. -Original Message- From: James E. Hicks III [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 7:31 AM To: ROBERT MCPEAK; [EMAIL PROTECTED] Subject: RE: [PHP] date expressions

RE: [PHP] date expressions

2002-04-02 Thread Rick Emery
Robert, I believe you are extracting this info from a mysql database. let mysql do it for you as I explained in my examples yesterday. If you need more infor from me, just ask/ -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 7:25 AM To: [

RE: [PHP] Variable Appended To The End of a URL Is Not Working in SQL Query

2002-04-02 Thread Rick Emery
Jason means that you should execute it from the mysql command line; In your PHP code: print $sql. Then copy from that window and paste into mysql command line and execute. What are the results? -Original Message- From: Dr. Shim [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 10:4

RE: [PHP] Need some help please

2002-04-02 Thread Rick Emery
$query="INSERT INTO news VALUES($newsid,'$title','$author',$posted,'$body' )"; -Original Message- From: menezesd [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 12:03 AM To: [EMAIL PROTECTED] Subject: [PHP] Need some help please Hello Friends. I know I am asking for too much.

RE: [PHP] BUG in recursion

2002-04-02 Thread Rick Emery
No, this is NOT a bug. You recurse 10 times down into the function. Therefore, as you come back up and exit the previous call to test(), you complete Test's processing, which is to print j The recursion process is as expected and correct == At 09:59 AM 31/03/2002, Ur

RE: [PHP] class instance name

2002-04-01 Thread Rick Emery
What is the class instance name? Are you referring to the name of the variable that holds the instance? -Original Message- From: Nate [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 5:25 PM To: [EMAIL PROTECTED] Subject: [PHP] class instance name How do you determine the class

RE: [PHP] New php functions?

2002-04-01 Thread Rick Emery
> Extended info at http://www.mslinux.org ROFLMAO -Original Message- From: margehair.terra.es [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 5:17 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] New php functions? I love that manual! And what about the one in win help format? Not

RE: [PHP] New php functions?

2002-04-01 Thread Rick Emery
I've got the PHP manual as a series of hyper-linked HTML pages. Searchig is is very fast. And, I don't need to wait for download of single page. I've got the index.html page in my Favoties list, so the PHP manual ia always available; I don't have to try to remember where the downloaded doc is.

RE: [PHP] date comparison expressions

2002-04-01 Thread Rick Emery
Are you retrieving the stored date from a mySQL database? If so, you can let mysql SELECT only those records that fit the tardy date criteria. -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 2:22 PM To: [EMAIL PROTECTED] Subject: [PHP] date

RE: [PHP] parse error, mysql select

2002-04-01 Thread Rick Emery
He's not including the ; in the SELECT statement. The ; you're seeing is at end of the PHP statement -Original Message- From: Matt Friedman [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 2:02 PM To: 'ROBERT MCPEAK'; [EMAIL PROTECTED] Subject: RE: [PHP] parse error, mysql select

RE: [PHP] parse error, mysql select

2002-04-01 Thread Rick Emery
$query = "SELECT DATE_FORMAT( exp_date, \"%W, %M %d, %Y\") AS thedate from tifrequest where user='$user' limit 1,1"; Missing escape \ in front of quotes -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 1:55 PM To: [EMAIL PROTECTED] Subject: [

RE: [PHP] Can anyone help?

2002-04-01 Thread Rick Emery
> $query="INSERT INTO news (newsid,title, author, body, posted) > //VALUES($newsid,'$title','$author', '$body', $posted)";) What's with the // in front of VALUES? Change to: $query="INSERT INTO news (newsid,title, author, body, posted) ". "VALUES($newsid,'$title','$author', '$body', $

RE: [PHP] Connecting to multiple DB's

2002-04-01 Thread Rick Emery
Both connects are "active". you specify which link when you select the database: mysql_select_db("database_name", $db1); mysql_select_db("database_name", $db2); -Original Message- From: James Taylor [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 12:48 PM To: PHP List Subject: [

RE: [PHP] Parsing error

2002-04-01 Thread Rick Emery
which line is 45 -Original Message- From: news.php.net [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 10:45 AM To: [EMAIL PROTECTED] Subject: [PHP] Parsing error Hi, I'm real new in php and trying to read a txt file this is my code : and when i run it i get : Parse error:

RE: [PHP] Please help with code

2002-04-01 Thread Rick Emery
You CANNOT execute the PHP script until the form is submitted. You are attempting to do both at the same time. Second, ALL your text fields muse be surrounded by quotes in your INSERT statement. Third, use NULL, not UNIX_TIMESTAMP() to insert a timestamp field. In the following, assume the name

RE: [PHP] Problems reading a URL

2002-04-01 Thread Rick Emery
It's been moved: http://sourceforge.net/projects/snoopy/ -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 8:08 AM To: 'Stephen Phillips'; [EMAIL PROTECTED] Subject: RE: [PHP] Problems reading a URL You wan

RE: [PHP] Problems reading a URL

2002-04-01 Thread Rick Emery
You want Snoopy: http://snoopy.sourceforge.com -Original Message- From: Stephen Phillips [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 7:22 AM To: [EMAIL PROTECTED] Subject: [PHP] Problems reading a URL Hi, I'm working on a script to read in the results from a search eng

RE: [PHP] Can you find the parse error?

2002-03-29 Thread Rick Emery
I ran it through my PHP. Worked fine. You may wish to close each line with a ". -Original Message- From: Eric Kilgore [mailto:[EMAIL PROTECTED]] Sent: Friday, March 29, 2002 3:46 PM To: php-general (E-mail) Subject: [PHP] Can you find the parse error? What's wrong with this code that

RE: [PHP] Re: function calls...Incorrect output...What am I doing wrong?

2002-03-29 Thread Rick Emery
I mean: $this->mFileArray: -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Friday, March 29, 2002 1:13 PM To: 'Eric Starr'; [EMAIL PROTECTED] Subject: RE: [PHP] Re: function calls...Incorrect output...What am I doing wrong? Your problem is that

RE: [PHP] Re: function calls...Incorrect output...What am I doing wrong?

2002-03-29 Thread Rick Emery
Your problem is that you reference $mFileArray. You should reference $this_.mFileArray: for ($i=0; $i < count( $mFileArray ); $i++) // iterates through the array Therefore, count($mFileArray) is 0, so the loop ends without an explicit exit -Original Message- From: Eric Starr [mailto

RE: [PHP] Question about database-driven web sites.

2002-03-29 Thread Rick Emery
> What will a database-driven web site do for? If you have to ask, you have no need > How does it relieve stress on me? It doesn't. Quite the opposite > What is it good for? If you have to ask, you have no need > Why should I learn it? If you have to ask, you have no need -Original Messa

RE: [PHP] creating MySQL Users

2002-03-29 Thread Rick Emery
> $query .= "ON $username"; The ON clause should identify the database name, not the user. It should appear as "*.*. -Original Message- From: Liam [mailto:[EMAIL PROTECTED]] Sent: Friday, March 29, 2002 4:27 PM To: [EMAIL PROTECTED] Subject: [PHP] creating MySQL Users 29/03/2002

RE: [PHP] require or include ?

2002-03-28 Thread Rick Emery
require() is used when you want the file included regardless of whether any information is used from it. include() may be conditional. -Original Message- From: javier [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 4:44 PM To: [EMAIL PROTECTED] Subject: [PHP] require or include

RE: [PHP] Getting user name in text area

2002-03-28 Thread Rick Emery
Username: \n"; print ""; ?> -Original Message- From: Jennifer Downey [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 4:48 PM To: [EMAIL PROTECTED] Subject: [PHP] Getting user name in text area Hi all, Here is what I have and what I am trying to do. I would like the us

RE: [PHP] Getting just the filename

2002-03-28 Thread Rick Emery
string basename (string path [, string suffix]) i recommend you read the manual before posting -Original Message- From: Sharat Hegde [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 1:49 PM To: [EMAIL PROTECTED] Subject: [PHP] Getting just the filename Hello, Is there a simpl

RE: [PHP] Emulating POST ?

2002-03-28 Thread Rick Emery
http://sourceforge.net/projects/snoopy/ -Original Message- From: Devin Atencio [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 1:14 PM To: [EMAIL PROTECTED] Subject: [PHP] Emulating POST ? I need to somehow write a PHP Script that will POST XML type stuff to UPS like this:

RE: [PHP] classes- getting their slowly but surely I think

2002-03-28 Thread Rick Emery
this appears to be a coding issue. show your code...we can't read your mind... -Original Message- From: Caspar Kennerdale [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 6:45 PM To: PHP Subject: [PHP] classes- getting their slowly but surely I think just a quick query, hopefu

RE: [PHP] SQL Question

2002-03-28 Thread Rick Emery
What do you mean ORDER BY 'S' ?? yes, it can be a column or combination of columns and data. What are you trying to DO? -Original Message- From: Sebastian A. [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 10:30 AM To: PHP General List (PHP.NET) Subject: RE: [PHP] SQL Question

RE: [PHP] SQL Question

2002-03-28 Thread Rick Emery
> How do I sort out data from mysql_fetch_row() or mysql_fetch_array? For > example say I wanted to list all my users alphabetically. How would I do > this? You would sort in your SQL statement, not PHP. SELECT * FROM my table ORDER BY field_name; > Or say I had a form and I wanted to present t

RE: [PHP] Reopen of File in PHP

2002-03-28 Thread Rick Emery
What do you mean you "donĀ“t have the filepointer anymore"? File pointer to what? The image file? Is the image file dynamically created using PHP? I must be dense...I don't understand. -Original Message- From: Moschitz Martin [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 8

<    1   2   3   4   5   6   >