Lars, Much thanks. Life saving :)
Ignatius, I like your idea. Thanks to you too.
John
> if (isset($var[$key]['Option']))
> {
> // Flag that we got one this time round.
> $found = true;
> // Get the translated name from $var.
> $recor
On Wed, 2003-06-11 at 21:00, John Taylor-Johnston wrote:
> Lars,
>
> Thanks. I am getting this error however:
>
> Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in
>
> It does not like addslashes() because of the {}? What is a sensible work around? Or
> do I ev
You can't embed function calls in strings like this
$sString = "{addslashes($blah)},{addslashes($blah)}";
you have to go
$sString = addslashes($blah) . ',' . addslashes($blah);
Lang
John Taylor-Johnston wrote:
> Lars,
>
> Thanks. I am getting this error however:
>
> Parse error: parse error,
Lars,
Thanks. I am getting this error however:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in
It does not like addslashes() because of the {}? What is a sensible work around? Or do
I even need addslashes??
if ($found)
{
$sql = "INSERT INTO $dbtable
(RNu
On Wed, 2003-06-11 at 15:55, jtjohnston wrote:
> Can someone see clearly through what I'm trying to do please?
> I've been at this for 4 hours trying to see where I have gone wrong.
[snipped]
Might something like this work?
array (
'Description' => 'Title: (TI)',
'Option' => 'ST',
),
5 matches
Mail list logo