systech44 Posted August 21, 2006 Share Posted August 21, 2006 Is it possible to handle HTML form element from php ? Also let me know if it is possible to write down the entire HTML coding via php. Following are my few queries on it.1. How to assig two or more Group Box side by side.2. How to accsess a picture from a folder withing my current project. Is it possible to allocate text and picture side by side ? These are very urgent queries for me. Please try to help me. Link to comment https://forums.phpfreaks.com/topic/18184-php-html/ Share on other sites More sharing options...
genista Posted August 21, 2006 Share Posted August 21, 2006 Unless the boxes and pictures are dynamic, ie random pictures or something like that I would think you probably just want a html tutorial and then a basic tutorial on php?You might want to be a bit more specific with your question and possibly post some code too as they are both very erroneous questions.... Link to comment https://forums.phpfreaks.com/topic/18184-php-html/#findComment-78020 Share on other sites More sharing options...
ToonMariner Posted August 21, 2006 Share Posted August 21, 2006 PHP will create html. So provided you are talking about 'creating' html based on some criteria then yes - that is exactly what php is for.If you want to do this on the fly then client side script is needed. that can be driven by php using ajax. Link to comment https://forums.phpfreaks.com/topic/18184-php-html/#findComment-78021 Share on other sites More sharing options...
onlyican Posted August 21, 2006 Share Posted August 21, 2006 The way of the WebsitesUser goes to www.example.comThe data is then transfered to a SERVER, the Website server, The code is read, and if there is any Server Side Coding (PHP for example)It is then parsed to the php server, then read, and translated to HTM, then parsed back to the 1st Server,Then all of the HTM is read, and parsed back to the user, to show what we see.This seems alot, but happens in milliseconds, (depending how large the file is) Link to comment https://forums.phpfreaks.com/topic/18184-php-html/#findComment-78031 Share on other sites More sharing options...
scottybwoy Posted August 21, 2006 Share Posted August 21, 2006 I also have a query about this topic.For instance say you have a form in template.html and ths form is for making a Sale. You have a dropdown list of items that can be sold and the pricing and quantity have to be confirmed by the user. Below this function, after pressing the confirm button, I'd like an expandable section below it to show all the products being purchased. How should I create my html template to take this dynamic data from the php sent to it?Thanks Link to comment https://forums.phpfreaks.com/topic/18184-php-html/#findComment-78048 Share on other sites More sharing options...
onlyican Posted August 21, 2006 Share Posted August 21, 2006 I built a script for a Pet Shop.Where they enter the product code, then the price and item came up, they enter the quanitity, and add to sale, then that product was added to the DB, they had an option for New Customer, or Another ProductEach Customer would have a Client IDOnce they purchased one product, and come to the screen to Say new Customer or Another Product, If Another Product, that Client ID is parsed back to the first page, then I run a query to select all products from the Database where the Client ID is that, if its a new customer, there should not be any other products for that Client ID Link to comment https://forums.phpfreaks.com/topic/18184-php-html/#findComment-78068 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.