other than the ability to connect to other language API's what does SQL have to do with php? i mean people use it for this alot,, but generally the guy who programs the php site IS NOT AS WELL programming the backend database queries,,, hes more or so relaying what he needs to the DBA,,, so the answer is no,,, PHP is easy enough to learn without confusing urself with the SQL in the interim,,, even if,, which SQL would u learn? nearly each RDBMS uses it's own version of SQL which is the structured query language or "standard" query language as i like to call,, because what is "SQL" other than what "should be"; ur query should be something along the lines of
select * from where
to comply with SQL standards,
PHP is different it's a language,,, there is no different variations of PHP,, it's just php,,, it connects to a DBA via API ,, mysql, oracle, etc etc, and can manipulate data,,, simple,,, all u need to learn as a php programmer is the proper connection string;
further more dynamic web tenchology is not only accomplished thru php,, it could be perl,,, AJAX, java applications (which most are), etc etc etc,, we can query a DB with many different programming and scripting languages,, that doesn't mean as a web programmer u built the DB...