|
|
|
> I wrote a simple code like this:
>
> $textarea = < a query to some SQL engine that returns a BLOB >;
>
> $lines = explode( "\n", $textarea );
> $linesno = count( $lines );
>
> The above was ment to read some blob from a SQL engine, and then explode
> it to an array so that every line goes to one array element. It didn't
> work. Why?
This should work, but only if you actually have new-line characters in
your blob. Are you sure you do?
You can check it with:
if(strstr($textarea,"\n")) echo "Yes";
If that doesn't print "Yes" you know you don't have \n's in your blob
data.
|
|
| Point and Click Interface ala MS Access for creating SQL statements. Categories : MySQL, Complete Programs, General SQL, PHP, Databases | | | Is there some possibility to link a database to an htaccess file, so that instead of having a passwd file you would have a database with DES-crypted password and username fields? Categories : Authentication, PHP, General SQL, Databases | | | mysql_escape_string Categories : PHP, MySQL, Databases, Strings | | | This function will populate the options in a drop down HTML select list
in a form from a database query.
Categories : MySQL, General SQL, PHP, HTML and PHP, Databases | | | I`d like to use the mysql_fetch_row function along with a "randomizer"
function that would give me a random result from a mySQL table. Categories : General SQL, MySQL, PHP, Databases | | | Mimic ASP's GetString function with PHP Categories : PHP, Databases, MySQL, Strings | | | phpEasySQL - Easily connect to your MySQL database with just 1 php file and 3 easy steps! Categories : Databases, PHP, MySQL, General SQL | | | Logs hits to any page which includes it. Automatically utilises page access information left behind by PHP/FI2.0. Categories : Databases, PHP, mSQL, Databases | | | Sql Builder Categories : PHP, HTML and PHP, Databases, General SQL, Form Processing | | | This is a class with functions that are taken from simple SQL statements.
I made it to have an easier connection between PHP3 and DBase files. Categories : General SQL, PHP, PHP Classes, Databases | | | Dynamic WHERE CLAUSE depending on number of FORM FIELDS Categories : ODBC, General SQL, PHP, Complete Programs, Databases | | | Phorum, MySQL, Language, UK date format, MySQL UK Date format Categories : PHP, Date Time, Strings, MySQL, Databases | | | Persistent connections - General information. Categories : General SQL, PHP, Databases | | | google like search function with bolded search terms Categories : PHP, Search, Databases, General SQL | | | This program allows you to upload an ODBC ressource - i.e. an MS-Access database to a MySQL server. Categories : Databases, MySQL, Complete Programs, PHP, Databases | |
|
|
|