Jump to content

create button


Alidad

Recommended Posts

sorry for not clear, let say that if you have html editor for php, and you want to have lay out features, but the way to have that is to click button then it will automatic create lay out <div></div> before continue to work on lay out after created layout by click button.

 

how to write that code to allow person click button to create layout!

 

i hope is clear what I'm trying to say!

 

AM

Link to comment
https://forums.phpfreaks.com/topic/76695-create-button/#findComment-388284
Share on other sites

  • 3 years later...

Well, its easy when working with databases.

------------------------------------------------------

<?php

$new_div="";

if(isset($_POST['submit'])){

$new_div = echo"<div> everything that it can hold</div>";

}

?>

 

if working with databases

<?php

while($row=mysql_fetch_array($query){

echo"<div> Everything in it </div>";

}

?>

Link to comment
https://forums.phpfreaks.com/topic/76695-create-button/#findComment-1224624
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.