Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Error converting data type varchar to numeric

Author  Topic 

sjoe
Starting Member

2 Posts

Posted - 2007-02-26 : 06:12:24
Yes again a topic like this, I couldn't get an answer for my problem so I started a new topic.

Im getting this error for these lines:

$registreer = "INSERT INTO Gebruikerstelefoon (gebruikersnaam, telefoonnummer, volgnr) VALUES ('".$_SESSION['gebruikersnaam']."', '".$_POST["telefoonnummer"]."', '')";
mssql_query($registreer) or die("Fout bij toewijzen telefoonnummer.");

'telefoonnummer' (phonenumber) is nummeric, users can insert their phonenumber in a input field (text) and register along.. ( this is a second query for the column phonennumber) though this doesn't work..

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2007-02-26 : 06:17:47
Is that SQL Server query? Doesn't seems like though!

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

sjoe
Starting Member

2 Posts

Posted - 2007-02-26 : 06:32:33
No, SQL / PHP
Go to Top of Page

chiragkhabaria
Master Smack Fu Yak Hacker

1907 Posts

Posted - 2007-02-26 : 06:41:05
Sorry, this forum is only for MS-SQL SERVER.. I guess you can check out on

www.mysql.com

Chirag

http://chirikworld.blogspot.com/
Go to Top of Page
   

- Advertisement -