doufeinai6081 2010-09-12 19:26
浏览 189
已采纳

PHP $ _POST没有得到值

So, I have this form: (dead link)

And this in the PHP:

$nume = $_POST['Nume'];
$email = $_POST['Email'];   
$telefon = $_POST['Telefon'];   
$judet = $_POST['Judet'];   
$persoana = $_POST['Persoana']; 
$mesaj = $_POST['Mesaj'];
echo "Valori memorate:"; 
echo $nume,$email,$telefon,$judet,$persoana,$mesaj;
echo "<br>";

But it shows up nothing... Any ideas?

I know the source code looks awful, but this is a page I've made 2 years ago when I was still learning the basics of HTML.

  • 写回答

2条回答 默认 最新

  • doupai8533 2010-09-12 19:36
    关注

    Ok, that was something stupid: I wrote:

    <input name="Nume" class="form" type="style6" id="Nume" size="30" />
    

    So the type was "style6" instead of "text" ... Damn, 45mins, 45MINS, for that type="style6", :|

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 SQL Server下载
  • ¥15 python如何将动态的多个子列表,拼接后进行集合的交集
  • ¥20 vitis-ai量化基于pytorch框架下的yolov5模型
  • ¥15 如何实现H5在QQ平台上的二次分享卡片效果?
  • ¥15 python爬取bilibili校园招聘网站
  • ¥30 求解达问题(有红包)
  • ¥15 请解包一个pak文件
  • ¥15 不同系统编译兼容问题
  • ¥100 三相直流充电模块对数字电源芯片在物理上它必须具备哪些功能和性能?
  • ¥30 数字电源对DSP芯片的具体要求