[PHP-DB] oracle functions: dbms_output

2004-07-11 Thread jon
I like to know if it is posible to use (using php oracle functions) dbms_output oracle package to display some information on screen without having to previously stored it in a temporal table and then retrieving it thanks, -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, vis

Re: [PHP-DB] Multiple SELECT

2004-07-11 Thread Jason Wong
On Monday 12 July 2004 10:31, Marcjon wrote: > Oh yeah, I tried doing a > WHERE forumusers.username=forumuserprofiles.username > It worked, but if I added a AND forumusers.username = 'search string > here' it didn't return anything. This should work if your 'search string here' *exactly* matches

[PHP-DB] Multiple SELECT

2004-07-11 Thread Marcjon
I know this issue comes up alot, I've looked through the archives looking for a solution, but none of them are what I want. I have two tables with share a common coloumn, username. One is the user table. It's used to store the user's password, username, email and so on. The other table is for the u

[PHP-DB] Validate value

2004-07-11 Thread Jensen, Kimberlee
1. You have to allow for a space in your pattern - you can do so by hitting the space bar or using \s. Here are some options $pattern="/^[a-zA-Z ]+$/"; if(preg_match($pattern,$_POST['name'])) { $pattern="/^[a-zA-Z\s]+$/"; if(preg_match($pattern,$_POST['name']))

Re: [PHP-DB] Re: Validate Value

2004-07-11 Thread Tim Van Wassenhove
In article <[EMAIL PROTECTED]>, Rinku wrote: > --0-1101702729-1089550436=:23431 > Content-Type: text/plain; charset=us-ascii > > I have used this code. > > $pattern="/^\s+[a-zA-Z]+$/"; > if(preg_match($pattern,$_POST['name'])) > { > > Statements; > } >

Re: [PHP-DB] Re: Validate Value

2004-07-11 Thread Rinku
I have used this code. $pattern="/^\s+[a-zA-Z]+$/"; if(preg_match($pattern,$_POST['name'])) { Statements; } But here still system not supporting for space. Rinku Tim Van Wassenhove <[EMAIL PROTECTED]> wrote: In article <[EMAIL PROTECTED]>, Rinku wro

Re: [PHP-DB] Re: Validate Value

2004-07-11 Thread Tim Van Wassenhove
In article <[EMAIL PROTECTED]>, Rinku wrote: >> That's correct behaviour. The alphabet doesn't know what a space is ;) >> Thus append the other allowed characters to your a-zA-Z interval. > Can you pls tell me how to add space in name ? If you reply under what is already written (and cut the irr

Re: [PHP-DB] Re: Validate Value

2004-07-11 Thread Ruprecht Helms
Rinku wrote: Can you pls tell me how to add space in name ? by using   or by using the using the ascii-code of that combined with the char-command. Regards, Ruprecht -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Re: Validate Value

2004-07-11 Thread Rinku
Can you pls tell me how to add space in name ? Regards, Rinku Tim Van Wassenhove <[EMAIL PROTECTED]> wrote: In article <[EMAIL PROTECTED]>, Rinku wrote: > --0-775821546-1089528419=:27331 > Content-Type: text/plain; charset=us-ascii > > Pls guide on following. > 1) I want to validate name for a

[PHP-DB] Re: Validate Value

2004-07-11 Thread Tim Van Wassenhove
In article <[EMAIL PROTECTED]>, Rinku wrote: > --0-775821546-1089528419=:27331 > Content-Type: text/plain; charset=us-ascii > > Pls guide on following. > 1) I want to validate name for a alphabetic value, But if I give space between 2 > words then its not supporting.. That's correct behaviour. T

[PHP-DB] Re: $_SERVER['HTTP_REFERRER']

2004-07-11 Thread Amit Arora
Jeff, Most of the privacy programs are blocking the HTTP_REFERRER, so you might try using an alternative to it. You could try passing the previous page in the form as an hidden field. Amit Arora http://www.digitalamit.com [EMAIL PROTECTED] wrote: For some reason I cannot get this to work. I'm try