Jump to content


Member Since 06 May 2003
Offline Last Active Yesterday, 12:58 PM

Posts I've Made

In Topic: Smarty PHP help

Yesterday, 01:02 PM

Smarty is primarily HTML markup with some logic blocks.  Data gets injected and the logic blocks work and you get output.  What else is there to it that is confusing?  They have solid documentation as well.  


You need to clarify exactly what you are "stuck" on.  

In Topic: Anyone know of a good vertical scrolling news bulletin plug in?

Yesterday, 12:56 PM

I hear Google is pretty good for that type of search.

In Topic: What am I doing wrong? Sending variables to PHP

26 September 2014 - 01:24 PM

Cronix is right.  You should use firebug to determine if the ajax call is happening.  In your code snippet, I don't see you doing a session_start() at the top either.

In Topic: MySQLi and Php problem

26 September 2014 - 01:15 PM

Some of the values you are inserting in the query contain strings.


String values need to be wrapped in quotes. They should also be sanitized so they are are handled safely in the query.


Or better still, use a prepared statement and bind the parameters.   See http://php.net/manua....bind-param.php



$stmt = $con->prepare("INSERT INTO mxit (ip,time,user_agent,contact,userid,id,login,nick,location,profile)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)") or die(mysqli_error());
$stmt->bind_param("ssssssssss", $ip, $post_time, ..... etc);

printf("%d Row inserted.\n", $stmt->affected_rows);

In Topic: Is CakePHP 3.0 ready for use?

20 September 2014 - 09:30 PM

CakePHP 3.0 is now ready to use as well as you can download it. In addition, you can learn easily via online tutorial and implement it in your programming.


And it's still 3 years late to the game, and way behind the alternatives.

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime