PHP Stored Procedure MySQL? CS4
This is half rant and half question.
I've been using ASP and MS SQL for years and started to move to PHP
So here's my question. Normally, when I'm using Stored Procedures in MSSQL, I create it in the database...no problem.
I then create a recordset in Dreamweaver that calls this procedure.
It looks something like this...{call user.nameofprocedure}
Above is the only thing I see in the recordset unless I'm pulling in a variable... Using SPs is nice because I don't have to open each page of my site if I want to change all the pages that use the same Stored Procedure. How can I pull in a stored procedure? Is it similar to this? {call user.nameofprocedure}\
Does using PHP mean I have to start writing queries in dreamweaver instead of the database?
I hope Dreamweaver supports SP; please let me know how to do this. Thanks
If now, I think I'm going to be really depressed about this. And if so, I will start to feel the pains as I start to realzie that the hype surrounding PHP has NOT lived up to the reality. I understand why open source is such a great thing but it just hasn't made anything any easier.
As I said, I've been using MSSql for years and then moved to MySQL. The interface and tools that MSSQL has are great. Features and "easy" to use. Now I'm trying to pick up with PHP/MySQL and I'm just not finding the same sophistication that I found with ASP/MSSQL...Man, I really want ot like php..but it's really hard to see why when it seems that so much is missing. I just keep finding that there's a "roughness" to things associated with PHP?MySQL vs ASP/MS SQL.
IF PHP is the wave of the future, with Adobe and EVERYTHING else I"ve seen, they don't seem to be making it any easier.
It just seems, if you're going to replacing something with another technology, shouldn't it be better?
Open source is great all but why is everyone discontinuing support?\\
Well, back to my original question, does anyone have a good example of I can implement a stored procedure in Dreamweaver/php/MySQL?
