Greetings All
I am very new to PHP and have so far been using Dreamweaver MX to
generate the PHP code for me, please do not stone me :)
My current problem is this. Above the DOCTYPE of my document I have the
following lines to connect to the database and retrieve the results:
$colname_side
[EMAIL PROTECTED] wrote:
Thanks for the addition Jochem.. one reason I post here, even if it's a basic
example, is because if there's a better way or a chance to learn something new,
I want to have that opportunity. Thanks again!
TG,
its a pleasure. I often find it fun just to write stuff
Well to give my .02 here.
Why even go through the second foreach? By doing this you are making your code
very inefficient in
that it must read through the entire set of arrays. Sure it works fine if you
have only a few. But
if there are a few thousand it takes longer.
As the arrays are structu
Thanks for the addition Jochem.. one reason I post here, even if it's a basic
example, is because if there's a better way or a chance to learn something new,
I want to have that opportunity. Thanks again!
-TG
= = = Original message = = =
Id like to continue where TG left off ...
hth.
[EMAI
I managed to find this myself. If anyone else was interested, I was looking for
the auto_prepend_file directive in php.ini.
Ross.
Ross Honniball wrote:
How do you advise a script to always execute or be included before each
script is run?
I can remember reading that this was an option year