line

Add to any feed reader

TestFest 2008

The PHP-QA team would like to announce the TestFest for the month of May 2008. The TestFest is an event that aims at improving the code coverage of the test suite for the PHP language itself. As part of this event, local User Groups (UG) are invited to join the TestFest. These UGs can meet physically or come together virtually. The point however is that people network to learn together. Aside from being an opportunity for all of you to make friends with like minded people in your (virtual) community, it also will hopefully reduce the work load for the PHP.net mentors.All it takes is someone to (more…)

Download Oracle Clusterware for Linux

Oracle Unbreakable Linux support customers at the Basic and Premier support levels can download and deploy Oracle Clusterware at no additional license fee or support cost. (more…)

PHP UPDATE and SET Syntax (1 reply)

Ok, new here and new to php and mysql so been web browsing to figure out a database i would like to create.

The database is to keep track of my pc’s, their mac id etc.

from google i have come up with the following, bear with me;

I have 5 pages thus far, I know security on them is weak, but they are for local server only, i know to add the mysql connect info to another page, but this is a work in process

the ones i am having difficulty with are edit_form.php and edit_data.php

edit (more…)

MySQL Apostrophe trouble (no replies)

I’ve tried the mysql_real_escape_string but being a first grader at PHP and MySQL I’m probably using it incorrectly.

My form code is

$payment = $rec[’payment’];

$comments = $rec[’comments’];

mysql_query("INSERT INTO `tablename` (payment, comments) VALUES (’$_POST[payment]’, ‘$_POST[comments]’)");

echo "<a href=\"etc?

and I’ve tried

$comments = mysql_real_escape_string($rec[’comments’]);

and a few other combinations with no (more…)

End Query with \G instead of ;

You can use \G instead of ; for tables with lots of fields.

mysql> SHOW STATUS LIKE ‘Qcache%’;
+————————-+———–+
| Variable_name | Value |
+————————-+———–+
| Qcache_queries_in_cache | 6990 |
| Qcache_inserts | 6990 |
| Qcache_hits | 3987 |
| Qcache_lowmem_prunes | 0 |
| Qcache_not_cached | 621 |
| Qcache_free_memory | 176329432 |
| Qcache_free_blocks | 1 (more…)

Next Page »