Hi I am experienced in ASP w/ C# but a beginner in PHP:
How do I get the value of a unique index of a column of mySQL in PHP:
try{
//do connect
//insert data
}
catch(Exception ex){
if (ex.Message.IndexOf("Column_Name") >= 0) //<-- how do I do this in PHP?
error = "That Column_Name already exists. Please change the Column_Name.";
}