Hi,
For a study purpose, I'm looking for a small open source program that works
in PHP-MySQL. In particular, I would like to see some examples with PHP 5
and Object-Oriented Programming (such as class, objects, and so on).
I'm looking for a small program, possibly like blog, wiki, forum and so on.
Thanks all. Looks like some tutorials and the survey system look a very good
start to me.
Especially the code of UCCASS looks very readable.
Thanks a bunch.
>
Hi,
I would like to use constructor in PHP4, but how do you make a constructor?
In PHP5, I do like
class ClassName {
function __construct() {
}
}
But PHP4 doesn't have such a thing as __construct()... Reading the
official manual didn't make me understood. Does this mean the very
firs
Thanks guys!
I got the same name trick for PHP 4 class constructor.
All the best,
T
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have a form with a button, which adds user inputted data into
database. I've been looking for a way to prevent users from pressing
the same button twice mistakingly.
I've learned that this is possible to make and send a unique id in
hidden input, and check if the id is used before database
Thank you for answering my question. Can anybody explain a simple
JavaScript only solution? I haven't used JavaScript except for some
copy-and-paste jobs.
Tek
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have to parse csv files and put them into database. I was able to
parse the files by fgetcsv() and made an HTML table. But, when it
comes to parse more closely and make "INSERT INTO" statement, then I'm
having problems with, probably "for-loop".
For example, how do you do this task with the
> mysql_query ("INSERT INTO users (First,Last,Phone,Mobile,Email,Web) VALUES
> ('$first_name','$last','$phone,'$mobile','$email','$web') ");
>
> echo('$username','$last')
This doesn't work. You need to make a variable for the executed query, like,
$query = mysql_query(.);
After that, you get