"davidbarrackphoto" <webforumsuser@macromedia.com>
wrote in message
news:fhi56c$pfi$1@forums.macromedia.com...
> I am attached a some generated code from DW CS3 using
PHP. I'm not a PHP
> expert but just looking at the code you can see the same
function
> "GetSQLValueString" declared over and over again. On one
page I saw this
> defined 5 times, removed 4 of the definitions and then
my page was able to
> display. I know that's not a full explanation, maybe I
deleted some
> brackets
> that were causing problems, but the point is that it's
all DW generated
> code.
> Please see the attached code if you're a PHP expert and
can maybe shed
> some
> light for us pedestrians. Are there any Adobe experts
out there on this
> board?
> There used to be but it's looking like a deserted board
lately.
That code was added to prevent SQL injection problems with
the previous PHP
MySQL implementation,
why on earth they chose to include it over and over again
instead of using
an include or putting it in the connection file is beyond
me..