Jump to content

Archived

This topic is now archived and is closed to further replies.

ataria

Not inserting.. wtf.

Recommended Posts

Alright.

bout it inserting 2 rows, i just deleted that script.
I put it on the reigster page, and, it's ...

[code]
$insertchar = "INSERT INTO `characters` ( `username` ) VALUES ('$username')";[/code]

and, then, i looked in the DB, and it's under 'int' so i changed it to text..

now it won't insert, anyone see the problem?

Share this post


Link to post
Share on other sites
Try this instead:
[code]<?php

$insertchar = "INSERT INTO characters (username) VALUES ('$username')";

?>[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.