Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
If everyone could sign this (and Relsoft, take a look ;*) )
#1
http://thegeekery.org/relbook/
Take a look, and sign it if you please. Smile
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#2
Ahhhh noooo, sorry zack i misspellt my name and accidentally pressed enter instead of backspace. =P could u remove the other post, thanx ;-)
Reply
#3
Sure thing...*flips open phpMyAdmin*
I love MySQL. Smile
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#4
Very cool Wink
Reply
#5
PJ keeps on making me laugh... Smile
And speaking of MySQL, what was that method of obtaining data from tables that you showed me? With arrays?
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#6
Code:
// Define sql

$sql = "SELECT foo, joe AS bar
  FROM blah
  WHERE condition
  AND other_condition
  LIMIT number, number";

// Do query
if ( !$result = @mysql_query( $sql ) )
{
  // die, with nice, formatted output. I suggest a function for this
  die('
Database Query Error!

' . mysql_error() . '
$sql
Line: ' . __LINE__ . ', File: ' . __FILE__);
}

// Get each result, and store it in $row as we go
while ( $row = mysql_fetch_array( $result ) )
{
  // Do what you will with each result
  $foo = $row['foo'];
  $joe = $row['bar'];  // Note, the AS bar clause means joe is in bar
}

[end oracle's quick db tutorial]

Wink
Reply
#7
Oooh! I really have to study MySQL more in-depth...
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#8
OMG!!! This is cool!!! Knowing you peeps care makes me well already. :*)

Big Grin
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#9
I'm getting oodles of mysql errors, but he're a toast to rel.

*toast*

get well soon, buddy Wink
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#10
Done. Wink
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)