Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Rasmus Lerdorf
There are many ways to do it. I prefer one of these two: ?php echo EOB table align=center width=$width EOB; ? or. table align=center width=?php echo $width? -Rasmus Micah Stevens wrote: I apologize, I was being rude. More specifically, I don't see why you say all html tags should be

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Micah Stevens
Rasmus, there's a shortcut for this: ?php echo $width? ?=$width? Saves me a lot of time, although it can be confusing for those unfamiliar with it. -Micah On Sunday 25 September 2005 11:01 pm, Rasmus Lerdorf wrote: There are many ways to do it. I prefer one of these two: ?php echo

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Esteamedpw
In a message dated 9/26/2005 1:34:20 A.M. Central Standard Time, [EMAIL PROTECTED] writes: Rasmus, there's a shortcut for this: ?php echo $width? ?=$width? Saves me a lot of time, although it can be confusing for those unfamiliar with it. -Micah I'm not sure if Rasmus would be

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Mark Jordan
boo ... short tags though i admit it's gotta be easier to type. Why I don't like short tags : I use XML a lot. Mark On 26/09/05, Micah Stevens [EMAIL PROTECTED] wrote: Rasmus, there's a shortcut for this: ?php echo $width? ?=$width? Saves me a lot of time, although it can be confusing

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Rasmus Lerdorf
Micah Stevens wrote: Rasmus, there's a shortcut for this: ?php echo $width? ?=$width? Saves me a lot of time, although it can be confusing for those unfamiliar with it. Yes, I am quite familiar with it ;) But I don't like it. It's an ugly ASP'ism. -Rasmus -- PHP Database

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread mario
On Sun, 2005-09-25 at 13:35, Daryl Booth wrote: $nachricht=The licence doesn't exist please contact us! ; close string! echo open string! table width= now, you need to escape , otherwise you close the string. I am used to do that in the following way, although I don't think it is the

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread mario
hi, silly question: what is EOB? google returns: Your search - EOB site:www.php.net - did not match any documents. I see your (short) side note on EOB on http://www.oracle.com/technology/pub/articles/php_experts/rasmus_php.html EOB is not an entry in your 'programming PHP' (very nice) book

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Bastien Koert
Hey Micah, Nothing like telling the guy WHO WROTE THE LANGUAGE about its shortcuts...lol Bastien From: Rasmus Lerdorf [EMAIL PROTECTED] To: Micah Stevens [EMAIL PROTECTED] CC: php-db@lists.php.net Subject: Re: [PHP-DB] HTML Tables in PHP... Date: Sun, 25 Sep 2005 23:56:30 -0700 Micah

Re: Re[2]: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread mario
Hello, silly it was, indeed. I see now on THE book, chp.4, paragraph Here Documents. Thanks a lot mario -- On Mon, 2005-09-26 at 10:20, Amol Hatwar wrote: Hello mario, Monday, September 26, 2005, 4:26:20 PM, you wrote: hi, silly question: what is EOB? google returns:

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Rasmus Lerdorf
mario wrote: hi, silly question: what is EOB? google returns: Your search - EOB site:www.php.net - did not match any documents. I see your (short) side note on EOB on http://www.oracle.com/technology/pub/articles/php_experts/rasmus_php.html EOB is not an entry in your 'programming

[PHP-DB] Upload images with minimun effort from final user

2005-09-26 Thread David Arroyo
Hi @ll, I have to make an interface for a newspaper site, where users can upload news including images. I want to store the image's name in a field of my NEWS table, in order to catch it with an img tag later, but I don't want people has to upload the image, remember its name, and put it as

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Micah Stevens
It's ugly, but if I was looking for form versus ease of use, I'd wouldn't be using PHP. :) -Micah On Sunday 25 September 2005 11:56 pm, Rasmus Lerdorf wrote: Micah Stevens wrote: Rasmus, there's a shortcut for this: ?php echo $width? ?=$width? Saves me a lot of time, although

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Micah Stevens
Haha.. shows how much I know. *bowing* Hey, Rasmus, thanks for the PHP! -Micah On Monday 26 September 2005 4:29 am, Bastien Koert wrote: Hey Micah, Nothing like telling the guy WHO WROTE THE LANGUAGE about its shortcuts...lol Bastien From: Rasmus Lerdorf [EMAIL PROTECTED] To:

[PHP-DB] URL Forwarding in PHP...

2005-09-26 Thread Daryl Booth
How can I automatically forward to an external URL using PHP? Or is that at all possible?

Re: [PHP-DB] URL Forwarding in PHP...

2005-09-26 Thread Joseph Crawford
header(Location: http://www.php.net/;); note that this cannot be set once any output has been sent to the browser. atleast not without using output buffering. -- Joseph Crawford Jr. Zend Certified Engineer Codebowl Solutions, Inc. 1-802-671-2021 [EMAIL PROTECTED]

Re: [PHP-DB] URL Forwarding in PHP...

2005-09-26 Thread Larry E. Ullman
How can I automatically forward to an external URL using PHP? header('Location: http://espn.go.com'); exit; Larry -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] URL Forwarding in PHP...

2005-09-26 Thread Micah Stevens
One way: heading(Location: http://www.somesite.com;); Has to be before any HTML output. -Micah On Monday 26 September 2005 12:57 pm, Daryl Booth wrote: How can I automatically forward to an external URL using PHP? Or is that at all possible? -- PHP Database Mailing List

RE: [PHP-DB] URL Forwarding in PHP...

2005-09-26 Thread Daryl Booth
I'm new to PHP and so I don't understand what you mean by note that this cannot be set once any output has been sent to the browser. At least not without using output buffering. What do you mean by output buffering? I want the site to display a table then forward to another site atomatically.

Re: [PHP-DB] URL Forwarding in PHP...

2005-09-26 Thread Micah Stevens
Okay, then you should use an HTML meta tag to forward.. uhh.. (looking it up since I haven't done this in a while) Here, try this: http://www.billstclair.com/html-redirect.html -Micah On Monday 26 September 2005 1:10 pm, Daryl Booth wrote: I'm new to PHP and so I don't understand what you

RE: [PHP-DB] URL Forwarding in PHP...

2005-09-26 Thread Daryl Booth
But I want to redirect to different places when the condition (if) is different. The condition works but the conditional redirect doesn't. I tried fopen() but that just sends the output to the variable as text. -Original Message- From: Micah Stevens [mailto:[EMAIL PROTECTED] Sent:

Re: [PHP-DB] URL Forwarding in PHP...

2005-09-26 Thread Micah Stevens
Sure it does: ?php if (condition) { echo META HTTP-EQUIV=\Refresh\ CONTENT=\5; URL=html-redirect1.html\; } else { echo META HTTP-EQUIV=\Refresh\ CONTENT=\5; URL=html-redirect2.html\; } ? On Monday 26 September 2005 1:27 pm, Daryl Booth wrote: But I want to

RE: [PHP-DB] Upload images with minimun effort from final user

2005-09-26 Thread Bastien Koert
Its pretty simple, the section in the manual has lots of detail on handling file uploads. The file's name is accessible thru $name = $_FILES['formFieldName']['name']; In this case, I would also suggest that you create the name of the image to store it on the file system..otherwise you may end

Re: [PHP-DB] PHP CLI OCILOGON - undefined function

2005-09-26 Thread Christopher Jones
Use the phpinfo() function to check that the same php is being used in Apache and on the command line. Make sure LD_LIBRARY_PATH contains $ORACLE_HOME/lib Relink with --with-oci8 Another suggestion is upgrade PHP to 4.4 and manually get the new refactored oci8 drivers. After you upgrade to