|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13769 don't work this is the second fase of my progect
Submitted: 2001-10-19 22:10 UTC Modified: 2001-10-20 00:36 UTC
From: danielerew at hotmail dot com Assigned:
Status: Not a bug Package: Output Control
PHP Version: 4.0.6 OS: windows 98 sec. ed
Private report: No CVE-ID: None
 [2001-10-19 22:10 UTC] danielerew at hotmail dot com
if ((!$nome_tabella) || (!$num_campi))  { 
  header("Location: http://localhost/mostra_creatabella.html");

$blocco_modulo ="

<form method=\"post\"   action=\"creatabella.php\">
<input type=\"hidden\" name=\"nome_tabella\" value=\"$nome_tabella\">

<th>nome campo></th><th>tipo</th><th>lunghezza</th></tr>

for ($i = 0; $i < $num_campi;

$blocco_modulo .= "
<td align=center><input type=\"text\" name=\"nome_campo[]\" size=\"30\"></td>

<td align=center>

<select name=\"tipo_campo[]\">

<option value=\"char\">char</option>
<option value=\"date\">date</option>
<option value=\"float\">float</option>
<option value=\"int\">int</option>
<option value=\"text\">text</option>
<option value=\"varchar\">varchar</option>

<td align=center><input type=\"text\" name=\"lunghezza_campo[]\" size=\"5\"></td>




$blocco_modulo .= "
<td align=center colspan=3<input type=\"submit\" value=\"crea la tabella\"></td>




<Title>Creazione di una tabella in un database: fase 2

<h1>Definizioni dei campi di <? echo "$nome_tabella"; ?>
<? echo "$blocco_modulo"; ?>


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-20 00:36 UTC]
Please read the bug-dos-and-donts before submitting any bug reports.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jun 20 09:01:30 2024 UTC