no save
Assistance
Achat
News

Forum | programmation
[Php] Utilisation de variable
ZIG1, le mer. 28 déc. 2005 à 17:39:12
PhpInfo trouve toutes ces variables là
_REQUEST["tip"]
_REQUEST["service"] (c'est celle là qui m'intérresse)
_REQUEST["fonction"]
_REQUEST["UNADFI_data"]
_REQUEST["wanewsletter_data"]
_REQUEST["UNADFI_listeid"]
_GET["tip"]
_GET["service"] (elle m'intérésse toujours)
_GET["fonction"]

Pour ce qui est de mon code ... c'est le tuto de PEAR Spreadsheet_Excel_Writer ...

require_once 'Spreadsheet/Excel/Writer.php';

// Creating a workbook
$workbook = new Spreadsheet_Excel_Writer();

// sending HTTP headers
$workbook->send('test.xls');

// Creating a worksheet
$worksheet =& $workbook->addWorksheet('My first worksheet');

// The actual data
$worksheet->write(0, 0, 'Name');
$worksheet->write(0, 1, 'Age');
$worksheet->write(1, 0, 'John Smith');
$worksheet->write(1, 1, 30);
$worksheet->write(2, 0, 'Johann Schmidt');
$worksheet->write(2, 1, 31);
$worksheet->write(3, 0, 'Juan Herrera');
$worksheet->write(3, 1, 32);

// Let's send the file
$workbook->close();

Dans lequel j'ai ajouté la récupération de variable (qui merdouille) pour faire une requête :D

PrécédentB@|-|@N
déc. 05
B@|-|@N
déc. 05
Suivant
REPONSES
B@|-|@N
déc. 05
ZIG1
déc. 05
B@|-|@N
déc. 05
ZIG1
déc. 05
B@|-|@N
déc. 05
ZIG1
déc. 05
B@|-|@N
déc. 05
ZIG1
déc. 05
B@|-|@N
déc. 05
ZIG1
déc. 05
Version Web
Réalisé par RedShift
no save