php-general Digest 18 Jul 2006 18:10:57 - Issue 4246
Topics (messages 239535 through 239552):
Re: Name in HTML input
239535 by: Sameer N Ingole
239536 by: Ligaya Turmelle
239537 by: Sameer N Ingole
239538 by: weetat
239539 by: weetat
239540
weetat wrote:
input name=FHK0924F0JG (2771890816)hostname[] type=hidden
value=FHK0924F0JG (2771890816)
Space in name. Remove it.
--
Sameer N. Ingole
http://weblogic.noroot.org/
---
Better to light one candle than to curse the darkness.
--
PHP General Mailing List (http://www.php.net/)
To
weetat wrote:
Hi all,
I am using php 4.3.2 , mysql db and Red Hat Enterprise.
I have some issue regarding the name in INPUT Tag in html , as shown
below:
a:
input name=FOX08340027hostname[] type=hidden value=FOX08340027
b:
input name=FHK0924F0JG (2771890816)hostname[] type=hidden
Sameer N Ingole wrote:
weetat wrote:
input name=FHK0924F0JG (2771890816)hostname[] type=hidden
value=FHK0924F0JG (2771890816)
Space in name. Remove it.
oh, also remove '(' and ')' then check.
--
Sameer N. Ingole
http://weblogic.noroot.org/
---
Better to light one candle than to curse the
Hi ,
Thanks for your info.
I am new in PHP , how to remove the the space and '(',')' ?
Thanks
Sameer N Ingole wrote:
Sameer N Ingole wrote:
weetat wrote:
input name=FHK0924F0JG (2771890816)hostname[] type=hidden
value=FHK0924F0JG (2771890816)
Space in name. Remove it.
oh, also
weetat a écrit :
Hi ,
Thanks for your info.
I am new in PHP , how to remove the the space and '(',')' ?
hi,
$newstring = str_replace( ,_,$string);
$newstring = str_replace(,,_,$newstring)
hope this'll help
N F
Thanks
Sameer N Ingole wrote:
Sameer N Ingole wrote:
weetat wrote:
[snip]
Kevin, you have more than once pointed out using a RAW format for
operating the data system, what exactly do you mean? The database
becomes the OS? If so, how do you set that up? It is something that I am
not totally familiar with.
[/snip]
I did some research and went back to Kevin's
[snip]
Thanks for your info.
I am new in PHP , how to remove the the space and '(',')' ?
[/snip]
Use the delete key.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
input name=FHK0924F0JG (2771890816)hostname[] type=hidden
value=FHK0924F0JG (2771890816)
Space in name. Remove it.
oh, also remove '(' and ')' then check.
This should be your second input tag.
input name=FHK0924F0JG_2771890816hostname[] type=hidden
value=FHK0924F0JG (2771890816)
Hi
I have the array below : How to sort the array by Model and Country?
Thanks
array(
TBA0123456 = array(Country=Singapore,Model=WS8234),
TBA0123458 = array(Country=Indonesia,Model=WS2234),
TBA0123459 = array(Country=Vietnam,Model=WS7234),
TBA0123452 =
[snip]
I have the array below : How to sort the array by Model and Country?
Thanks
array(
TBA0123456 = array(Country=Singapore,Model=WS8234),
TBA0123458 = array(Country=Indonesia,Model=WS2234),
TBA0123459 = array(Country=Vietnam,Model=WS7234),
TBA0123452 =
Actually it's going to be a little more complicated than a 'ksort' here I think.
ksort on the main array is going to give you:
array (
TBA0123451 = array(Country=Germany,Model=WS6234),
TBA0123452 = array(Country=England,Model=WS1234),
TBA0123456 = array(Country=Singapore,Model=WS8234),
ksort won't do what he wants... Look at usort, and something like this:
function cmp($a, $b)
{
return strcmp($a['Country'], $b['Country']);
}
usort($array, cmp);
Andrew
- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: weetat [EMAIL PROTECTED];
Jay Blanchard wrote:
[snip]
I have the array below : How to sort the array by Model and Country?
Thanks
array(
TBA0123456 = array(Country=Singapore,Model=WS8234),
TBA0123458 = array(Country=Indonesia,Model=WS2234),
TBA0123459 = array(Country=Vietnam,Model=WS7234),
[snip]
Jay Blanchard wrote:
[snip]
I have the array below : How to sort the array by Model and
Country?
Thanks
array(
TBA0123456 = array(Country=Singapore,Model=WS8234),
TBA0123458 = array(Country=Indonesia,Model=WS2234),
TBA0123459 = array(Country=Vietnam,Model=WS7234),
At 10:51 AM 7/18/2006, weetat wrote:
Hi
I have the array below : How to sort the array by Model and Country?
Thanks
array(
TBA0123456 = array(Country=Singapore,Model=WS8234),
TBA0123458 = array(Country=Indonesia,Model=WS2234),
TBA0123459 = array(Country=Vietnam,Model=WS7234),
I have the following code:
pg_query($conn,BEGIN TRANSACTION;
DELETE FROM codigo_postal;
COPY
codigo_postal(codigo_postal,asentamiento,tipo_asentamiento,municipio,estado)
FROM '$tmpfname2' DELIMITER '|';
COMMIT);
It is suppoused as I understand it, that if an error
Luis Magaña wrote:
I have the following code:
pg_query($conn,BEGIN TRANSACTION;
DELETE FROM codigo_postal;
COPY
codigo_postal(codigo_postal,asentamiento,tipo_asentamiento,municipio,estado)
FROM '$tmpfname2' DELIMITER '|';
COMMIT);
It is suppoused as I
It is a PHP question because the Postgres querys do work, I ran them
directly on the postgres server and there is no problem, but if you use
pg_query then it does not work, and pg_query is a PHP function, is it no t?
Any way, I've tried already giving each query in separate function
calls, and it
Luis Magaña wrote:
It is a PHP question because the Postgres querys do work, I ran them
directly on the postgres server and there is no problem, but if you use
pg_query then it does not work, and pg_query is a PHP function, is it no t?
Any way, I've tried already giving each query in
Hi,
suppose you had several directories a, b and c where in each directory
you had an Apache http.conf file. For each directory Apache gets started
with the http.conf (and other conf files) in that directory.
PHP is used a an Apache module. How can I have a different php.ini file
for each
(Karl Pflästerer) wrote:
Hi,
suppose you had several directories a, b and c where in each directory
you had an Apache http.conf file. For each directory Apache gets started
with the http.conf (and other conf files) in that directory.
PHP is used a an Apache module. How can I have a
Hey Guys and Gals,
I am having a small problem with a user defined function, I placed it in a
config file and it works as expected, but the problem seems to arise only
when I try to use my login script for a members area I am redeveloping.
The error message that comes up is the following:
This would be the simplest work-around I can think of.
In your config script, wrap an if around your function call:
if (!function_exists('clean_sql')) {
function clean_sql() {
...
}
}
jon
Stephen Lake wrote:
Hey Guys and Gals,
I am having a small problem with a user defined
Oh, and the other obvious thing that I omitted would be to try using
either the include_once() and require_once() functions wherever you
include() or require() config.php.
jon
Stephen Lake wrote:
Hey Guys and Gals,
I am having a small problem with a user defined function, I placed it in a
On Tue, 18 Jul 2006 20:44:35 +0200
[EMAIL PROTECTED](Karl Pflästerer) wrote:
Hi,
suppose you had several directories a, b and c where in each directory
you had an Apache http.conf file. For each directory Apache gets started
with the http.conf (and other conf files) in that directory.
PHP
Thanks Jon,
That did the trick nicely, not sure why I didn't think of it myself but is
glad for the reminder of what that function is for. :)
Best Regards,
Steve
Jon Anderson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
This would be the simplest work-around I can think of.
In
what Jon said.
but note it's better to stick your functions into a seperate 'funcs' file
and include_once() or require_once() that instead. at some stage you'll have so
many functions you may want to split them up into seperate 'funcs' files
depending
on what they do (and/or what they are used
Jay Blanchard wrote:
[snip]
Thanks for your info.
I am new in PHP , how to remove the the space and '(',')' ?
[/snip]
Use the delete key.
LOL
--
life is a game... so have fun.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Luis Magaña wrote:
I have the following code:
pg_query($conn,BEGIN TRANSACTION;
DELETE FROM codigo_postal;
COPY
codigo_postal(codigo_postal,asentamiento,tipo_asentamiento,municipio,estado)
FROM '$tmpfname2' DELIMITER '|';
COMMIT);
Separate them out as a first
Hi:
I have a web application that creates files and directories to save info
for a user. If the user decides to link to another page or site
altogether
I want to run a script that will clean up after him or her but won't
interfere with where they are going. It will eventually expand
to asking
On Tue, 2006-07-18 at 21:32 -0700, jekillen wrote:
in a site that I visit occasionally. Even if I quit the browser
it still manages to delay the exit of the browser. But I don't
remember whether it was one of my books on php or the php
manual that this is in.
Can someone point me in the
Been quiet too much...
*This time, I seriously advise against running this piece of code unless you
know what you're doing*
Enjoy...
---
html
head
titleLove Letter/title
/head
body
?php
if (in_array($me, $her-acquaintances)) {
?
pDear ?=$her-name?,/p
pI really enjoy your company and I
Martin Alterisio wrote:
Been quiet too much...
*This time, I seriously advise against running this piece of code unless
you
know what you're doing*
Enjoy...
---
html
head
titleLove Letter/title
/head
body
?php
if (in_array($me, $her-acquaintances)) {
?
pDear ?=$her-name?,/p
pI
34 matches
Mail list logo