table is named exan and the other dynamite.)
Thank you very much for your help.
I have been searching google but can't find anything about this question.
Karl
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http
into a try block?
Thanks,
-KJW
Proverbs 3:5-6
Are you aware that there is a setting to control whether PDO objects throw
exceptions, warnings, or nothing? By default it does nothing except set
the error code and message.
See http://uk3.php.net/manual/en/pdo.error-handling.php
--
Niel Archer
Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
configuration file for this setting the client to
use the plugin (enable-cleartext-plugin) then:
mysqli_options(MYSQLI_READ_DEFAULT_FILE,'myother.cnf');
to use those settings on the connection.
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net
.;
return $row;
}
TIA
Karl DeSaulniers
Design Drumm
http://designdrumm.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database
use an
array inside a double-quoted string like that, change it to be wrapped
in braces like:
$rs_duplicates = mysql_query(select id from users where user_email='
{$_POST[email]}');
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net
Software Foundation\Apache2.2\htdocs\a.php* on line *2
*Please guide me as to how can I get rid of this error?
Regards,
Kushal
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
After your mysql_select_db() there is a closing brace without matching
open. This will be causing an error in that php block.
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is not a PDO statement. It belongs to the PECL SQLite
extension. This extension is quite old and is superseded by the SQLite3
extension and/or PDO.
Thanks!
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Niel Archer
niel.archer
Encouragement from Gods Word
http://www.TheVerseOfTheDay.info
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Could you show the actual code, not just the query. The way you are
setting up the query could be affecting it. i.e. using single quotes when
assigning to a variable would not work with your query.
--
Niel Archer
niel.archer
A simple example would be:
$where ' ';
if (isset($ste)) {
$where .= site = '$ste';
}
if (isset($wgt)) {
$where .= , Weight = '$wgt';
}
$sql .= WHERE $where;
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http
a look at
http://dev.mysql.com/doc/refman/5.0/en/insert.html
Specifically you can use your idea to build an INSERT/VALUE version of
the syntax
INSERT INTO table (col1, col2, .colN.) VALUES (col1Value1, col2value1,
colNvalue1), (col1Value2, col2value2, colNvalue2), ...
--
Niel Archer
niel.archer
command.
It can be done, IF the MySQL server allows you to do it.. Check the
servers configuration.
How do I do it? Code samples, please.
Thanks.
Ethan
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Niel Archer
)
VALUES (%s, %s, '%s', '%s', '%s', '%s'),
$_POST[Class_ID],
$_POST[prid],
mysql_real_escape_string(parseNull($_POST['Company'])),
mysql_real_escape_string($_POST[Phone]),
mysql_real_escape_string($_POST[Email]),
mysql_real_escape_string($_POST['Registrant']));
--
Niel Archer
niel.archer
...
to AND `Bible_trivia_category_reference` != ( SELECT ...
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
is appreciated.
Eli
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
And try var_dump()ing the complete query to make sure it looks as you
would expect.
Any help is appreciated.
Eli
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Niel Archer
niel.archer (at) blueyonder.co.uk
On Tue, May 18, 2010 at 2:51 PM, Niel Archer n...@chance.now wrote:
Is there a different syntax to the mysql delete statement when the
WHERE
clause points only to half of the primary key?
The structure is as follows:
CREATE TABLE IF NOT EXISTS ` table1` (
`id1` int(10
/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$pdo = new PDO('pgsql:host=localhost;port=5432;dbname=mydb', 'dbuser',
'dbpass');
(I think - I've yet to be able to debug it down to a single line)
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
in the
/home/virtual/site#/root directory to no avail.
Any ideas how to make this work or even a better set up?
Thanks in advance.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Niel Archer
niel.archer
://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, visit: http://www.php.net/unsub.php
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/unsub.php
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
driver.
More information can be found in the MySQL manual on upgrading from v4.0
to v4.1
http://dev.mysql.com/doc/refman/4.1/en/upgrading-from-previous-series.html
http://dev.mysql.com/doc/refman/4.1/en/old-client.html
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List
basic maintenance work
or carry out automated tasks.
Thanks,
Vinay
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
you would do better to raise these issues on the internals lists, either
intern...@lists.php.net or internals-...@lists.php.net
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
());
If you are aliasing a column it is better to use the optional AS keyword
to avoid confusion.
MySQL's DATE function returns dates formatted as '-MM-DD' so DATE_FORMAT
is not needed here.
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net
to use the optional AS keyword
to avoid confusion.
MySQL's DATE function returns dates formatted as '-MM-DD' so DATE_FORMAT
is not needed here.
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http
have received this e-mail in
error, please contact the sender and delete all copies.
Thank you for your cooperation
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
reading of the documentation is
correct. But as far as I can tell no escaping is performed on PDO::query
or PDO::exec other than what you do yourself, so you have the same risks
that need to be addressed.
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http
here:
http://uk.php.net/manual/en/book.mysqli.php
It has links to the appropriate function references for the MySQL
Improved interface.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Niel Archer
niel.archer (at) blueyonder.co.uk
http://www.parasane.net/ || http://www.pilotpig.net/
Check out our great hosting and dedicated server deals at
http://twitter.com/pilotpig
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Niel Archer
--
PHP Database Mailing List
_
// Diseño Comunicación //
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
not to do a link between tables in PHPMyAdmin?
Thank you very... VERY... much!
If you are using MySQL 4.1 or later you should use the mysqli extension
and not the older mysql one. UNLESS you are relying on the older style
passwords, which is a BAD idea.
--
Niel Archer
--
PHP Database
--
Niel Archer
niel.archer (at) blueyonder.co.uk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the double quotes in a single
quoted string
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Niel Archer
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
backslash to escape the backslash for
phpMyAdmin, I do not remember how that works with phpMyAdmin.
--
Niel Archer
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
they're after SUM
SELECT SUM(price) WHERE available = 1;
would total the values in the returned row's price column
--
Niel Archer
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Is this a compatability error? or is there a better way to write this?
--
Niel Archer
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
You do not say how you identify the last call (there is no date/time
field for example), so a complete answer is not really possible
Do not use NOT LIKE 'Completed', it's an inefficient way of doing !=
'Completed'
--
Niel Archer
--
PHP Database Mailing List (http://www.php.net
to
make the connection. This should get you started
SELECT * FROM Table1 RIGHT JOIN Table2 USING (idequipomed) WHERE
Table1.idequipomed
IS NULL
--
Niel Archer
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
+white-space combination to indicate multiple line entries. Is it
possible your e-mail header fields are doing this and your access to the
headers does not take this possibility into account? Without your POP
handling code it's impossible to say whether this is your problem or not.
--
Niel Archer
Hi
Does anyone know how to look for a Curly quote or typographer's quotation
mark.
Do you mean the equivalent of the left and right double quote entities
in HTML (or 66's and 99's as we called them at school)?
--
Niel Archer
--
PHP Database Mailing List (http://www.php.net
afraid I can't help. You would be
better trying a list dedicated to ajax.
--
Niel Archer
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Your variable value is not being inserted because you have used single
quotes for the echo, not double quotes as the nabble example does.
Special characters and variables are only interpreted in double quotes,
they are treated literally in single quotes.
--
Niel Archer
--
PHP Database Mailing
results where `zipcode` does not exist in the City
table.
--
Niel Archer
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the code, No!
--
Niel Archer
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
entries for each row, I'd suggest you do the following
as a minimum:
ALTER TABLE Mobile_Tunes ADD PRIMARY KEY (Tune_Name);
--
Niel Archer
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in it I doubt he'd
be using a Db at all. I'm assuming this is just a sample.
--
Niel Archer
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a Unix-Like environment.
You need a list like the developers one, where they're more
knowledgeable with building PHP/MySQL
--
Niel Archer
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
mysql select id,cat from table where cat=(select cat from table where id=51);
+-+--+
| id | cat |
+-+--+
| 40 | FLK |
| 41 | FLK |
| 42 | FLK |
| 44 | FLK |
| 45 | FLK |
| 46 | FLK |
| 47 | FLK |
| 48 |
Hi
O.K. the id column is primary key and it is auto_incerment .I think my
explanation was not clear enough :
this is my query : SELECT * FROM table WHERE ID=$ID
this will find the record with the specified ID and I will be able to see
it, now I want to be able to scroll up and down
Hi
Seeing as no-one else has replied to this, I'll make a comment. First
off let me state I don't use PDO so I am not familiar with it.
It would appear to me that your problem line is NOT the problem. It is
only where the error is reported from. That line is a call to an object
method, so the
Hi
There is no DESTROYIMAGE() function. May be you mean imagedestroy(). If
so this does NOT erase files, it destroys in memory images created using
the Image functions.
To erase files use the unlink function. For detail look here
http://uk3.php.net/unlink
Niel
--
PHP Database Mailing List
Hi
the first line is badly formed
xml version=1.0 encoding=ISO-8859-1
Should be:
?xml version=1.0 encoding=ISO-8859-1 ?
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
ok by beginning the php-code with ?php I fixed the problem.
Unfortunately my RSSowl tell me that there must be other errors in the
xml-formating. And I don't got a detailed information what RSSowl
dislike in the xml-file.
Try opening it in a browser. Opera, for example, tells you what
Hi
Du you know a good tutorial for XML and RSS, possible relating with PHP.
Not a tutorial, no. I got my information from the specification
documents.
You should consider changing your method. Instead of creating the
RSS/XMl file manually, try using one of the PHP extensions that will
http://dev.mysql.com/doc/refman/5.1/en/grant.html
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
Sounds like you do not have the required privileges with your user
account.. I suggest you spend some time reading the MySQL documentation
on privileges.
Are you using the root account? Have you created other user accounts and
given them the required privileges?
Niel
--
PHP Database
Hi
mysql -h localhost -u root -p 123456
should be:
mysql -h localhost -u root -p123456
notice no space after -p or it asks for the password.
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
Imagine that you want to put some 2 historical photos On display in
your website , you use PHP and MySQL.
Preparing a photo album with 200 photos is no problem but for 2 photos!
would you do it in the same way?
Yes, but I don't necessarily see the need for a db.
If you
Hi,
In the function to connect to and select the database, I make the mysql-link
resource a global value.
It sounds like you've misunderstood 'global' variable. The global
statement needs to go inside the function where you want to use the
variable, not where you assign it. This tells that
Hi,
see the docs for the date() function. 'I' returns 0 or 1 indicating
Daylight Saving Time. However, it does this based on the settings for
your installation. i.e. if your webserver is running on a host
configured to U.S. time zone, it'll give U.S. DST results.
Note that, any method will
Hi
For example (see below), lets say I would like to use public $one
property in a new class / method (such as class b)? What is the
best way to accomplish this? Any help and or suggestions are welcome.
class a {
public $one;
public function someMethod() {
$this-one
Hi
I've only had MySQL 4.1 running on 64 bit windows and PHP 5.x, without
any real problems when used locally. However, there seemed to be a
problem using the MySQL server via TCP/IP, hence the upgrade to native
64 bit version (v5.0), which was not desired at the time but seemed to
be the only
Hi
I need urgent help. Have anyone successfully installed PHP 4 MySQL 4.0 on
64-bit Windows?
Frankly, why would you want to? Neither are written for 64 bit. The
only versions I could find for 64 bit were the 5.x versions in both.
Which is what I run on my personal computer.
Niel
--
Hi
sorry, I misunderstood your problem, it was not too clear to me as the
code you list shouldn't produce the output you supplied.
try this:
$array = explode(',', $csv);
print br= . $array[0] . \n;
print br= . $array[1] . \n;
for ($i = 2; $i count($array); ++$i) {
$txt.= br /= .
hi
the problem i have is.. how about the csv is a var
DATA===
$csv=
A507257,3/2/2007,\Hematologi Lengkap,Cholesterol Total,LDL
Cholesterol,Trigliserida,HDL Cholesterol,Asam Urat,Gula Darah Puasa,Gula
Darah 2 Jam PP,Kreatinin,Ureum,Bilirubin Total,Alkali
Hi.
I don't know cPanel, but I expect it can run SQL directly, most panels
can. Use the ALTER TABLE ADD {INDEX|KEY} syntax to add indexes/primary
keys. You can use multiple columns, which together form a unique value
to create your primary key.
Niel
--
PHP Database Mailing List
Hi all
Finally identified the problem. Was pretty obvious in retrospect.
The mysqli class (Improved MySQL extension OO style) defaults to
latin1 as a character set, regardless of what PHP is using. Simple
solution is to use the set_charset method (mysqli_set_charset for non OO) on
the
Hi
Thanks for this. That page didn't actually help, but one of the follow
ups did. Apparently, despite being setup as UTF-8 throughout the Db,
tables, and columns. The returned data still can default to Latin1.
I've forced my test server to return UTF-8 (I hope) and am trying it
out
Hi John,
I'd suggest searching within the Extra field instead of testing for the
value explicitly, as this field can theoretically hold several extra
pieces of information.
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
Try using:
SHOW COLUMNS FROM db.table LIKE 'field_name%'
and from the returned row, check the 'Extra' column for 'auto_increment'
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I read ur reply on newsreader abou mysqli and if i can use it in PHP4
My question is where can i find a link to download the mysqli extension
separately without changing to PHP5
The MySQLi extension is available before PHP v5, but I couldn't tell
exactly which version it was introduced
Hi
Alright, I did that. I now get :
INSERT INTO domains ( picture, thumbnail ) values( '', '')
and no data entered.
Then for some reason your variables are empty. Make sure they have data
on entry to the function. If they don't keep backtracking until you
find where it's lost.
Niel
--
Hi all
How is the character set of returned data effected? I have a DB using
UTF-8 encoding., PHP is set to use UTF-8 internally. However the MySQL
connection returns Latin1 data. How can I get it to return UTF-8 data
instead.
TIA
Niel
--
PHP Database Mailing List (http://www.php.net/)
To
Hi
SELECT * FROM table INTO OUTFILE 'file_name'
FIELDS TERMINATED BY '\t'
LINES TERMINATED BY '\n'
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
leaving me with the question: what does
max_execution_time relate to? is it more like a maximum time without
activity.
max_execution_time is the time php gets to execute code. From the
documentation: The maximum execution time is not affected by system
calls, stream operations etc.
Hi
Hi, I would ask which way is more efficient and save time? Save each row to
array or mysql_data_seek(0) ?
That totally depends on which resources are more valuable to you.
The array will likely use more memory but be faster to process.
While mysql_data_seek(0) would probably use no
Hi
is the syntax error reported for the php or the SQL? Better yet,
supply the actual error message, so we can see for ourselves
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
Are you running this as CLI or from your web-server? If the latter, use
phpinfo() and check the max_execution_time isn't causing you problems.
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
there's no 'logic' error at all that I can see. It's more a design
error as it doesn't do the job the way that you describe it at all.
What actually happens is that the starting HTML (heading and table
start) is output before the database is even contacted, so there's no
way for you to
Hi
use a LIMIT clause in your SQL. Something like:
$query=SELECT * FROM WHERE hello = '$hello' LIMIT . ($page - 1) *
$rows . , $rows;
then you only need specify the logic to set the page, row and
limitations
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe,
Hi
button/hyperlink, no difference. It's the page that is target that does
the work
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
Your example data does have an invalid field count The first row has has
7 fields, the other 6.
So if you took them from your actual data that's your problem
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
If you're storing non-latin character in a latin-1 table you are bound
to get this problem. phpMyAdmin is simply showing you what you put
there as far as it is concerned.
You should switch to using an alternative encoding for the character set.
UTF-8 would likely be best for you. Back up
Hi
I don't use phpMyAdmin myself and I can't remember if it supports UTF-8
encoding
Whichever extension that your PHP is using is likely doing a conversion.
this is something that the MySQL libraries handle.
You can use this to extract the data from the tables and save it.
As a test, dump a
Hi
I'm helping out someone move from PHPNuke to phpBB. Only the forums
and users need to be moved.
Nuke's Db structure for the forums seems to mimic phpBB's closely,
which is no great surprise.
Any advice or information would be greatly appreciated. For example,
anyone know a way to
Hi
Is it really a hyphen, or is it an en- or em-dash. The latter two could
mess up in in some character sets.
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi David
What you describe sounds like Word is auto replacing hyphens with either
en- or em-dashes. This is a configurable option in Word that often
defaults to on. Try using double quotes, If they get switched to 66's
and 99's style quotes, then that is likely the problem. I no longer use
MS
Hi David
off the top of my head, the best I can suggest is using PHP's MB
functions (lookup mb_string) to allow recognition and then convert them
to hyphens.
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
Doh... that's 'mbstring'
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
If you're on a windows platform, this will be because MySQL support is
built in on v4.1 but not on 5.x. As the others have suggested,
uncomment the php_mysql.dll entry in the modules to add it.
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi
Try:
SELECT fkid, MAX(foo), bar FROM table GROUP BY fkid ORDER BY bar DESC
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
All of the MySQL functions you used, return FALSE on failure.
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Bob
Your question isn't very clear. Do you want to remove the oldest entry,
newest, or is there some other criteria to diceide?
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
He means that he wants to use REPLACE and take out the old entry and update
it with a new one. Although, you would probably use UPDATE instead.
Hmmm... Thought this was DB list, not mind-readers.
I would also *guess* that would be the intention, but his example seems
to remove the newest
1 - 100 of 117 matches
Mail list logo