Search found 3 matches

by neojawbreaker
Tue Sep 28, 2010 12:53 pm
Forum: PHP - Code
Topic: else/elseif question
Replies: 2
Views: 86

Re: else/elseif question

Using = means you are setting something equal to something else.

You need to use == which is the comparision operator. For example. . .

$var = 5;

if ($var == 5) {echo $var;}
by neojawbreaker
Tue Sep 28, 2010 12:12 pm
Forum: PHP - Code
Topic: Storing PHP Code in an Array
Replies: 7
Views: 277

Storing PHP Code in an Array

I want to store PHP code in a 2 dimensional array to be recalled later but I am having trouble. Basically my array looks like this. . . // var_name = name of variable used in form // var_type = type of variable (integer, string, bool, etc.) // form_code = html code used in search form // php_code = ...
by neojawbreaker
Mon Jul 19, 2010 7:28 pm
Forum: Databases
Topic: PHP with HTML 'database'
Replies: 4
Views: 883

PHP with HTML 'database'

Hello, all. I am interested in designing a website for a local group. Currently, we use a WYSIWYG editor from the website host. It is fine, I suppose, but the current people involved in making the website are not very good at web design even with a WYSIWYG editor (yikes!) so I want to have a very ri...