J
|
Jane 10/24/2006 |
Hi, function AddOnLoad() { //** Custom code **** // put your custom code here global $conn, $strTableName; $rs = db_query("select count(tgbNr) from _posteingang" , $conn); $data = db_fetch_numarray($rs); $Anzahl = $data[0]; $_SESSION["tgbNr"]=$Anzahl+1; }
|
D
|
dieter author 10/24/2006 |
Hi, here is the correct code for the PHPRunner 3.1: And then use $_SESSION["tgbNr"] as default value on the "Edit as" settings dialog on the Visual Editor tab.
|
![]() |
Alexey admin 10/24/2006 |
Dieter, |
D
|
dieter author 10/25/2006 |
Dieter, the code looks correct. Please show me the full error message.
|
D
|
dieter author 10/25/2006 |
The complete Error is: PHP ... Fehler ist aufgetreten Technische Information Fehlertyp 8 Fehlerbeschreibung Array to string conversion URL www......de/tagebuch1/_posteingang_add.php? Fehlerdatei /srv/www/htdocs/tagebuch1/_posteingang_add.php Fehlerzeile 205 SQL Abfrage And in Line 205 of _posteingang_add.php is: $defvalues["tgbNr"]=$_SESSION["tgbNr"]; best regards Dieter
|