Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

64 users online



PHP, DBM Databases, and Flash

PHP, DBM Databases, and Flash

Currently viewing this thread: 1 (0 members and 1 guests)


Page 2 out of 2
Matthew_Aaron

Matthew_Aaron

Status: Offline!

Darn... it didn't work - please help

___________________

- Matthew McVickar

bernie

bernie

Status: Offline!

i didnt see a db on ur server???

___________________

http://www.langleywd.com/sig.gif

abendagar

abendagar

Status: Offline!

I thought you new PHP, the script I gave you wasn't PHP it just explained how you can do it. Heres the PHP, you need to add a database and stuff, but you'll be able to figure it out.

PHP:

<?php

// File: count/test.php

require ('../config.php');

$sql "SELECT * FROM counter WHERE counterid='$id'";
$result mysql_query($sql);
$row mysql_fetch_array($result);
$count $row["count"];

$count++;

echo 
"&count=".$count;

$sql "UPDATE counter SET count='$count' WHERE counterid='$id'";
$result mysql_query($sql);

?>

___________________

Live Tronix - http://www.livetronix.com
Help 4 Flash - http://www.help4flash.com

Page 2 out of 2
Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0167 seconds.