Jump to content

Recommended Posts

For the more naive people, like myself, a lot of questions will not only involve the MySQL backend of things but also, subsequently, the PHP frontend to get the data to display in the way we want it to.

This can lead to the same sort of question being asked in both forums.

How about a joint PHP & MySQL forum for questions like these? This would stopped replicated posts and also be easier for anyone searching for a similar solution in future.

 

Steve

Link to comment
https://forums.phpfreaks.com/topic/218472-php-mysql-joint-forum/
Share on other sites

Also PHP-MSSQL, PHP-Postgres, PHP-Oracle, PHP-SQLite... :P

No... I can't really see it coming.

 

Just try to decide, if the issue is more on scripting side, or on database side. As a rule of thumb, if your question concerns PHP code, you should ask it in PHP section (even if there's also MySQL involved)

Mchl us right, the MySQL query language stands on its own.  If you're having a problem with a piece of PHP code that contains a MySQL query, print the query to the screen, then copy and paste it into your query browser.  If the query is producing the wrong data, post in the MySQL forum.  If the query is right, post in the PHP forum.

 

-Dan

Let's not even entertain such an idea.

 

The whole purpose of the separation is to force the OP to decide exactly which aspect is causing the problem -- and this also helps people resist the urge to post entire scripts.

The problem is that not enough new programmers understand that PHP and SQL are entirely different languages that have no knowledge or understanding of one another. 

 

Then they throw HTML into the mix...then JavaScript...then regexp, and before they know it they're trying to learn 5 languages simultaneously.  It's a wonder any of us ever got anything working at all.

 

-Dan

The real problem is that PHP is the worst possible language to start with to learn that separation, specifically because it's a glorified template.

Maybe true in 1996, but it's a fully fleshed out language now. 

 

It's also a great language to learn on, because it's loose enough to allow new users to make mistakes and still generate working products.  Unfortunately, its main benefit is also its main drawback, because those users never learn the "proper" way of doing things. 

It leads to the attitude of "so what if it's wrong, it works like that, doesn't it?" Case in point would be all the people I see using unquoted associative array indices and ignoring the "undefined constant" warnings in PHP.

Fenway, I'd really like to know (non-maliciously) what you think PHP lacks.  I've heard a number of people say that PHP isn't a real language, none of them were able to back it up.  Is there some esoteric functionality of Perl or Python or C++ that would make PHP into a "real" language in your eyes?  Or is it just the fact that PHP started as a quick and dirty HTML looping engine and grew from there?

One thing PHP lacks is a formal specification of the language. There only is a Zend's implementation, which must be taken as a point of reference by anyone who would like to create their own interpreter. Since this implementation in turns hasn't got a roadmap, or a set of goals to achieve, it's always a moving target.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.