[IMG]http://i27.tinypic.com/197513.png[/img]
There will be more rows with more information and such, but for now that's all I have. baddood;
can i be a big, bad strong card
Can I be a bigger, and stronger card than Ezlo?
why would we have a database
are we designing some sort of diabolical, integrated card softwares?
Quote from: Ezlo4 on May 15, 2008, 04:33:47 PM
can i be a big, bad strong card
INSERT INTO `Boyah_TCG`.`card` (
`cardID` ,
`cardName` ,
`cardIMG` ,
`cardType` ,
`cardRarity`
)
VALUES (
'00000004', 'Ezlo', 'http://gtfoutsider.com/Ezlo.png', 'Useless', '1'
);
Quote from: Snorkel on May 15, 2008, 04:34:36 PM
why would we have a database
are we designing some sort of diabolical, integrated card softwares?
This is only an example. I don't know PHP or any MySQL functions. baddood;
Quote from: Snorkel on May 15, 2008, 04:34:36 PM
why would we have a database
i dunno because i have no idea how jamie et al. are going to implement this
i guess they could just use that information and some fancy script of some sort to generate the actual card images
oh and also keep track of the cards i guess i dunno they haven't said anything about it :\/
Quote from: JMV on May 15, 2008, 04:35:15 PM
INSERT INTO `Boyah_TCG`.`card` (
`cardID` ,
`cardName` ,
`cardIMG` ,
`cardType` ,
`cardRarity`
)
VALUES (
'00000004', 'Ezlo', 'http://gtfoutsider.com/Ezlo.png', 'Useless', '1'
);
i hate you
Quote from: Commodore Guff on May 15, 2008, 04:36:51 PM
i dunno because i have no idea how jamie et al. are going to implement this
i guess they could just use that information and some fancy script of some sort to generate the actual card images
oh and also keep track of the cards i guess i dunno they haven't said anything about it :\/
omg you stole the secret docs
also super alpha beta alpha rc1 alpha final alpha v.0.0.0.02
[IMG]http://i32.tinypic.com/5ybxmp.png[/img]
Ha poor Guff.
Quote from: Clair on May 15, 2008, 04:53:41 PM
Ha poor Guff.
I've got the highest ATK rating. akudood;
They look amazing.
Quote from: Commodore Guff on May 15, 2008, 04:57:09 PM
I've got the highest ATK rating. akudood;
It isn't over till it is over. baddood;
i want a blue eyes white dragon akudood;
guys outsider is trying to beat us. we need to step it up.
where is bassir and ricky we need to make this a project. we need not ugly cards =|
ARE WE GOING TO HAVE PICTURES ON THEM?
Quote from: Genø on May 15, 2008, 05:25:35 PM
ARE WE GOING TO HAVE PICTURES ON THEM?
do you not notice the fucking image field =|
Quote from: Jules on May 15, 2008, 05:24:01 PM
i want a blue eyes white dragon akudood;
i have obelisk the tormentor akudood;
make my card pls
Quote from: Liquid on May 15, 2008, 05:27:04 PM
i have obelisk the tormentor akudood;
i have 3 blue eyes white dragons and that makes something else i forget the name but it's big and mean akudood;
Quote from: Jules on May 15, 2008, 05:36:14 PM
i have 3 blue eyes white dragons and that makes something else i forget the name but it's big and mean akudood;
is it Akudood the Killer of Everything?
hey Guff likes The Mountain Goats? that's cool
Quote from: Qualanx on May 15, 2008, 05:37:06 PM
is it Akudood the Killer of Everything?
Precisely. akudood;
Quote from: Snorkel on May 15, 2008, 05:37:20 PM
hey Guff likes The Mountain Goats? that's cool
that's what
i said!
I hope I get a Wrenchninja rookie card
Oh I never the shut up
you know what fuck you man.
Quote from: Your Posting Rival on May 15, 2008, 06:47:37 PM
I hope I get a Wrenchninja rookie card
I'll be sure to send you one signed.
This is stupid and a waste of time.
Quote from: Mr. Caravan on May 15, 2008, 07:20:11 PM
This is stupid and a waste of time.
Then they truly embody the virtues of Boyah
Quote from: Mr. Caravan on May 15, 2008, 07:20:11 PM
This is stupid and a waste of time.
you're stupid and a waste of time
Quote from: Mr. Caravan on May 15, 2008, 07:20:11 PM
This is stupid and a waste of time.
you're just saying that because outsider's going to beat you baddood;
I demand to see mine. baddood;
I LEARNED A NEW TRICK GUYS
<?php
// Make a MySQL Connection
mysql_connect("localhost", "*lol no*", "*lol no*") or die(mysql_error());
mysql_select_db("Boyah_TCG") or die(mysql_error());
mysql_query("INSERT INTO card
(cardName, cardATK, cardDEF, cardHP, cardIMG, cardType, cardDesc, cardRarity) VALUES('Karel', '80', '100', '150', 'http://karel.com', 'Former Demigod', 'He was once Forum', '5' ) ")
or die(mysql_error());
echo "Data Inserted!";
?>
Now I just need to figure out how to make it so each of those values are variables entered by the user and how to prevent injections. baddood;
Quote from: Vincent on May 15, 2008, 07:47:02 PM
<?php
// Make a MySQL Connection
mysql_connect("localhost", "*lol no*", "*lol no*") or die(mysql_error());
mysql_select_db("Boyah_TCG") or die(mysql_error());
mysql_query("INSERT INTO card
(cardName, cardATK, cardDEF, cardHP, cardIMG, cardType, cardDesc, cardRarity) VALUES('Socks', '75', '105', '175', 'http://usaa.mil', 'Pseudo', '2o ways to kill a man. Only one to do it right.', '3' ) ")
or die(mysql_error());
echo "Data Inserted!";
?>
Make sure my card is named guff'--
Quote from: Commodore Guff on May 15, 2008, 07:52:36 PM
Make sure my card is named guff'--
i already made your card you fag
JMV, is that gibberish supposed to mean something to me?
Mine shall be named "General Socks".
Quote from: Vincent on May 15, 2008, 07:58:24 PM
JMV, is that gibberish supposed to mean something to me?
Mine shall be named "General Socks".
that gibberish is what makes boyah possible :|
Quote from: JMV on May 15, 2008, 08:08:37 PM
that gibberish is what makes boyah possible
Show me what I want to see, dammnit. baddood;
Stop posting your goddamn behing-the-scenes thoughts. That's why they're behind the scenes. I know you want credit, but you can claim it when your work is finished, not when building hype for something that's going to completely suck or never be finished.
Quote from: JMV on May 15, 2008, 07:41:17 PM
Now I just need to figure out how to make it so each of those values are variables entered by the user and how to prevent injections. baddood;
Make HTML forms, give them names, and tie them with the php script using $_POST.
Quote from: Vincent on May 15, 2008, 08:10:13 PM
Show me what I want to see, dammnit. baddood;
srs phpMyAdmin is taking a nap
However, I did work on a new form.
<html>
<body>
<form action="BoyahTCG.php" method="post">
Card Name:<input type="text" name="cardName" /><br>
Attack:<input type="text" name="cardATK" /><br>
Defense:<input type="text" name="cardDEF" /><br>
Health:<input type="text" name="cardHP" /><br>
Image URL:<input type="text" name="cardIMG" /><br>
Type:<input type="text" name="cardType" /><br>
Description:<input type="text" name="cardDesc" /><br>
Rarity: <input type="text" name="cardRarity" /><br>
<input type="submit" />
</form>
</body>
</html>
That calls this file....
<?php
// Make a MySQL Connection
mysql_connect("localhost", "*stillno*", "*naw*") or die(mysql_error());
mysql_select_db("Boyah_TCG") or die(mysql_error());
// Insert a row of information into the table "card"
mysql_query("INSERT INTO card
(cardName, cardATK, cardDEF, cardHP, cardIMG, cardType, cardDesc, cardRarity) VALUES($_POST["cardName"], $_POST["cardATK"], $_POST["cardDEF"], $_POST["cardHP"], $_POST["cardIMG"], $_POST["cardType"], $_POST["cardDesc"], $_POST["cardRarity"] ) ")
or die(mysql_error());
echo "Data Inserted!<br>";
echo $_POST["cardName"]." created";
?>
Fuck i just tested it and it doesn't pass the information.
I'll try playing with quotes
Quote from: Mr. Caravan on May 15, 2008, 08:17:08 PM
Stop posting your goddamn behing-the-scenes thoughts. That's why they're behind the scenes. I know you want credit, but you can claim it when your work is finished, not when building hype for something that's going to completely suck or never be finished.
so, it will at least help me learn php and mysql stuff :|
Quote
Make HTML forms, give them names, and tie them with the php script using $_POST.
just did, I did something wrong though.
For example:
<form action="insert.php" method="post">
Card name: <input type="text" name="name" />
ATTK value: <input type="text" name="attk" />
<input type="submit" />
</form>
And the PHP file should be:
<?php
// Make a MySQL Connection
$con = mysql_connect("localhost","username","password");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("Boyah_TCG", $con);
$name = $_POST["name"];
$attk = $_POST["attk"];
mysql_query("INSERT INTO card
(cardName, cardATK) VALUES($name, $attk) ")
or die(mysql_error());
echo "Data Inserted!";
?>
Quote from: Mr. Caravan on May 15, 2008, 08:22:38 PM
For example:
<form action="insert.php" method="post">
Card name: <input type="text" name="name" />
ATTK value: <input type="text" name="attk" />
<input type="submit" />
</form>
And the PHP file should be:
<?php
// Make a MySQL Connection
mysql_connect("localhost", "*lol no*", "*lol no*") or die(mysql_error());
mysql_select_db("Boyah_TCG") or die(mysql_error());
$name = $_POST["name"];
$attk = $_POST["attk"];
mysql_query("INSERT INTO card
(cardName, cardATK) VALUES($name, $attk) ")
or die(mysql_error());
echo "Data Inserted!";
?>
Oh, I had the right idea, I just did it wrong. You need to convert the post shit into a variable before handing it to the insert function.
i'm probably using the wrong terms.
Quote from: JMV on May 15, 2008, 08:24:09 PM
Oh, I had the right idea, I just did it wrong. You need to convert the post shit into a variable before handing it to the insert function.
You don't have to, it just makes the script more organized and easier to use.
Quote from: Mr. Caravan on May 15, 2008, 08:25:03 PM
You don't have to, it just makes the script more organized and easier to use.
then what did I do wrong?
VALUES($_POST["cardName"], $_POST["cardATK"], $_POST["cardDEF"], $_POST["cardHP"], $_POST["cardIMG"], $_POST["cardType"], $_POST["cardDesc"], $_POST["cardRarity"] ) ")
Should each of those be in quotes?
Quote from: JMV on May 15, 2008, 08:25:38 PM
then what did I do wrong?
VALUES($_POST["cardName"], $_POST["cardATK"], $_POST["cardDEF"], $_POST["cardHP"], $_POST["cardIMG"], $_POST["cardType"], $_POST["cardDesc"], $_POST["cardRarity"] ) ")
Should each of those be in quotes?
try the variables baddood;
I found the problem.
You also did it wrong.
mysql_query("INSERT INTO card
(cardName, cardATK, cardDEF, cardHP, cardIMG, cardType, cardDesc, cardRarity) VALUES('$name', '$attack', '$defense', '$HP', '$IMG', '$Type', '$Desc', '$Rarity') ")
Now that it works I have a very simple method of actually creating cards. now i just need to make the interface not look ugly and i still need to do some error handling and stuff.
Does anyone know how to prevent auto_increment from incrementing over an empty table?
I had 6 things in the database, added a 7th, deleted it and then added another. Instead of making it 00000007, it made it 00000008 leaving me with no number seven.
This looks like it might actually not suck.
(http://i28.tinypic.com/2aigb2c.png)
IT'S SO UGLY, I NEED TO NEATEN IT OUT.
Quote from: JMV on May 15, 2008, 09:14:02 PM
(http://i28.tinypic.com/2aigb2c.png)
IT'S SO UGLY, I NEED TO NEATEN IT OUT.
JUST USE A TABLE TO ARRANGE THE TEXT BOXES AND TEXT IN SEPERATE COLUMNS
Quote from: bluaki on May 15, 2008, 09:32:40 PM
USE A TABLE TO ARRANGE THE TEXT BOXES AND TEXT IN SEPERATE COLUMNS
i tried and it went fuck you jmv
hey bluaki it works now. it turns out that i made a typo and forgot to close my table tag
how do i learn css :|
Current Version:
[IMG]http://i28.tinypic.com/e8stwl.png[/img]
Quote from: JMV on May 15, 2008, 09:52:25 PM
how do i learn css :|
Current Version:
[IMG]http://i28.tinypic.com/e8stwl.png[/img]
i luv that band :|
also i know css <3
You weren't kidding when you said crude Q('_' Q)
Quote from: JMV on May 15, 2008, 09:52:25 PM
how do i learn css :|
Current Version:
[IMG]http://i28.tinypic.com/e8stwl.png[/img]
well to add css to it you could do something like
<table style="text-color:brown;color:green">
CSS is extremely easy, just go to w3schools and go to the CSS tut. And on the left navigation, skip to CSS background other ones (except for how-to) are useless.
Quote from: CHAOS66 on May 15, 2008, 11:32:28 PM
well to add css to it you could do something like
<table style="text-color:brown;color:green">
CSS is extremely easy, just go to w3schools and go to the CSS tut. And on the left navigation, skip to CSS background other ones (except for how-to) are useless.
bluaki helped a bit, i have alternating shades of blue now.
Quote from: LiveOnTheEdge on May 15, 2008, 11:24:50 PM
You weren't kidding when you said crude Q('_' Q)
it's coming together nigs
there should be different types of cards
lands
members
events
and stuff
Quote from: reefer on May 16, 2008, 03:26:19 AM
there should be different types of cards
lands
members
events
and stuff
Lands: Powerspike, Boyah 1, Boyah 2, Valentrinne, Nsider, Banned Kampf, etc...
Events: BECOME HIME, Server crashed, post deleted...
You are pretty stupid. baddood;
you're not supposed to log your progress
Quote from: Mr. Caravan on May 16, 2008, 02:07:30 PM
You are pretty stupid. baddood;
you're not supposed to log your progress
sorryyyyyyyyyyy
bassir did i do good did i did i did i
my stats and card types better be awesome when it's finalized
otherwise i'm coming to your town jmv gonna cut you deep
Quote from: JMV on May 16, 2008, 02:11:33 PM
sorryyyyyyyyyyy
bassir did i do good did i did i did i
All you did is create a simple GUI for inserting values into a database. That's nowhere near completing the whole dumb thing.
Quote from: Mr. Caravan on May 16, 2008, 02:34:03 PM
All you did is create a simple GUI for inserting values into a database. That's nowhere near completing the whole dumb thing.
fuck you i worked hard ;-;
Wheres my card bitch
Quote from: JMV on May 16, 2008, 02:45:39 PM
those cards were examples =|
well shit nigga get to work
Quote from: Pele et al. on May 16, 2008, 02:47:51 PM
well shit nigga get to work
i still need to actually set the system up.
I've already got it setup.
Quote from: JMV on May 16, 2008, 02:48:25 PM
i still need to actually set the system up.
Are these going to be similar to the 4chan battle cards or whatever?
Quote from: Pele et al. on May 16, 2008, 02:47:51 PM
well shit nigga get to work
it's still a very early teasing concept jmv wanted to show for no reason besides causing pointless hype and confusion as well as pretty much boasting its impracticality and imminent failure
Quote from: Mr. Caravan on May 16, 2008, 02:59:13 PM
it's still a very early teasing concept jmv wanted to show for no reason besides causing pointless hype and confusion as well as pretty much boasting its impracticality and imminent failure
hey fag you could have put that in spoiler tags.