[PHP] Test if picture exists then load.

2002-01-10 Thread Dean Householder
I'm not sure what function I need to use, but I want to test if a picture exists in a directory and if it does to display it but if not display another graphic that says 'No Graphic Available'. Would that be fopen()? or something else? I'm still new to PHP so any feedback would be very

[PHP] Piping data into a select box

2002-01-12 Thread Dean Householder
Does anyone know how to give a select pulldown box a default value from a PHP variable? I've been able to figure out how to pipe data into every type in input type of form element except for a select element. Any solutions would be helpful! Dean

Re: [PHP] Piping data into a select box

2002-01-13 Thread Dean Householder
Thank's for the help! Dean - Original Message - From: Jimmy [EMAIL PROTECTED] To: Dean Householder [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, January 13, 2002 12:33 AM Subject: Re: [PHP] Piping data into a select box Hi Dean, Does anyone know how to give a select

[PHP] PHP array or SQL problem

2002-01-14 Thread Dean Householder
I've got a database with lname (lastname), fname (firstname), and nickname. What I want to do is search by either first name or last name. Either way, I display the nickname instead of the firstname if it exists. I have no problems on the last name, but when I sort by firstname, the people

Re: [PHP] PHP array or SQL problem

2002-01-15 Thread Dean Householder
Thanks so much!! You guys rock! Dean - Original Message - From: Dean Householder [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 15, 2002 12:34 AM Subject: [PHP] PHP array or SQL problem I've got a database with lname (lastname), fname (firstname), and nickname. What

[PHP] Passing objects

2002-01-25 Thread Dean Householder
How can you pass an object from one page to another? Is there any convenient way to do it with PHP? Dean

Re: [PHP] Passing objects

2002-01-25 Thread Dean Householder
I'm pretty new to PHP. If anyone can elaborate a little on this I would appreciate it greatly. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

[PHP] Is there an MSSQL limit function?

2002-02-16 Thread Dean Householder
I want to run a query like: select * from table order by rand() limit 3 in MySQL it would work but I need to run it in MSSQL. I've been searching for a limit function in MSSQL and I can't find a way to do it. I'm experienced with MySQL but know nothing about MSSQL. If someone could point

Re: [PHP] Is there an MSSQL limit function?

2002-02-16 Thread Dean Householder
: Saturday, February 16, 2002 2:28 AM Subject: Re: [PHP] Is there an MSSQL limit function? On Saturday 16 February 2002 17:14, Dean Householder wrote: I want to run a query like: select * from table order by rand() limit 3 in MySQL it would work but I need to run it in MSSQL. I've been

Re: [PHP] Is there an MSSQL limit function?

2002-02-16 Thread Dean Householder
to do this? Dean - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 16, 2002 2:54 AM Subject: Re: [PHP] Is there an MSSQL limit function? On Saturday 16 February 2002 17:48, Dean Householder wrote: Is anyone familiar with how exactly

[PHP] Dumb question on terminology

2002-02-26 Thread Dean Householder
Some arrays use the format: $row-data while some use: $row['data'] What is the terminology of these types so I sound like I know what I'm talking about. Also, when and how do each come about? Dean

Re: [PHP] Simple chat

2002-02-28 Thread Dean Householder
when there are noone is inside it. This requires no installing programs on your computer, or setting up an account somewhere. Dean Householder - Original Message - From: Danilo Dias [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 28, 2002 11:08 AM Subject: [PHP] Simple chat

[PHP] Break up query into pages using PHP from MsSQL

2002-03-27 Thread Dean Householder
I'm trying to split results into different pages and number the pages accordingly. I'm using PHP and accessing a MsSQL database. I've been able to build a fairly intelligent page numbering system which knows which rows it should pull (at least by numbering each row numerically) but I don't know

Re: [PHP] A powerful editor!

2001-10-02 Thread Dean Householder
I used to use TextPad until I found EditPlus. I'm also amazed by it's power. It has more than I could even use including everything TextPad has and nicer colors for the different styles. You can find it at http://www.editplus.com. Dean Householder Daylight Creations http

Re: [PHP] [newbie] passing variables

2001-11-19 Thread Dean Householder
- Original Message - From: pjc [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, November 19, 2001 5:59 PM Subject: [PHP] [newbie] passing variables I just started playing with PHP and MySQL and am building an online phonebook for myself. From my

Re: [PHP] [newbie] passing variables

2001-11-19 Thread Dean Householder
and a submit button called delete, or to use php and send the variables like this: echo 'a href=delete_entry_confirm.php?first=' . $yourfirstname . 'last=' . $yourlastname . 'DELETE/a'; Good luck. Dean Householder http://www.daylightcreations.com pjc [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED

[PHP] Seg fault in PHP 5.0.5

2005-11-12 Thread Dean Householder
both str_replace() as well as preg_replace(). I've tried replacing the characters by pasting them directly, using chr(176) chr(194), and even \xC2 and \xB0. I get the Segmentation fault both through Apache as well as CLI (command line interface) consistently. Any ideas? Thanks, Dean