September 2010
M T W T F S S
« Dec    
 12345
6789101112
13141516171819
20212223242526
27282930  

Categories

Word Puzzle Maker in PHP

This program creates a word puzzle according to given input, then it can print out the key. It has three parts: puzzle.html, wordFind.php, wordFindKey.php. They are presented respectively:

puzzle.html

?View Code HTML1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
<title>Word Puzzle Maker</title>
 
<style type = "text/css">
body{
background: tan;
}
</style>
</head>
<body>
<center>
<h1>Word Puzzle Maker</h1>
 
<form action = "wordFind.php"
[...]