Hi all,
got an urgent problem.. it's regarding forms.
my system works like this..
1) user on page1 fills up form
2) upon clicking submit button, it will go to verify.php to verify if the
entries are correct
3) if there is any errors, verify.php brings user back to page1 with all the
errors listed
On Wednesday 22 October 2003 15:06, Ng Hwee Hwee wrote:
> got an urgent problem.. it's regarding forms.
>
> my system works like this..
> 1) user on page1 fills up form
> 2) upon clicking submit button, it will go to verify.php to verify if the
> entries are correct
> 3) if there is any errors, ve
On Wednesday 22 October 2003 14:55, Tonya wrote:
> MYSQL and PHP 4.3.3
>
> *sigh* I hate eregs and I'm really bad with them :/
>
> I have a form that has a field in which the user is supposed to enter an
> IRC channel name. IRC channel names begin with a '#'.
>
> ereg("^#") does not work. I am g
On Wednesday 22 October 2003 16:15, Jason Wong wrote:
> $input_string = "#ircchannel";
> if (preg_match("/^#[a-zA-Z]+/", $input_string) {
> echo "Looks like an irc channel"; }
> else {
> echo "Go check your input";
> }
Sorry that regex should look like:
if (preg_match("/^#[a-
BECOMES:
>
This works only if it's within an echo statement:
echo "";
and you must make sure to either use single quotes around the
href link, or else escape the double quotes with a backslash:
echo "";
Alternatively, you can do it this way:
">
(ie embed the echo within a regular HTML ta
hi jason.
thank you for your reply.
i am using sessions already. in fact, header("Cache-control: private");
worked in my other applications but not this one.. is it true that because
page1.php is a https:// page so it can't cache my entries?
thank you!
rgds,
hwee
- Original Message -
On 22 October 2003 00:41, [EMAIL PROTECTED] wrote:
> $fieldarray = array("one","Two", "three", "four");
> $line = "\"".implode("\",\"",$fieldarray) ."\"";
Eck, eck, eck!! Definitely a construct crying out for single quotes rather than
double:
$line = '"'.implode('","',$fieldarray) .'"';
C
I've been trying to get Linux+apache+php+oracle working here with no
success, so I've to ask for some help.
Versions:
RedHat 9.0
PHP 4.3.4RC1
Oracle Enterprise Server 9.2.x
Oracle client 8.1.7
The machine has to run RedHat, and newest version would be good.
Oracle9.x doesn't seem to be certified
Dear Sirs/Madame
I have a database on the internet(hosted).
I can conncet to my Database without using HostName(Blank hostname).
Thus how can I make Backup from that database by mysqldump.exe.
Regards,
B.Majidi
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
If you are looking to do list updates and changes by that I mean you display
a recordset in a list with editable fields and then update changes to the
records with a single procedure, you need to check out GoLive6. The standard
record actions handle single record or list updates out of the box. The
Johan Kruger-Haglert wrote:
I've been trying to get Linux+apache+php+oracle working here with no
success, so I've to ask for some help.
Versions:
RedHat 9.0
PHP 4.3.4RC1
Oracle Enterprise Server 9.2.x
Oracle client 8.1.7
The machine has to run RedHat, and newest version would be good.
Oracle9.x doe
Thanks to those who helped on this. It helped to re-start the server. But
the other problem I found out was that register_globals was turned off by
default, so variables passed, as for instance ?ID=3 in the URL, were not
recognised. I turned register_globals on in the Apache config file:
php_fla
Hi !
Does anyone know if PHP already supports multiple statements specified in a single
query string ?
http://www.mysql.com/documentation/mysql/bychapter/manual_Clients.html#C_API_multiple_queries
Anton.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
Crikey, try it!
Miles
At 04:33 PM 10/22/2003 +0300, Anton I. Sokolovsky wrote:
Hi !
Does anyone know if PHP already supports multiple statements specified in
a single query string ?
http://www.mysql.com/documentation/mysql/bychapter/manual_Clients.html#C_API_multiple_queries
Anton.
--
PHP Data
Right, sorry I left that part out because it basically depends on what
you are doing..
/*** Test Page ***/
> ";
$display_block .= " < ";
?>
~~~
I get mail I exist.
~~~
On Wed, Oct 22, 2003 at 10:44:36PM +1000, Christopher Jones wrote:
> What errors does PHP give you?
ORA-03117: two-task save area overflow
ORA-12154: TNS:could not resolve service name
among others, it seems to variate a little. I've tried with different
configuration settings during the tests.
Don't use setenv. Set the variables in apache init script. This should fix
the problem.
Good luck.
Alberto.
On Wed, 22 Oct 2003, Johan Kruger-Haglert wrote:
> On Wed, Oct 22, 2003 at 10:44:36PM +1000, Christopher Jones wrote:
> > What errors does PHP give you?
>
> ORA-03117: two-task s
PHP 4.3.3 and MYSQL
I am constructing a site for gamers that has a member registration form with field
'Game Handle'.
Gamers are funny in that their game alias can include just about any character you can
imagine. Setting up an ereg for this would be quite difficult. However, I *do* want
t
Tonya,
If the handle is only for display purposes in Html, you should look into
the htmlentities () or htmlspecialchars () functions.
htmlentities: http://www.php.net/htmlentities
htmlspecialchars: http://www.php.net/htmlspecialchars
Jordan S. Jones
Tonya wrote:
PHP 4.3.3 and MYSQL
I am const
Use htmlentities() or htmlspecialchars()...
---John Holmes...
- Original Message -
From: "Tonya" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 22, 2003 1:07 PM
Subject: [PHP-DB] Unique Format
PHP 4.3.3 and MYSQL
I am constructing a site for gamers that has a mem
20 matches
Mail list logo