John,
I think your best option is to convert their format to XML and then use the
XML to drive your quiz system.
Should be pretty straightforward to convert to XML, cause you don't have to
worry about exploding stuff. You just have to match patterns and use
str_replace.
Chris
-Original Messa
ting
information, though I'm not quite sure how to interpret.
Can someone provide some depth to the mechanisms within the
header(location)?
Thanks in advance,
Chris Hubbard
[EMAIL PROTECTED]
www.wildcharacters.com
425 481 2020
php based web application development
[[ check out phalidate, a da
Sara,
You're on the right track. You've created your functions, but they need
some work before they can be used.
Starting with getTax()
you've got a naming convention conflict, while not necessarily a problem,
it's bad style. Instead of $item as the parameter for the function, use
something like
Sara,
Try this:
$count = count ($Classes);
for($i=0; $i<$count; $i++){
$CurrentIndexValue = key($Classes);
$CurrentContents = current($Classes);
echo "$CurrentContents";
next($Classes);
}
instead of the for loop you're using.
currently you're doing a next first, w
Bas,
Looks interesting. But why would I use bhtml when I've got Smarty and
10,000 other templating systems to choose from?
I'm not interested in the vauge promises of speed. I'm only interested in
systems that make it easier for me to code. Smarty makes it easier for me
to code. How does bhtml
John,
thanks for the quick response. If it had been a snake it would have bit me.
Thanks. I was trying to do it the hard way.
Chris
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 1:20 PM
To: Chris Hubbard; [EMAIL PROTECTED] Php
1.tmp (errno=2 - No such file or
directory) in G:\web\domain.com\d\g\functions\fn_data.php on line 41
Right now the function returns "error".
I've searched the MARC archives, I've searched Google, I've read the manual
and contributed notes.
Any suggestions?
Thanks in advance
Bas,
Based on your (somewhat limited) requirements, I recommend that you look at
using Uma.
http://sourceforge.net/projects/uma/
It's easy to use, and you can drop it into your application without any
trouble.
Chris
-Original Message-
From: Bas [mailto:[EMAIL PROTECTED]
Sent: Friday, Oct
Jake,
given that I can't see what is in config.php time.php, I'll focus on your
index.php. I assume that the issues I point out will be applicable to
config and time also.
this:
if ($_POST["SuBmIT"])
{
// make sure posted variables are clean and are the kind you expect
if ($_POST
] = $id;
$_SESSION["name"] = $data["name"];
$_SESSION["email"] = $data["email"];
header("Location:
http://ubb.atlantic-records.com/gallery/admin/index.php";);
}else{
// if name and pa
Jake,
it would be helpful if we could see your code.
That said...
first you need to identify what information you need to track in the
sessions, and whether you're going to use php sessions (the $_SESSIONS
array) or build your own mysql based session tracker.
to use php sessions:
you will need s
esn't have the
word "refresh" on it.
this page: http://www.w3.org/Protocols/rfc2616/rfc2616 doesn't have the word
"refresh" on it.
this page: http://us4.php.net/manual/en/function.headers-sent.php does have
the word "refresh" but it's not relevant.
Than
Raquel,
this is an HTML question, not PHP. And here's the answer:
The following goes in the < head > section of your html:
-Original Message-
From: Raquel Rice [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2003 10:13 AM
To: PHP-General
Subject: [PHP] PHP & CSS
I'm currently build
I think the BEST php editor "out there" is Microsoft's Visual Studio.
Here's some of the reasons I think Visual Studio is the BEST
1. None of that annoying syntax highlighting that you find in many other
editors
2. Unlimited technical support (at only $245 per call)
3. At $1000 - $2500 per copy
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 9:30 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: PHP code generation
What are the example of code generation project? Are you referring to the
generation of the random characters?
"
I'm working on a code generation project. Is there anyone on the list who
has experience building these things, and, would like to discuss
architecture/patterns/structure of code generation off-list?
Chris Hubbard
[EMAIL PROTECTED]
www.wildcharacters.com
425 481 2020
php based web applic
I
recommend htmlarea, it's _javascript_, not java.
http://www.interactivetools.com/products/htmlarea/
there's a couple similar scripts available.
chris
-Original Message-From: Todd Cary
[mailto:[EMAIL PROTECTED]Sent: Friday, September 05, 2003
6:48 AMTo: [EMAIL PROTECTED]Subj
Vince,
You also need to escape the $, so instead of
." if ($_GET..
use
." if (\$_GET.
You may have to escape the single quotes.
I have written two pretty lame code generators. The first one did not use
"templates", the second one does. You've got the lines of code in your
"builder" scri
Jacob,
Yes I've used imagemagick with php. I found that none of the online
documentation worked for me. I was unable to use the imagemagick class and
the tutorials seemed to refer to older versions.
That being said, here's some code that does work, maybe you can extrapolate
from it.
Feel free to
ld be that your register_globals is off...maybe.
David
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of J. Cox
Sent: Thursday, July 24, 2003 8:26 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: PHP should know my data!
"Chris Hubbard" <[EMAIL PROTECTED]> wrote i
Hmm. You're right. Maybe something like the following would help:
". $rs ."";
?>
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 2:24 PM
To: Chris Hubbard
Cc: John Manko; PHP General
Subject: RE: [PHP]
Now this is funny. John, you've captured the irony of a number of recent
posts. Congrats. Been a while since I laughed this hard. Cobol. egad.
That's a nice touch.
Thanks for the levity.
chris
-Original Message-
From: John Manko [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003
Mike,
the easiest way to do this would be to use smarty. (smarty.php.net)
abstract out your language specific strings into a file that is called by
the template. Use a variable to define the language and use an assign to
dynamically change the language file in the template.
Then build a function
Not sure why you don't want to submit the form. But if you really really
don't want to "submit the form" then you have to use javascript.
If you're willing to submit the form, then this is relatively simple,
depending on how you want to display the data.
if you're willing to submit, then step thro
24 matches
Mail list logo