Users browsing this thread: 3 Guest(s)
and It's GAMER404!
#3
I don't know C, just C++ and C#, and I have know idea what a doubly-linked-structure set is.
Your scaring me zee Tongue And I have about 2-3 years experience- I'm 13 dude.

Let's see what I have on this harddrive...

Quick PHP database setup script I wrote today:
PHP Code:
<?php
//connect
$con mysql_connect("$_POST[host]","$_POST[user]","$_POST[sqlpass]");
if (
$con)
  {
  echo 
"Connected to Host";
  }
else
  {
  die(
'Could not connect: ' mysql_error());
  }
//create cocoa database
if (mysql_query("CREATE DATABASE livefire",$con))
  {
  echo 
"Database created";

  }
else
  {
  echo 
"Error creating database: " mysql_error();
  }
//create user table
mysql_select_db("livefire"$con);
$table" CREATE TABLE users
(
Name varchar(15)
Pass varchar(15)
Email varchar(50)
AccType int(2)
)"
;
mysql_query($table$con);
echo 
"Table Intialized";
//create Admin Account
$admin" INSERT INTO users (Name,Pass,Email,AccType)
VALUES ('
$_POST[name]','$_POST[pass]','$_POST[email','2') ";
mysql_query($admin,$con);
echo 
"Administrator Account Created";
//Finish
mysql_close($con);
unset(
$con,$table,$admin);
echo 
"Process Complete!":
?>

Here's an SVG button:
Code:
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" version="1.1"
xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="grad1" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" style="stop-color:#9FE2F4;
stop-opacity:1"/>
<stop offset="100%" style="stop-color:#3EA0BB;
stop-opacity:1"/>
</linearGradient>
<linearGradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" style="stop-color:#FFFFFF;
stop-opacity:0.8"/>
<stop offset="100%" style="stop-color:#C1C1C1;
stop-opacity:0.8"/>
</linearGradient>
<filter id="screen">
  <feBlend mode="screen" in2="BackgroundImage"/>
</filter>
</defs>

<ellipse cx="110" cy="110" rx="100" ry= "100"
style="fill:url(#grad1)" stroke="black" stroke-width="1"/>

<circle cx="110" cy="80" r="70" style="fill:url(#grad2)"/>

<text x="110" y="110" font-family="Impact" font-size="32" style="text-anchor:middle">CLick Here!</text>
</svg>
I'm on a mac right now, so I don't have any C*/GML snippets. Plus, I'm a web junkie Big Grin
GML | C# | C++ | XHTML | CSS | Javascript | SVG | XML | SQL
[Image: gamer404sigqh9.png]
Proud member and moderator of XSoft Games.
Thanked by:


Messages In This Thread
and It's GAMER404! - by gamer404 - 06-06-2008, 01:09 PM
RE: and It's GAMER404! - by Zee - 06-06-2008, 01:37 PM
RE: and It's GAMER404! - by gamer404 - 06-06-2008, 01:58 PM
RE: and It's GAMER404! - by Zee - 06-06-2008, 02:39 PM
RE: and It's GAMER404! - by Pigyman - 06-06-2008, 03:09 PM
RE: and It's GAMER404! - by Geo the Fox - 06-06-2008, 04:15 PM
RE: and It's GAMER404! - by gamer404 - 06-07-2008, 09:33 AM

Forum Jump: