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
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
Share on other sites

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.