php errors

<?php mysql_connect("localhost","root",""); mysql_query("create database ".$_POST['A'].""); mysql_select("".$_POST['A'].""); mysql_query("create table ".$_POST['b']."('id int peimary key auto_increment,$_POST['b'] varchar(100),".$_POST['b']." varchar(100),".$_POST['b']." varchar(100)')"); mysql_query("insert into$_POST['b']($_POST['b'],$_POST['b'],$_POST['b']) values($_POST['b'],$_POST['b'],$_POST['b'])"); ?>

let me know what is the errors in this coding

Turn on ERROR Reporting in PHP by adding this after the <?php

[php]error_reporting(E_ALL);
ini_set(“display_errors”, 1);[/php]

Let us know what errors you get - Hard to tell whats wrong because we don’t know what POST[‘b’] contains.

Looks like everything is wrong with that code.

Sponsor our Newsletter | Privacy Policy | Terms of Service