[PHP-DB] mssql_get_last_message ( )

2001-12-06 Thread J-San
Hi. Does mssql_get_last_message ( ) work or not? I'm getting Fatal error: Call to undefined function: mssql_get_last_message() every time. ps. php 4.0.4pl1 and i can work with DB (checked). -- J-San mailto:[EMAIL PROTECTED] -- PHP Database Mailing List (http://www.

Re: [PHP-DB] Replace like

2001-12-06 Thread Andrey Hristov
you can use REGEXP instead of like. Regards, Andrey Hristov - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 07, 2001 5:40 AM Subject: [PHP-DB] Replace like > Can anyone tell me how would i replace the following query with a "=" > > SELECT

Re: [PHP-DB] Help required PHP + MySQL

2001-12-06 Thread Andrey Hristov
1)find php_mysql.so 2)edit php.ini uncomment extension=php_mysql.so 3)restart apache (/usr/local/apache/bin/apachectl stop /usr/local/apache/bin/apachectl start) HTH Regards, Andrey Hristov - Original Message - From: "Karthikeyan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Fr

[PHP-DB] Help required PHP + MySQL

2001-12-06 Thread Karthikeyan
Dear members, I installed PHP in Apache web server in Linux RedHat 7.1 using binary RPM files. In my PHP info page it is showing that PHP is not with MySQL. Now I want to configure MySQL in PHP without configuring and compiling source file. Is it possible. If any more info required means I rea

Re: [PHP-DB] Replace like

2001-12-06 Thread Paul DuBois
On Fri, Dec 07, 2001 at 09:30:47AM +0550, [EMAIL PROTECTED] wrote: > Can anyone tell me how would i replace the following query with a "=" > > SELECT * from table_name WHERE name LIKE "%name%"; > > I want to have the same functionality like "LIKE" but having no LIKE word in > it. > Basically i w

[PHP-DB] Replace like

2001-12-06 Thread sharmad
Can anyone tell me how would i replace the following query with a "=" SELECT * from table_name WHERE name LIKE "%name%"; I want to have the same functionality like "LIKE" but having no LIKE word in it. Basically i want it for a search engine and i heard that using LIKE decreases the speed like n

[PHP-DB] mssql_get_last_message

2001-12-06 Thread gecka
Hello. Why mssql_get_last_message(); makes Fatal error: Call to undefined function: mssql_get_last_message() ? -- Best regards, gecka mailto:[EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

[PHP-DB] Frames

2001-12-06 Thread Matthew Tedder
Two questions: (1) Can I pull PHP code from a database field and execute it? (2) How can I make an HTML frame size itself to be no bigger or small than its content? Manually entering rows=30% or something comes out differently on different browsers and differently with slightly dif

Re: [PHP-DB] finding a link in large text blob

2001-12-06 Thread Shooter
oops typo..it should be: $message = preg_replace("/((http(s?):\/\/)|(www\.))([\S\.]+)/i", '\2\4\5', $message); sowwi., it looks like the person who put it in didnt work properally 4 every1. Shooter - Original Message - From: "Terry Romine" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> S

Re: [PHP-DB] finding a link in large text blob

2001-12-06 Thread Shooter
mmm... as sooo hard to find this... i looked on PHP.net! shock horror. & tah do :) its done :) [EMAIL PROTECTED] 28-Jun-2001 04:30 I use this function to make hyperlinks from user submitted URL's (useful for notice boards, etc.): $message = preg_replace("/((http(s?):\/\/)|(www\.))([\w\.]+)/i"

[PHP-DB] finding a link in large text blob

2001-12-06 Thread Terry Romine
Is everyone ignoring me?? This is the third time I have asked for assistance on this... Is there an easy way (say using eregi_replace) to find a link reference in a blob of text and add the anchor around it? Something like: "text has a link to a website at http://www.whatever.com/myd

[PHP-DB] working with views

2001-12-06 Thread Harpreet
The following worked in MSSQL as it could handle views. Now i want to run it in PHP with a mysql server. I was wondering if there is another alternative for the below then to use temporary tables. select * from dev_device_view b inner join cch_playlist_view a on b.source_name =a.video_source

[PHP-DB] ¡îѰÕÒJSPÐéÄâÖ÷»ú£¿¿´¿´ÎÒÃÇΪÄúÌṩʲôÑùµÄ·þÎñ°É

2001-12-06 Thread Today's Network
ѰÕÒJSPÐéÄâÖ÷»ú£¿¿´¿´ÎÒÃÇΪÄúÌṩʲôÑùµÄ·þÎñ°É ¡î ÂÊÏÈÖ§³ÖJSP ¼°×îбê×¼JDBC Êý¾Ý¿â£¬ÍêÈ«½â×¼ÖÐÎļ°Êý¾Ý¿âÖÐÎÄÎÊÌâ ¡î ¶àÖÖ¶¯Ì¬½Å±¾°üÀ¨ ASP£¬PHP,CGI £¬PERL5.6 ,JSP,Servlet , »¹ÓпìËÙCGI £¬¿ìËÙPERL£¨fcgi)Ö§³Ö£¬ PHPÒ²´ø×îмÓËÙÒýÖ¿£¡ (Ïê¼û:http://www.now.net.cn/host/) ¡î ¶àÖÖÊý¾Ý¿âÖ§³Ö£¬°üÀ¨ S

[PHP-DB] PHP Form and String Limitations

2001-12-06 Thread Jeremy Reed
I've set up a news database with a PHP front-end and am using MS SQL Server. The news table is set up correctly with the pertinent field being of type 'text' which, according to documentation, should support well over 10 megs of text data. This is the problem: The user tries to submit a news arti

[PHP-DB] Q regarding recursive function

2001-12-06 Thread Bart Verbeek
Hello, I'm using the following function: >>BEGIN CODE<< $q_cat ="SELECT cat_id, cat_naam, cat_parent_id FROM cat"; $r_cat = mysql_query($q_cat) or die ("Invalid Query fout Q=cat"); if ($r_cat) $n=0; if (mysql_num_rows($r_cat) > 0) while ($row_cat = mysql_fetch_array($r_cat))

Re: [PHP-DB] 5928 Would you like to lose weight while you sleep? 537417

2001-12-06 Thread koelwebdesign
[EMAIL PROTECTED] just tell this a$$hole to stop it. and that we are all super deluxe web-experts and that his site is dead for the next 15 years if he continues to send us his shit. or is that maybe a bit too aggresive? Leo Kuiper "Building a map in order to find what's not lost but left behi

[PHP-DB] PHP OCI <-> Remote Oracle 8 Database

2001-12-06 Thread Mikal McGary
I have a Solaris server that has PHP 4.02, Apache1.3.12 and a Oracle 8.0.5 RDBMS implementation. I can use the OCI8 functionality to query local database instances successfully, returning data, but when I try to use OCI8 against a remote database, it seems to return successfully with blank record

RE: [PHP-DB] 5928 Would you like to lose weight while you sleep? 537417

2001-12-06 Thread Disser, Arno
any chance to bounce this guy from the list? Arno -- PHP Database 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: [EMAIL PROTECTED]

[PHP-DB] 5928 Would you like to lose weight while you sleep? 537417

2001-12-06 Thread 753741ultimate
As seen on NBC, CBS, CNN, and even Oprah! The health discovery that actually reverses aging while burning fat, without dieting or exercise! This proven discovery has even been reported on by the New England Journal of Medicine. Forget aging and dieting forever! And it's Guaranteed! Click

Re: [PHP-DB] MySQL table recovery.

2001-12-06 Thread Bruno Gimenes Pereti
Hi Jon, Thank you. I don't even know how to work with transaction in mysql. No problem, just more work. It is a table that store all comments done in "my" site. It's also sent to my e-mail. Thank's again. Bruno. - Original Message - From: "Jon Farmer" <[EMAIL PROTECTED]> To: "Bruno Gim

RE: [PHP-DB] ociNewCollection and package

2001-12-06 Thread Sumesh Nair
Hi Olaf, Thanks for your reply. I didn't exactly understand what u mentioned in your email. Do u mean that ociNewCollection is still not working? So how did u solve your problem of sending arrays from php to oracle? I had look a at the links u sent me but there is no documention on sending array

Re: [PHP-DB] MySQL table recovery.

2001-12-06 Thread Jon Farmer
> Is there a way to "rollback" a 'delete from table;' command in MySQL > 3.23.36-1? Yes I did it... I pressed instead of . > Did I lost my table content? I have no backup of this especific database. > > PS: I didn't close the connection with the database yet. > > Thank for any help, even if it'

[PHP-DB] MySQL table recovery.

2001-12-06 Thread Bruno Gimenes Pereti
Hello, Is there a way to "rollback" a 'delete from table;' command in MySQL 3.23.36-1? Yes I did it... I pressed instead of . Did I lost my table content? I have no backup of this especific database. PS: I didn't close the connection with the database yet. Thank for any help, even if it's "for

Re: [PHP-DB] Re: Problems w/ OCI

2001-12-06 Thread B. PERRINE
le jeu 06-12-2001 à 06:14, John Kolvereid a écrit : > It's me again, > I got it. 1st, disregard the Mysql concerns. It was only slow because > it wouldn't display until Oracle finished in the same script. 2nd, the > reason that OCI did not work during the boot up was because APACHECTL which