the lack of proper close html code will cause a no show in Netscape, but will show in
Ie
|
|
|
|CO:
|$co
|
|
|
|IRC NICK<<<-
What does adding the (int) do to this statement:
$poll_sum = (int)mysql_result($poll_result, 0, "SUM");
I do not find anything about the "SUM" either.
Thanks
Dave
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
Help!
I have drawn a blank..
I want to get the content of a field in a table where I know the
databaseName,tableName and columnName and the rowNumber.
Like:
$answer = mysqlCommand("select ColumnName from tableName WHERE rowNumber =
$rowNumber,$db)
--
PHP Database Mailing List (http://www.php
you do not need a counter, just use a 2 column table
| Thats my code!
|
| What I want to be able to do is have it so instead of one column there are
| two columns of pictures:
|
|
| pic1 | pic2
| pic3 | pic4
|
| etc..
|
|
| How can I do this?
|
| Thanks in advance!
|
|
Can someone tell me why this works in PHP4.0.3pl1 on one server and not in PHP4.0.6 on
a different server?
I am using is_uploaded_file($userfile1)
LOAD DATA LOCAL INFILE '/var/tmp//phpAP3729' INTO TABLE spcdata FIELDS TERMINATED BY
',' OPTIONALLY ENCLOSED BY '\"'
ESCAPED BY '\\'
(id,username,
SOLVED
Wrong varable!
Is that as bad as spelling errors?
Dave
| In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
| wrote:
|
| > are INSERT INTO statements forbiden inside a function??
|
| Assuming that you're referring to a PHP function and not a function of the
| RDBMS, no it's not forbid
are INSERT INTO statements forbiden inside a function??
Dave
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I have had no success finding a thread on the subject of how to test results of a
query.
I know it can be positive without finding any rows.
What are the ways to test.
Dave
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
What's wrong with this use of preg_match?
$search = "TheName"
$data = "TheName,TheAddress,ThePhone"
if (preg_match('"/\b'.$search.'\b/i"', $data))
{
echo "True";
}
else
{
echo "False";
}
I am trying to see if the search name matches exactly a name in the $data.
Thanks
Dave
--
PHP Database Mai
Thanks Chris
I searched everything I could think of. Where should I have found this is the manual?
Dave
| > I am trying to find a str within a field using a select statement like
| > SELECT * FROM tablename WHERE fieldname has the string within it
| > Is there a way to do this?
|
| WHERE fieldn
I am trying to find a str within a field using a select statement like
SELECT * FROM tablename WHERE fieldname has the string within it
Is there a way to do this?
Dave
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
11 matches
Mail list logo