Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Below is the correct html markup (assuming you're going to use table layout for this). <a href="http://jsfiddle.net/vm69v/" rel="nofollow">Here is a demo</a>.</p> <pre><code>&lt;form action="insertar-modelo.php" method="post" enctype="application/x-www-form-urlencoded"&gt; &lt;table&gt; &lt;tr&gt; &lt;td class=Forms&gt;ICAO:&lt;/td&gt; &lt;td&gt;&lt;input type="text" value="" name="ICAO" /&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class=Forms&gt;Name:&lt;/td&gt; &lt;td&gt;&lt;input type="text" value="Airbus A320" name="nombre" /&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class=Forms&gt;Price:&lt;/td&gt; &lt;td&gt;&lt;input maxlength="9" value="1000000" type="text" name="precio" /&gt; €&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class=Forms&gt;Number Classes:&lt;/td&gt; &lt;td&gt; &lt;select name="numberclasses" id="numberclasses" onchange="callAjax()"&gt; &lt;option&gt;Select Number of Classes&lt;/option&gt; &lt;?php echo'&lt;option value="1"&gt;One&lt;/option&gt;'; echo'&lt;option value="2"&gt;Two&lt;/option&gt;'; echo'&lt;option value="3"&gt;Three&lt;/option&gt;'; ?&gt; &lt;/select&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class=Forms&gt;First Class:&lt;/td&gt; &lt;td&gt;&lt;input disabled="disabled" type="text" name="classes1" /&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class=Forms&gt;Bussines Class:&lt;/td&gt; &lt;td&gt;&lt;input disabled="disabled" type="text" name="classes2" /&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class=Forms&gt;Economy Class:&lt;/td&gt; &lt;td&gt;&lt;input disabled="disabled" type="text" name="classses" /&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class=Forms&gt;Capacidad:&lt;/td&gt; &lt;td&gt;&lt;input maxlength="3" value="150" type="text" name="pax" /&gt; pasajeros&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;input type="submit" name="enviar" value="Insertar"/&gt; &lt;/form&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload