|
Posted by Stefan Rybacki on 09/28/12 11:24
max wrote:
> On Tue, 16 Aug 2005 19:36:19 +0200, Stefan Rybacki <stefan.rybacki@gmx.net>
> wrote:
>
> >max wrote:
> >> ...
> >> You seem unable to appreciate that I tried that and it didn't work. See my
> >> post in answer to Hilarion's helpful and problem-solving reply.
> >
> >No not at all. I just showed you that is of course possible to do what you tried.
> What's the matter with you? - for the umpteenth time, it is NOT possible.
> All you showed me was that you didn't have a real clue.
Where did I show you that?
> And I
> >gave you a hint why your try failed, nothing more.
> That is exactly what you did - gave hints. I came here for the answer to a
> question, not to join your correspondence course. Hilarion solved it in one.
I'm sorry but you lost me. What do you think is this?:
$TableName=rand(12345, 99999);
$Query = "CREATE TABLE `$TableName`
(
id SMALLINT(3) NOT NULL,
firstname VARCHAR(255) NOT NULL
)";
mysql_connect("localhost",$username,$pass) or die(mysql_error());
mysql_select_db($DBName) or die(mysql_error());
mysql_query($Query) or die(mysql_error());
Isn't this a solution that is able to create tables names only consists of digits?
Regards
Stefan
Navigation:
[Reply to this message]
|