[pmwiki-users] Data storage project
The Editor
editor at fast.st
Sun Jul 30 14:27:25 CDT 2006
Hi all!
In addition to figuring out how to set the page variables (critical)
I'm also needing help with two minor problems:
1) Anyone have a simple standalone markup that could be used for a
<select> pull-down menu and options?
2) I'm trying to do some data proofing of the data storage recipe by
making sure field values only have acceptable characters.
Unfortunately, this line does not seem to be working properly as other
symbols are getting through:
if (ereg("[A-Za-z0-9 :.?()-]",$value)) {
Do some of those symbols have special meaning messing up this function in ereg?
And of course, last, but MOST important, still looking for help
rewriting the FmtPV line below, as page variables are not being set
foreach ($db as $df) {
$dv = explode ("=", $df);
$field = $dv[0];
$value = $dv[1];
// return "$field + $value";
$FmtPV['$field'] = '$value';
}
Thanks in advance!
Cheers,
Caveman
More information about the pmwiki-users
mailing list