[PHP-DB] Multi queries with ODBTP

2004-04-12 Thread Juan Torres
Hi, I have a problem with ODBTP extension. If I have two (or more) odbtp_query, the first odbtp_query is lost by second odbtp_query. When I put: $l_rst = odbtp_query($l_str_sql, $l_cnn); print (odbtp_query_id($l_rst)); Always print value '0'. Can anybody help me? I want have two (or more)

[PHP-DB] RE:OFFER

2004-04-12 Thread BAPET OILS LIMITED
DEAR SIR/MADAM we are interested to go into any kind of business with you,find below is our proposal for your perusal please we expect that you also forward yours to us immediately. Message : ATTENTION: CRUDE OIL FOR SALE. PLEASE IF YOU ARE INTRESTED OR HAS SOME ONE WHO IS READY TO BUY

[PHP-DB] get rid of the HTML tags

2004-04-12 Thread Bruno Braga
Hi all. I have this string: $my_string = bhello world/ba href='teste.php'this is a test for a link with a image img src='test.jpg'/a Is there any function that retrieves only the string without the html tags?! -- Hello world this is a test link with a image Thx for ya help

Re: [PHP-DB] get rid of the HTML tags

2004-04-12 Thread Bruno Ferreira
Bruno Braga wrote: Is there any function that retrieves only the string without the html tags?! -- Hello world this is a test link with a image strip_tags() --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP-DB] get rid of the HTML tags

2004-04-12 Thread Daniel Clark
Try strip_tags() http://www.phpbuilder.com/manual/function.strip-tags.php I have this string: $my_string = bhello world/ba href='teste.php'this is a test for a link with a image img src='test.jpg'/a Is there any function that retrieves only the string without the html tags?! -- PHP

[PHP-DB] [PMX:55%] Re: [PHP-DB] get rid of the HTML tags

2004-04-12 Thread Mignon Hunter
Why are my posts not getting through? I got 3 Delivery Report Failures on Thursday all due to Diagnostic was Unable to transfer, Message timed out Information Message timed out Daniel Clark [EMAIL PROTECTED] 04/12/04 11:54AM Try strip_tags()

RE: [PHP-DB] [PMX:55%] Re: [PHP-DB] get rid of the HTML tags

2004-04-12 Thread Mignon Hunter
Yes - they are from [EMAIL PROTECTED] Hutchins, Richard [EMAIL PROTECTED] 04/12/04 12:09PM Mignon, Are you getting the delivery report failures from [EMAIL PROTECTED] I get those almost every day and I'm never really sure if my posts get through either (although I think they do). If you're

Re: [PHP-DB] [PMX:55%] Re: [PHP-DB] get rid of the HTML tags

2004-04-12 Thread Daniel Clark
I've been getting the same errors, sometimes days latter. Why are my posts not getting through? I got 3 Delivery Report Failures on Thursday all due to Diagnostic was Unable to transfer, Message timed out Information Message timed out -- PHP Database Mailing List (http://www.php.net/) To

[PHP-DB] getting one line of info at a time

2004-04-12 Thread Hull, Douglas D
1. I have a regular html textarea field for a person to enter in words with a carriage return after each word. In PHP how would I go about getting one line (or word) at a time? Then I will be needing to get character by character. 2. I will then be searching my database to get matching values

RE: [PHP-DB] getting one line of info at a time

2004-04-12 Thread Galbreath, Mark A
Find out what the hex is for a carriage return and use strtok() to get an array of words, then use strlen to get the number of chars in each array element, and use array_pop() or array_shift(), iterating over the strlen, or test for NULL for each element in the array.. Mark -Original

RE: [PHP-DB] getting one line of info at a time

2004-04-12 Thread Galbreath, Mark A
Ooops, got lost in the thought $text_area = $_POST[ textarea ]; $str = strtok( $text_area, \o ); while( !( $str === FALSE )) { $text_array[] = $str; } for( $i = 0; $i count( $text_array ); $i++ ) { for( $j = 0; $j stlen( $text_array[ $i ]) { $char =

Re: [PHP-DB] getting one line of info at a time

2004-04-12 Thread David T-G
Doug -- ...and then Hull, Douglas D said... % % 1. I have a regular html textarea field for a person to enter in words with a carriage return after each word. In PHP how would I go about getting one line (or word) at a time? Then I will be needing to get character by character. You'll get