Showing results 1 to 11 of 11
Search took 0.01 seconds.
Posts Made By: Darkmeerkat
Forum: PHP Nov 12th, 2007
Replies: 22
Views: 1,887
Posted By Darkmeerkat
Re: T_STRING error? i cant find it

What's get_header? It's not a PHP function, and you've not defined it in the code you've posted, so PHP doesn't know what you're trying to do. If you want to include 'header.php' in your file, use...
Forum: PHP Nov 12th, 2007
Replies: 2
Views: 829
Posted By Darkmeerkat
Solution Re: Using mysqli_bind_param with an unknown number of variables

Aha! I learned of a much cleaner and quicker way to do this. It turns out PHP provides a function just for circumstances in which you need to call these kinds of functions variably,...
Forum: PHP Nov 11th, 2007
Replies: 2
Views: 829
Posted By Darkmeerkat
Solution Solution

I've hacked a solution out to my own problem; it's a really messy hack, but it seems to work. Instead of calling bind_param directly, I use create_function so I can dynamically generate the call to ...
Forum: PHP Nov 10th, 2007
Replies: 2
Views: 829
Posted By Darkmeerkat
Question Using mysqli_bind_param with an unknown number of variables

I'm trying to write a little wrapper for executing MySQL statements, and I've run into a wall trying to use mysqli_bind_param without knowing the number of variables I'm binding. Here's what I've...
Forum: C++ Feb 27th, 2007
Replies: 8
Views: 1,171
Posted By Darkmeerkat
Question Re: C++ / Exceptions

Thanks, I can do that.
Just out of curiosity, is there any way to write this with more of a "RAII (http://en.wikipedia.org/wiki/RAII)"-ish behavior, without having to split acquisition and...
Forum: C++ Feb 27th, 2007
Replies: 8
Views: 1,171
Posted By Darkmeerkat
Question C++ / Exceptions

I'm having some trouble understanding how Exceptions thrown from constructors work...

Let's say I have a class like this:

class A {
public:
A() {
if( error )
...
Forum: C++ Jun 26th, 2006
Replies: 4
Views: 1,108
Posted By Darkmeerkat
Solution Re: Header FIles

That worked, thanks!

That was just a simple example; the program I was having trouble with was kind of long, so I figured I'd just make a smaller one that cut right to the problem.

Thanks for your...
Forum: C++ Jun 26th, 2006
Replies: 4
Views: 1,108
Posted By Darkmeerkat
Help Header FIles

Hello,
I've got three files, main.cpp, test.h (the header file), and test.cpp, (implementation of test.h).

Both main.cpp and test.cpp #include test.h, but I don't seem to be able to get test.h to...
Forum: JavaScript / DHTML / AJAX Jun 3rd, 2006
Replies: 3
Views: 4,558
Posted By Darkmeerkat
Re: Full screen

That's in Internet Explorer; Firefox will refuse to close the window at all.
(And the "fullscreen" window Firefox generates will just be a normal size windows sans the top toolbars.)
Forum: HTML and CSS Jun 1st, 2006
Replies: 10
Views: 3,944
Posted By Darkmeerkat
Re: help: how to make my own forum

Several forum packages are available for free, almost all of them are written in the PHP (http://www.php.net) language alongside a MySQL (http://www.mysql.org) database. You will want to make sure...
Forum: PHP May 31st, 2006
Replies: 2
Views: 691
Posted By Darkmeerkat
Re: help in faqs

PHP's official documentation (http://www.php.net/docs.php) is very thorough; they also maintain a complete and documented list of PHP's functions (http://us2.php.net/search.php).
Tizag.com...
Showing results 1 to 11 of 11

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:13 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC