hi there for my final year project I'm aiming to build a php script shell to use as an expert system ( I got a feeling this is gonna be difficult, VERY )
The idea is that i create txt / csv file with questions like
1, "How old are you?" , "10", 2 ,"11", 3 , ( where 2 and 3 is the next set of nodes )
2, "Do you like sports?", "yes", 4 , "No", 5
3, "Do you like music?, "Yes", 6 , "No" , 7
At the end of the questions it will somehow produce some html files i've already created which would be the knowledge.
Using this file I need to create a script that supposedly will use the fgetcsv function. I know in the script will need some html code to produce check boxes for the questions and choices. So basically this script can be used by anyone that doesn't know how to program. All the user would have to do is create a decision tree and edit the txt file. I will be using this for my own project.
This is the spec ??? My project handing deadline is 1st May 2009 so ideally I want to be able to finish this by about 1st April for evaluation. The earlier the better.
I've been trying to study php but I just can't seem to piece it together and don't know where to start.
I would like some help please. I not asking for you guys to do it for cause I want to prove to myself I can do this. What I would like is if you guys could kindly give me some pointers such as areas I should look at more. I'm prepared to work hard for this, i just need a tiny bit of help
Format timestamp from mysql
When I tried this:Code: date("m/d/Y H:i A", $row['timestamp'])I got 12/31/1969 18:33 PM, so I know the time section is working at least. How can I get the mm/dd/yyyy section to work
Securing a user input - need some confirmation
Hello All,I am in the process of recoding a large proportion of an e-commerce site, one of the problems is that there are a few security issues floating around.I have a search box which was originally
check comment for html
hi, I just wanted to check if a comment a user posts contains HTML, and if it does, to not allow it to be posted.this is my current php, any help would be very much appreciated! thanks.Code:
'210010106140040100' == '210010106140040101'
Debugging this simple line of a PHP scriptCode: if($a == $b){ } I've found that with value of$a = '210010106140040100' (type = string)$b = '210010106140040101' (type = string)the result of the
CURL XML Request [From C to PHP]
Hi, I need some help converting this into something that will work with PHP.Code:
Simple image grab script.
I was wondering if it was possible and if anyone knew how to make a simple php script that looks at one specified directory and makes <img src="*.*" \> type links out of it?ive
Greek characters in php
Hi,I'm making a script and I m using for first time greek characters.I started to write a simple drop down menu that loads some city names from the database. The names are in Greek in the database and
Validating time
Hi Guyswhat do you think of the following approach to validate a 24hour time:http://snipplr.com/view/23007/validate-time/Are there any better approaches ?
Share admin accross websites
I'm using .net memberships and roles in one of my sites, but I need to be able to share logins and passwords for admins accross multiple sites that use a custom database for security. How would I go
Code error with Index.php
Error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/runevid/public_html/index.php on line 25<html><head><title>CrazyQuest -