2017-06-14, 00:04:59
not sure if I understand correctly what you're asking, but where does the <div class="potato"> come from ? When is the potato class added to this div?
PHP is not for "live editing", it can generate a html code on server, but can't edit in after displaying to user, for that you need to use Javascript (but it really depends on what you're trying to achieve, if the JS is really needed)
PHP is not for "live editing", it can generate a html code on server, but can't edit in after displaying to user, for that you need to use Javascript (but it really depends on what you're trying to achieve, if the JS is really needed)