ASP to PHP I've seen the light
Hi all, as a php newbie I just need one small answer yes or no.
My company has a number of websites considered catalogues in our db, all these websites run on the ONE mssql database
When a website is accessed the global ASA sets a session variable called catid unique for that site.
When a user searches for products in say our toy website, it queries the products stored proceedure with the unique catid and brings back toys, when someone visits say our book website, the different catid queries the products stored proceedure and brings back all the books.
Doing it this way allowed me to maintain only one database, yet have as many websites as I liked using the same structure of calling a stored proceedures making it dead easy to create new websites, eg toy websites, sporting goods etc for all the products my company imports.
Now that classic ASP is a dead end, I'm moving over to PHP and MySql.
PHP has no global ASA I'm currently aware of, so the simple question is . . .
Can I achieve the same concept in PHP MySQL without tearing my hair out, it was relatively easy with Dreamwever server behaviors for mssql but dreameaver does not support the same behavor (as far as I can tell) for MySql
Appreciate all comments
- remy -
