1
pvtpyro
Getting id from sql into a page
  • 2006/7/26 20:08

  • pvtpyro

  • Just popping in

  • Posts: 67

  • Since: 2005/2/24


ok here's what i have on a new module.


// the name of the xml file
$file "blah.xml";

// the data
$data "1.0"?>n";
$data .= "n";
$data .= "tTag Datan";
$data .= "";

// open the file and write the data to it
$p fopen$file 'w' );
$w fwrite$p $data );
$c fclose$p );

// a message
echo "The data was sucessfully added to the file $file";

?>


i'm trying to figure out how to replace the "blah" in blah.xml with the users id. Or even username. anything unique.

Do i make any sense to anyone?

Login

Who's Online

425 user(s) are online (318 user(s) are browsing Support Forums)


Members: 0


Guests: 425


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits