RE: [PHP-DB] array_diff usage

2001-04-02 Thread Martin
rint "c" . $Closed[0] . "br"; } Which produces: 1 2 3 4 5 c1 c2 So the arrays are correctly set up (I think). Martin S. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

[PHP-DB] PEAR DB

2001-11-02 Thread Martin
Pardon an exceedingly dumb question. Where do I find documentation on HOW to use the PEAR DB class? What functions to call and what they do? Martin S -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP-DB] Nothing returned

2001-11-03 Thread Martin
Why am I not getting anything returned from this function? I have code doing a if user exists and b if user doesn't exist. I'm not getting any numRows result apparently. The query is OK and returns 1 user for $name=admin. I'm not getting any errors from isError. Martin function exists($name

RE: [PHP-DB] Nothing returned

2001-11-03 Thread Martin
Peter Lovatt wrote: $sql = SELECT * FROM users WHERE (name='$name') if you are not getting an error, it is usually worth echoing the query SQL echo $sql ; and perhaps trying it manually. Is it possible the quotes around the $name are giving SELECT * FROM users WHERE

[PHP-DB] Re: Nothing returned

2001-11-04 Thread Martin
Martin wrote: Why am I not getting anything returned from this function? I have code doing a if user exists and b if user doesn't exist. I'm not getting any numRows result apparently. The query is OK and returns 1 user for $name=admin. I'm not getting any errors from isError. Martin

Re: [PHP-DB] HELP, MSSQL STORED PROCEDURES

2003-06-14 Thread Martin
You are entirely wrong about ODBC. Linux has several implementations available. On Sat, 14 Jun 2003 14:30:42 +0300 nabil [EMAIL PROTECTED] wrote: PLEASE HELP ME PHP PEOPLE, I have a stored procedure on a remote Microsoft (stupid) SQL server.. and I have to connect to it remotely and I have

[PHP-DB] IB/FB and array field

2003-07-02 Thread Martin
Hi, I need to insert integer values into array field in FireBird/InterBase's table with PHP, but don't know how to do it. Does anyone has a working example please? -- Martin (mailto:[EMAIL PROTECTED]) -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP-DB] Database connection

2003-07-16 Thread Martin
I'm trying to use PHP 4.2.3 in a database application. ?php print Connected?; $dbcnx = mysql_connect(localhost,root,asda); if (!$dbcnx) { echo(pUnable to connect to database server./p); exit(); }else { print Connected!; } ? Gives Connected? Fatal error: Call to undefined function:

[PHP-DB] Front Base on PHP

2007-11-12 Thread Martin
I've been trying to build PHP with the Front Base interface on a 64 bit system. Can this be done or am I going to have to go back to a 32 bit install? -- http://blameitonlove.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Interbase

2001-03-08 Thread Martin Meca
\Interbase\Examples\Databse\employee.gdb', $username, $password); and I am using Apache under Windows NT 4. Does anybody see a mistake? Thank you for your help Martin -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

[PHP-DB] Error prevention

2001-03-13 Thread Martin Skjöldebrand
I'm baffled (again ) In my mql database I'm doing: SELECT cl_login FROM client WHERE cl_login = "xxx"; and if "xxx" exists I get the result xxx while if it doesn't exist I get an empty string. In PHP I'm doing $querytest = "SELECT cl_login FROM client WHERE cl_login = '$txtLogin';";

RE: [PHP-DB] Error prevention

2001-03-13 Thread Martin Skjöldebrand
Michael Rudel wrote: Hi Martin, ... you forgot to 'mysql_fetch_row' or 'mysql_result'. Read about it in the PHP-Manual in the MySQL Functions. Thanks Mike (and everyone else who pointed this out), Sometimes you're blind. When you think you pass the "complete-and-utter-newbie&q

Re: [PHP-DB] log in script // php-auth_user php_auth-pw

2001-03-14 Thread Martin Edelius
a few pointers. You can turn this into a function to make it easier to maintain and use in multiple pages. Hope it helps. Best regards, Martin Edelius Spirex Digital Design WWW: http://www.spirex.se || MAIL: [EMAIL PROTECTED] PHONE

[PHP-DB] getting last entry in database table

2001-03-17 Thread Martin Skjöldebrand
ng something obvious again. What? TIA Martin S. -- 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]

Re: [PHP-DB] getting last entry in database table

2001-03-17 Thread Martin Skjöldebrand
ike I want it to. I want kb_answer to have the value "entry 2" (in your example) not as happens (even in your example) "entry 1". And, talking to a newbie it would be grate to know why my method produces the wrong result. Martin S. -- PHP Database Mailing List (http://www.ph

[PHP-DB] Line breaks in output

2001-03-19 Thread Martin Skjöldebrand
Newbie here. How do I get line breaks in output from a database? I have a list of things in a file, like: item1``item2``item3 (etc) I want them displyed in a textarea as: item1 item2 item3 Probably very simple, haven't got that far in my book yet. Martin S. -- PHP Database Mailing List (http

Re: [PHP-DB] Going bonkers again ...

2001-03-23 Thread Martin Skjöldebrand
olinux wrote: You have to escape your "" $query = "SELECT m_sender, m_date, m_subject FROM messages WHERE m_id = '$m_id'"; try this $query = "SELECT m_sender, m_date, m_subject FROM messages WHERE m_id = \"$m_id\" "; No that isn't the problem. It is valid to change quotation

[PHP-DB] Oracle8i, PHP4, Apache

2001-03-31 Thread Martin Lustig
are returned in US7ASCII. Have you anybody ideas how tu setup such environment? Probably i am not first who need apache, php and oracle operate Regards, Martin. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP-DB] array_diff usage

2001-04-03 Thread Martin Skjöldebrand
On Monday 02 April 2001 15:41, you wrote: -Original Message- From: Martin Skjoldebrand [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 31, 2001 10:52 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] array_diff usage I'm daft. I don't understand the PHP Manual. I have two

[PHP-DB] Database update problem

2001-04-15 Thread Martin Skjldebrand
value (like VALUES('', 'testing') insert the word 'testing'. Why isn't it passing the variable value?? Cheers, Martin S. form action="admin.php?whattodo=admin/sec_typesaction=add" method="POST" table tr tdselect name="lstSec_type"

[PHP-DB] BIND VARS with ODBC

2001-04-24 Thread Martin Jussel
the content of the var *as is*. How it's possible to save the content of a var with all special characters in a odbc database? Martin -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP-DB] mysql/php select using date in where clause

2001-05-03 Thread martin helie
Here's how I'd do it: SELECT * FROM customers WHERE Site='egebjergnet' AND TO_DAYS(NOW()) - TO_DAYS(date_column) = '45' where date_column contains record dates... Martin Dan Eskildsen [EMAIL PROTECTED] wrote in message 9crq7l$mfb$[EMAIL PROTECTED]">news:9crq7l$mfb$[EMAIL P

[PHP-DB] php accessing oracle

2001-06-19 Thread Martin Langlois
to include something special? -- Martin Langlois Programmeur-analyste Inter.net Canada 5252, boul. de Maisonneuve Ouest bureau 200 Montréal,Qc H4A 3S5 http://www.ca.inter.net

[PHP-DB] PHP+Linux+MSSQL

2001-06-22 Thread Martin Pavlas
. -- Martin Pavlas ParsCom IS s.r.o. http://www.parscom.cz -- 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]

Re: [PHP-DB] SQL Error

2001-08-02 Thread Martin Lefebvre
Have you tried with NULL instead of '' the ContactID? On Thu, 2 Aug 2001, Steve Fitzgerald wrote: I keep getting the following SQL error: You have an error in your SQL syntax near ')' at line 14 Line 14 is: '$FirstName', so the error must correspond to a different part of the code. Any

[PHP-DB] Re: [PEAR-DEV] Re: Common DB Abstraction Layer: Re: [PEAR-DEV] Adoption of Metabase

2001-11-21 Thread Martin Jansen
On Wed, 21 Nov 2001 09:19:44 -0500 (EST), Joao Prado Maia wrote: If PEAR::DB is not abstracting the database what is the purpose of such a library ? To ease the life of lot's of programmers. - Martin -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP-DB] Multiple Image Display Problem

2001-12-20 Thread Christopher Martin
I am having problems displaying two different images on the same page. (stored as binary files in two different db tables) Instead of getting two different images, I am getting the first image twice, although the scripts are going to two different database tables to get the two images. Is there

[PHP-DB] RE: [PHP] need help looping through each record with a query - stumped

2002-01-09 Thread Martin Towell
with interbase and oracle) Hope that helps Martin -Original Message- From: Brian Tully [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 8:59 AM To: PHP DB; PHP Subject: [PHP] need help looping through each record with a query - stumped hey folks - i'm stumped. been working on what i

[PHP-DB] RE: [PHP] need help looping through each record with a query - st umped

2002-01-09 Thread Martin Towell
: Mehmet Kamil ERISEN [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 11:10 AM To: Martin Towell; 'Brian Tully'; PHP DB; PHP Subject: RE: [PHP] need help looping through each record with a query - st umped If you are querying the Score = 75 how are you ging to take the Consecutive requirement

[PHP-DB] Re: [PHP] mysql_insert_id?

2002-01-16 Thread Martin Wickman
Dl Neil wrote: 2 because the (function argument) controlling feature is the connection, it is not possible for another concurrent user to 'steal' your ID or influence the ID returned to you - it's all yours! Ok, assume you are correct, but what if you are using persistent connections (ie

[PHP-DB] RE: [PHP] Help needed - need to access a value from DB into all pages

2002-02-21 Thread Martin Towell
I can think of three ways you could do this. 1. as a cookie 2. using sessions 3. put it in every link Martin -Original Message- From: WG4- Cook, Janet [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 10:59 AM To: PHP db list; PHP List Subject: [PHP] Help needed - need

Re: [PHP-DB] Trouble displaying info in a multiline form

2002-06-05 Thread Martin Clifford
TEXTAREA rows=x cols=y wrap=virtual Example text to be inside box on load. /TEXTAREA x = height, using monospace font for measurement. Usually 5 suffices. y = width, using monospace font for measurement. Usually 40 suffices. Martin Paulo Nunes [EMAIL PROTECTED] 06/05/02 02:00PM Thanks

Re: [PHP-DB] case

2002-06-11 Thread Martin Clifford
Use strtolower() on all entries from the form, so you can compare them (in lowercase) without worry about whether the user entered MA, ma, Ma, or mA. Martin James Kupernik [EMAIL PROTECTED] 06/11/02 10:15AM I want to test a value that was typed into a form, but I don't want the case

[PHP-DB] REGEXP problem

2002-06-14 Thread martin . adler
| ++-+--+---++--+-+---+--++--+--+--+--+--+--+-+ | 6 | 2 | 0.1.2.24 | Wer nicht ... | 2002-06-13 | Martin Adler | .in der Gruppe Technik ist soll dies nicht lesen können

[PHP-DB] REGEXP problem

2002-06-14 Thread Martin Adler
| cid | id | name | ++-+--+---++--+- +---+--++--- ---+--+--+--+--+--+-+ | 6 | 2 | 0.1.2.24 | Wer nicht ... | 2002-06-13 | Martin Adler

[PHP-DB] Re: REGEXP problem

2002-06-14 Thread Martin Adler
Ok I've found a solution ON entries.cat_no REGEXP CONCAT(\\.,category.id,(\\.|$)) but nevertheless thanks too all Martin Hi, I working with this query SELECT * FROM entries LEFT JOIN category ON entries.cat_no REGEXP \\.+category.id+(\\.|$) LEFT JOIN entgroup ON entries.id

[PHP-DB] MySQL Query Acting Up

2002-06-20 Thread Martin Clifford
article_id=\$id\; $result = mysql_query($query, $connect) or die(mysql_error()); No errors are produced, yet the query doesn't do anything. Nothing in the row changes. Any help would be appreciated! Martin -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP-DB] Re: MySQL Query Acting Up

2002-06-20 Thread Martin Clifford
Thanks everyone! Between all the replies I was able to locate the problem and fix it! It wasn't the missing backslash (that was a typo, which sucks). I wasn't properly passing the article_id field to the query, so MySQL had a problem with WHERE id=. Thanks again! :o) Martin -- PHP

[PHP-DB] RE: [PHP] How to Show my Own Error Message Instead of Mysql Error?

2002-06-20 Thread Martin Towell
what about doing a select count(*) from table where username = 'foobar' then, if ($cnt 0) { /* display error */ } else { /* insert new username */ } -Original Message- From: Jack [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 2:07 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED];

Re: [PHP-DB] WebSite Submissions Question

2002-06-21 Thread Martin Clifford
### ? !DOCTYPE... Then it will come up like so, when Google/Yahoo/Whoever goes to view it for inspection: !DOCTYPE... htmlblahblah. HTH Martin Daz [EMAIL PROTECTED] 06/21/02 07:33AM Hi All On the website I am building, my Index page (index.html) does a check to see if it is Internet Explorer

RE: [PHP-DB] Populating multi-select list from mysql

2002-06-21 Thread Martin Clifford
Whenever you are having trouble with your PHP pages, always echo! By doing this, you can see whether or not the query is formatted correctly, whether or not the variables are containing the values you think they are. It's incredibly helpful, no matter what the situation. Martin Ryan

Re: [PHP-DB] BBS program

2002-06-21 Thread Martin Clifford
One of the best PHP Message Boards around is Invision Boards (http://www.invisionboard.com). It's made by the same person who made IkonBoard. For an example check out my boards, which are still in development (I'm slow, what can I say? hehe): http://www.completesource.net/forums/ Martin

[PHP-DB] force no results

2002-06-24 Thread Martin Adler
Hi, is it possible to force mysql in a SELECT clause depend on a condition to give no results? for example: I do a SELECT and get 3 rows as result, but one row contains a value, which make the other rows worthless. and I won't get this results thank's sincerely Martin

Re: [PHP-DB] force no results

2002-06-24 Thread Martin Clifford
Could you give us some examples of entries in the table? You might need to set it up as a relational database, but we can't know that without information. Martin C Martin Adler [EMAIL PROTECTED] 06/24/02 10:47AM Hi, is it possible to force mysql in a SELECT clause depend on a condition

Re: [PHP-DB] what the heck? (elementary question)

2002-06-24 Thread Martin Clifford
strict formatting for output, as in the case of using currency amounts, or other situations where decimal places are needed. The easier way to write it would be simply: echo form method=\post\ actoin=\name.php\; echo input type=\hidden\ name=\lastname\ value=\$lastname\; HTH Martin Steve Cayford

[PHP-DB] Re: brand new elementary question

2002-06-24 Thread Martin Clifford
Martin Seth Yount [EMAIL PROTECTED] 06/24/02 03:58PM initially I would look at your button type in the source code. Their are two basic types of buttons, the ' submit ' and the ' clear form '. If that doesn't work, post back gl -- Seth Matthew Crouch wrote: got my other one sorted out

Re: [PHP-DB] force no results

2002-06-25 Thread Martin Adler
| Martin Adler |1 | | 6 | Who's not ... | 2002-06-13 | Martin Adler |0 | | 6 | Who's not ... | 2002-06-13 | Martin Adler |1 | ++---++--+--+ Here are the used tables Table entries

Re: [PHP-DB] what the heck? (elementary question)

2002-06-25 Thread Martin Clifford
. Martin -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Time difference question...

2002-06-25 Thread Martin Clifford
Versions above just before 4.0 of MySQL can handle direct date math. Try SELECT date_returned - date_paged FROM pagetable; It'll work if you have values date_returned and date_paged in the table pagetable of course :o) HTH Martin NIPP, SCOTT V (SBCSI) [EMAIL PROTECTED] 06/25/02 04:40PM

[PHP-DB] prevent results

2002-06-26 Thread Martin Adler
: ++---++--+--+ | id | head | date | author | indi | ++---++--+--+ | 6 | Who's not ... | 2002-06-13 | Martin Adler |1 | | 6 | Who's not ... | 2002-06-13 | Martin Adler |0 | | 6 | Who's not ... | 2002-06-13 | Martin

[PHP-DB] Re: prevent results

2002-06-26 Thread Martin Adler
not ... | 2002-06-13 | Martin Adler | ++---++--+ the soluton for my former problem is in the HAVING clause the stuff in the min()-function returns only 1 when the category have the same group-id as the user or the category don't have a group-id otherwise

Re: [PHP-DB] mail function

2002-07-01 Thread Martin Clifford
Nice, mature response, Jason. Really smooth! :o) :chortle: Martin [EMAIL PROTECTED] 06/30/02 09:44AM On Sunday 30 June 2002 09:06, CrossWalkCentral wrote: As this has nothing to do with DBs it should be posted to the php-general list. When using this fucntion listed bellow with the HTML

Re: [PHP-DB] multiple queries in a rov

2002-07-02 Thread Martin Clifford
Load the query into a variable, usually $query. $query = SELECT * FROM table; SELECT * FROM othertable;; $result = mysql_query($query, $link_id) or die(error msg); Mattia [EMAIL PROTECTED] 06/27/02 02:19PM I would like to make multiple queries in a single mysql_query(...) statement!! Like

Re: [PHP-DB] Strange MySQL Query Problem

2002-07-03 Thread Martin Clifford
From your query, it looks as if you are letting the user select the table that they can query with $pop-up1. Is that correct? If so, do all the available choices of tables have the same column names? Other than that I can't see why this query would fail. Martin eat pasta type fasta [EMAIL

Re: [PHP-DB] Checking for a successful login and setting aglobal flag.

2002-07-08 Thread Martin Clifford
a way to spoof this. Unless of course the person doing the spoofing KNOWS what variable you check to see access rights. An adaption of this script might help. HTH Martin Youngie [EMAIL PROTECTED] 07/08/02 01:50PM Hi Follks I'm writing an application that requires the user to login to gain

Re: [PHP-DB] passing variables from one page to another

2002-07-08 Thread Martin Clifford
; Martin Matthew K. Gold [EMAIL PROTECTED] 07/08/02 03:40PM Hi Everybody, Please forgive the basic nature of this question--I have looked at the manual, but I found that much of it went over my head. I'm trying to create a second level of a website that displays course listings. The first level

Re: [PHP-DB] Mysql syntax error - phpMyAdmin ??

2002-07-10 Thread Martin Clifford
DESC is a reserved word in SQL, standing for Descending Order. That is why you can't use it as a table column name. HTH Martin Michael Zornek [EMAIL PROTECTED] 07/10/02 12:49PM I was using phpMyAdmin to do an export from one machine to another and on import I got an error: Error SQL

[PHP-DB] Re: bouncing an idea...

2002-07-10 Thread Martin Clifford
application. Sounds neat though :o) Martin Kirk Babb [EMAIL PROTECTED] 07/10/02 03:36PM My apologies for these posts, I'm just not sure where to start I'm asking for info more from the standpoint of finding someone who is using php mysql to accept the info from a scanner rather than

RE: [PHP-DB] ID numbers not sorting Properly

2002-07-12 Thread Martin Clifford
MySQL has no obligations when it comes to sorting result sets. If you want it sorted a certain way, it'd be in your best interest to declare it with ORDER BY item_id ASC, if that's your flavor. Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http

[PHP-DB] RE: PHP meetup [CROSS-POST] Meet other PHP Developersin Your Area

2002-07-15 Thread Martin Clifford
Yes, everyone please join up! I would love to find more developers in the Maryland area, and I'm sure others would in their areas as well! Let's do the great american get togeth... err... the great php get together! Martin Clifford Homepage: http://www.completesource.net Developer's Forums

Re: [PHP-DB] TEXTAREA ...

2002-07-17 Thread Martin Clifford
$content = nl2br($content); That will convert all newline characters into br tags. HTH Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/ José Moreira [EMAIL PROTECTED] 07/17/02 09:15AM hello ... im sorry to bother with a non

Re: [PHP-DB] TEXTAREA ...

2002-07-17 Thread Martin Adler
That's right but if the variable is initialised by the form and you want to write the variable in to your html-document it's better to write this $content = nl2br(htmlentities(stripslashes($content))); - Original Message - From: Martin Clifford [EMAIL PROTECTED] To: [EMAIL PROTECTED

Re: [PHP-DB] How to use Full text search?

2002-07-18 Thread Martin Clifford
The query you would need would be something along the lines of: SELECT show_name FROM table_of_shows WHERE show_name LIKE '%$keyword%' Learning the LIKE syntax is going to be the best help to you in this situation, I believe ;o) Martin Clifford Homepage: http://www.completesource.net

Re: [PHP-DB] or statement in url

2002-07-18 Thread Martin Clifford
Pass different variables and use them both in your query. http://www.xyz.com/foo.php?FooID=1 http://www.xyz.com/foo.php?Foo2ID=2 $query = SELECT * FROM table WHERE id=$FooID OR id=$Foo2ID; HTH Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http

[PHP-DB] RE: [PHP] Hex Help Please...

2002-07-21 Thread Martin Towell
Doesn't look like anyone has replied to you on the php-general mailing list. Have a look at this page http://www.wotsit.org/search.asp?s=graphics some of the docs there might help you HTH Martin -Original Message- From: Georgie Casey [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22

Re: [PHP-DB] Re: Storing Variable Function Info

2002-07-24 Thread Martin Clifford
You're trying to use double quotes, in which the variable is evaluated and the stored value is shown, right? Try using single quotes. For example, with $name = Martin. echo My name is $name.; OUTPUT: My name is Martin. echo 'My name is $name.'; OUTPUT: My name is $name. It's interpreted

[PHP-DB] [php-objects] RE: [PHP] Re: [PHP-DEV] [CROSS POST] PHP Meetup Texas PHP Users

2002-08-01 Thread Martin Clifford
I'm definately interested, even though I'll most likely be in MN at the time. I've never even MET another PHP developer, so I don't know what to expect, but I'd sure love to be updated :o) Martin [EMAIL PROTECTED] 08/01/02 03:21PM Well, the predictions have come true. In San Antonio only

[PHP-DB] PHP IDE

2002-08-15 Thread Martin Adler
to find a good IDE for LINUX greet Martin - Martin AdlerCGI, Perl, PHP, MySQL Continum AG Tel. +49 761 4794090 Bötzinger Straße 29a Fax. +49 761

Re: [PHP-DB] MySQL and BLOB

2002-08-22 Thread Martin Adler
maybe RTFM is not the answer!!! i think this will help a little more http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#Sto rage_requirements greet Martin - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 22, 2002

Re: [PHP-DB] form validation question - regex not working

2002-08-22 Thread Martin Adler
) Oh, what i also have to say the ereg-funktions are to old you schould use the new php4 funktions preg_match() preg_replace() preg_... greet Martin - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 22, 2002 5:06 AM Subject: Re: [PHP-DB

Re: [PHP-DB] header

2002-09-05 Thread Martin Adler
That's wrong!!! the output starts erlier everything and i mean realy everything outside ? ... ? is output!!! remember that it's php native behavior to send stuff outside ? .. ? to the client with the standard header for plain text greet Martin - Original Message - From: Devrim GUNDUZ

Re: [PHP-DB] MySQL REGEXP functionality... any way to make this easier?

2002-10-10 Thread Martin Adler
combination by yourself greet martin - Original Message - From: Xepherys [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 10, 2002 8:26 AM Subject: [PHP-DB] MySQL REGEXP functionality... any way to make this easier? Right now, a sample query I might have would be... SELECT

[PHP-DB] database synchronization

2002-10-29 Thread Martin Hudec
, from which we are taking updated records, on another computer with static or dynamic IP.has someone tried to solve this? -- Best regards, Martin mailto:corwin;corwin.sk -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re[2]: [PHP-DB] database synchronization

2002-10-29 Thread Martin Hudec
of master serverthat puts me to another problem...what if master is running windows? I can create these scripts on linux..but what on windows? -- Best regards, Martinmailto:corwin;corwin.sk Tuesday, October 29, 2002, 9:29:43 AM, you wrote: PL Hi PL Take a look

Re[2]: [PHP-DB] database synchronization

2002-10-29 Thread Martin Hudec
-- Best regards, Martinmailto:corwin;corwin.sk -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[4]: [PHP-DB] database synchronization

2002-10-29 Thread Martin Hudec
...synchronization (replication) is done automaticaly the question two is what if this master is running Windows 98 with MySQL-win for example? Is that possible to make also in windows? I will try to post this also to mysql list -- Best regards, Martinmailto:corwin

Re[6]: [PHP-DB] database synchronization

2002-10-29 Thread Martin Hudec
Hello, see below... -- Best regards, Martinmailto:corwin;corwin.sk Tuesday, October 29, 2002, 10:51:17 AM, you wrote: PL Hi PL If the records are all independant - ie travel agent (TA) A has their own PL records and so does TA B then REPLACE INTO MainDB SELECT

[PHP-DB] mysql_select_db() and mysql_query()

2002-11-29 Thread Dan Martin
A friendly error message advised me that mysql_db_query is deprecated and to use mysql_select_db() and mysql_query(). but I can't seem to get past this return in the Browser: Parse error: parse error in c:\program files\apache group\apache\htdocs\crup_hs_local\result.php on line 58. I think I

[PHP-DB] How to solve T_STRING error?

2002-12-25 Thread Martin S
]; } if($permissions)// This is line 43 { if(!$isStat) { and I can't see what ever is wrong! Probably have been looking too much at it. Anyone who can see an error in here somewhere? /Martin S. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP-DB] How to solve T_STRING error?

2002-12-25 Thread Martin S
Jason Wong wrote: On Wednesday 25 December 2002 21:44, Martin S wrote: Just one page still to do. And I'm stuck. I keep getting: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /www/htdocs/dev/users/tracking-update.php on line 43 ON this code

[PHP-DB] php/mysql

2002-12-26 Thread Martin S
no difference. Any suggestions? /Martin S. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] php/mysql

2002-12-26 Thread Martin S
connect to database. I once desperately thought I had forgotten to configure php --with-mysql so I recompiled. No improvement. Are you sure you are using a valid login and password in your programs? Yes. I'll recheck though. /Martin S. -- PHP Database Mailing List (http://www.php.net

RE: [PHP-DB] How to solve T_STRING error?

2002-12-26 Thread Martin S
not as intended (which the db-routine is supposed to fix). I'll have another look though. /Martin S. * which is hell to debug, it's a 3500+ lines beastie. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] php/mysql

2002-12-26 Thread Martin S
heard something like that as well, which is why I've compiled php and apache from source. Would compiling mysql from source as well help I wonder... /Martin S. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] help me

2003-01-09 Thread Martin Hudec
Hello khac, hmm what platform are you running on? what are PHP settings for writing sessions? Check out permissions for /tmp directory, check out free space on disk. -- Best regards, Martin mail [EMAIL PROTECTED] mobile

[PHP-DB] Re: QUERY question (group by) - please help

2003-01-10 Thread Martin Ramsch
functions available ... Ciao, Martin -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: QUERY question (group by) - please help

2003-01-10 Thread Martin Ramsch
is, of course :-) http://www.php.net/manual/en/ref.mysql.php Some function names, though. Cheers, Martin -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: [PEAR-DEV] Efficienty of PEAR DB

2003-02-09 Thread Martin Jansen
which one is more efficient (PEAR DB or ADOdb?) This topic has been discussed several times on this list. Please search the archives [1] for more information. [1] http://marc.theaimsgroup.com/?l=pear-devr=1w=2 -- - Martin Martin Jansen http

[PHP-DB] string manipulation

2003-02-18 Thread Martin Dziura
? Martin _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] PHP not working with MySQL?

2003-03-27 Thread Martin Hudec
Hmmm why don't you make just test.php file in your web directory and write there: ? phpinfo(); ? and then point your browser to it and look for section mysql? :) -- Martin Hudec -- :@: [EMAIL PROTECTED] :w: http://www.corwin.sk :m: +421.907.303.393 In google

[PHP-DB] I have a problem to add a new line to the body of my email when I am using 'a href=mailto: ... function

2003-06-04 Thread Martin Rajcok
a different character for making a new line? Please, help me. I can't find anything I can do to fix it. Thank you, Martin

RE: [PHP-DB] I have a problem to add a new line to the body of my email when I am using 'a href=mailto: ... function

2003-06-04 Thread Martin Rajcok
I believe the body is supported. I have read everything I could find through Google. People are using it exactly as I am. I can't use '\n' - it is only text in this case and it will be part of the email body. Thanks anyway, Martin -Original Message- From: John W. Holmes [mailto:[EMAIL

[PHP-DB] MS-SQL Connection Problem

2003-07-02 Thread Martin Weber
configurations. Can please someone help me whith this? Thank You! Martin -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] INFORMIX PROBLEM

2003-08-27 Thread Martin Marques
El Mié 27 Ago 2003 16:01, Luigi Vellucci escribió: Hi I'm trying to compile php 4.1.2 from the source RPM in RedHat 7.3 but I wasn't succesfully. Please does anybody know what it means the following error: *** Warning: Linking the shared library libphp4.la against the non-libtool *** objects

Re: [PHP-DB] MySQL, PHP or ghost?

2003-08-28 Thread Martin Marques
El Mié 27 Ago 2003 11:34, Ignatius Reilly escribió: Hmmm... You have a point; the doc is not quite clear. Illegal YEAR values are converted to My understanding is that any illegal value will be first converted into '', then into the corresponding year inside the 1901-2155

Re: [PHP-DB] MySQL, PHP or ghost?

2003-08-28 Thread Martin Marques
El Jue 28 Ago 2003 11:25, Ignatius Reilly escribió: Well, it IS logical provided one is aware of the rules of the game, meaning, as you rightly point out, that MySQL does not reject SQL statements for incorrect values, but attempts at converting them at any price. I have no clue whether it is

Re: [PHP-DB] MySQL, PHP or ghost?

2003-08-28 Thread Martin Marques
El Jue 28 Ago 2003 17:20, Ignatius Reilly escribió: Well, you're certainly right (except I didn't get the meaning of 'FS' - anything obscene?). However: File System. 1. The job of this ML is to help people get things done 2. For criticisms concerning the design of MySQL, you may get better

Re: [PHP-DB] Beta 2 of plPHP released.

2003-08-29 Thread Martin Marques
El Vie 29 Ago 2003 06:15, Ford, Mike [LSS] escribió: On 29 August 2003 05:27, Joshua D. Drake wrote: Hello, Beta 2 of plPHP has been released. This version contains many bug fixes. For example, if you write bad plphp code and try to execute it, the code will no longer crash

Re: [PHP-DB] Failure Notices When Posting to List

2003-08-29 Thread Martin Marques
El Vie 29 Ago 2003 11:51, Hutchins, Richard escribió: Is anybody else getting returned mail notices from the qmail-send program at pb1.pair.com? I seem to get one with each post I send to the list and I don't know what's happening with my posts. Not that they're pure gold or anything, but

Re: [PHP-DB] PHP, MySQL and Apache 2 ?

2003-09-02 Thread Martin Marques
El Mar 02 Sep 2003 16:11, David Haines escribió: This is maybe a bit Off-topic, and yet I could think of no better place to ask: How many of you are using PHP with MySQL and Apache 2 ? I know there _were_ some problems, but do the current (stable) PHP and MySQL work fine with Apache 2 ?

  1   2   3   4   5   >