> Obviously the new-line is missed. Any thoughts on this?
>
> sample code:
> ereg("Last Name:\s*(.*)\n", $strInput, $regs)
> echo $regs[1];
try this:
ereg("Last Name:\s*(.*[^\n])", $strInput, $regs);
echo $regs[1];
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
> Hi! I saw the php function flock(), since I never used it before so I
> thought I would ask you folks a couple of questions.
did you read all of the user comments on http://us2.php.net/flock
There is a bunch of good info in there
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
> I need to check that the substring " R" (that's a space followed by an
> uppercase R) is not contained within my haystack.
Just one way to do it:
$strings[] = 'Blah Blah R 99.99';
$strings[] = 'Blah Blah R99.99';
$strings[] = 'Blah Blah 99.99CR';
foreach($strings as $value) {
if (preg_match('/
> How do I gather up all the variables in $_POST and attach them as a
> string after the question mark? Thanks.
this is untested:
$arr = array();
foreach($_POST as $key => $value) {
$arr[] = $key.'='.urlencode($value);
}
$URL = "https://example.com/script.asp?".implode('&',$arr);
header
> I have a form where one option is a dropdown menu. I'd like that menu to
> only have items in it that are actually available. Selecting the items with
> a query is easy enough but I wondered if anyone could tell me where to start
> wit the code.
I dont know what kind of db so I will just use mys
> Thanks for the helpful examples. One other question. Is there an
> advantage to sending the URL via a header as opposed to doing http_post
> like this?
> http://shiflett.org/hacks/php/http_post
> Jeff
Like someone mentioned earlier. URL's have length limits. That would
be one reason to do a po
> Ok then, I want to know how to do it the right way but just using
> $_POST['text'], as stated before, in my query still cuts off the text at
> the quote.
>
> While passing this field between pages I don't do anything to it but when
> I want to show it to the user I would use stripslashes($_POST[
> Anyway to do it using PHP?
Com objects or use perl
http://search.cpan.org/~kwitknr/Spreadsheet-ParseExcel-0.2603/ParseExcel.pm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Hi to all,
> is there any function wich can format a "double" or "string" into "money
> format".for example: 1526789,99 to 1.526.789,99 or something like that.?
> Regards Lukas
>
You could try http://us2.php.net/manual/en/function.money-format.php or
http://us2.php.net/manual/en/function.numbe
> Now, I want to know which numbers have been checked by the player.
> I have a :
> "input name="Grid1" type="checkbox"
> for the first grid. Grid2 for the grid #2...
if the user checks any Grid1[] boxes then $_POST['Grid1'] will be an
array and so on.
--
PHP General Mailing List (http://www.
> ps.. to you guys who said that the doesn't have a value=''.. it
> does...
Where did you find this out? I was pretty sure that is did not have
the value attribute.
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/textarea.asp
http://www.w3.org/TR/REC-html40/interact/forms.htm
> I would like to use the file_exists() or something similar to check for the
> existance of any of the xml files regardless of what filename it use. Like
> file_exist("*.xml") for example. Anyone know??
http://us3.php.net/readdir
--
PHP General Mailing List (http://www.php.net/)
To uns
> I am developing an app in which my visitors must be able to enter text and
> do some minimal HTML formatting including making some of the text
> hyperlinks. I like the looks of htmlArea, but can't get either available
> version to work in any Mac browsers. I've also found EditLive! and am
> intri
> I would prefer to have if possible:
> input name="Grid1[]" type"checkbox" //1st grid, 1st
> checkbox
> input name="Grid1[]" type"checkbox" //1st grid, 2nd
> checkbox...
>
> That's what Matt M proposed.
> If I do: echo $_P
d about it
http://marc.theaimsgroup.com/?l=php-general&m=109000692120133&w=2
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I am writing an app and right now im working on code that will display x
> number of items on one page, and if there is overflow, provide a link to
> the next. The url coming into the page looks something like:
>
> projects.php?action=view&completed=no&start=0
>
> My code so far, i just took t
> If I don't want to use session cookie , how to set it?
> thanks.
ini_set('session.use_cookies','0');
before all of your session_start() calls.
or set it in the php.ini, .htaccess or httpd.conf file
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
what do you get when you print_r($_SESSION) ?
try session_write_close() at the end of your scripts.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I never tried but i think it is possible using the pecl extension:
>
> http://pecl.php.net/package/perl
Here is a short tutorial
http://www.zend.com/php5/articles/php5-perl.php?print=1
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I have decided to look for an alternative to file_exists() because it is
> taking too long. Is fopen() a good alternative or what?
maybe stat()
http://us4.php.net/manual/en/function.stat.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> If anyone knows how to setup IIS6 to allow the same .php extension to be used
> with dedicated copies of php.exe + ini files I would really appreciate the
> assistance. Maybe some clue I am missing about the behavior of the web extensions
> manager or a method of defeating it?
Have you tried a
Jay Blanchard wrote:
Given the string 'foo''bar''glorp' (all quotes are single quotes)I had
hoped to find a regular expression using preg_match that would return an
array containing just those words without having to go through
additional gyrations, like exploding a string to get an array. I have
On a sidenote, 99% of the world never calls ob_flush (or any such
function) since PHP flushes the buffer automatically at the end of its
execution.
The reason why setting cookies for you doesn't work is because of the
way a HTTP response is structured. It consists of 2 parts: header and
body
bullshit,
what he sees is a warning emitted by PHP, his redirect is done using
JavaScript (which is clientside and has no, 0.0 effect on what PHP
emits). Now, I'm not going to go into how redirecting that way won't
work (or at least shouldn't), but a hint would be to do it properly
using head
Maarten Balliauw wrote:
Here's the thing: I'm trying to do some dynamic code compilation within
PHP using eval(). The code I'm trying to compile raises an E_ERROR (Fatal).
Here's a simple example:
Now, I'd like to catch the error made by eval:
// ...
try {
eval($code);
} catch (Exception
Chris wrote:
John Mendenhall wrote:
Is the only valid response to problems with php4 to
upgrade to php5? Or, are there still some people
out there still using php4 and possibly have had
problems with install such as the following?
If php5 is the only answer, I guess we'll just have
to go with
Chris wrote:
M. Sokolewicz wrote:
Chris wrote:
John Mendenhall wrote:
Is the only valid response to problems with php4 to
upgrade to php5? Or, are there still some people
out there still using php4 and possibly have had
problems with install such as the following?
If php5 is the only answer
John Pillion wrote:
This is as much a mysql question as it is php.
What is the most reliable way to retrieve an auto_increment key/id for a
query you just inserted?
In other words, I compile all my data, insert it into a new row, and now I
want to retrieve the ID it created for it in th
Hulf wrote:
This does not work
echo $title=$row['title'];
echo "";
Ta,
R.
With my psychic powers I know it is because on line 20316 of file
sdlhfdsbks.php you have a line that looks like bkdlnfblzdfng(); which
has a huge typo! It should be bkdlnfblzdfnsdfdsfg(); instead!
Ok, seriously n
mike wrote:
I thing a good FAQ entry would be how this patch fits in with Suhosin
and what are the comparable/conflicting concepts, are they compatible
with each other etc.
http://www.hardened-php.net/suhosin/a_feature_list.html
Both systems are liable to appeal to the same sort of people so i
I'm pretty sure
if(!empty($result_deferred_comments)) {
does something else than you think it does.
$result_deferred_comments = mssql_query($deferred_comments) or
die(mssql_error());
if it fetches any rows it will return a RESOURCE (yes, a resource which
is NEVER empty()), if it has 0 rows, i
Naz Gassiep wrote:
I'm getting out of memory errors in my image handling script, I *think*
its because I'm handling images that are too large to fit in memory, but
I thought I'd check before just upping the setting to 32mb.
It is currently set to 16mb and I am working with a 2048x1536 image. I
Stut wrote:
Jason Pruim wrote:
Hi Everyone,
Hi Dr Jason.
I think after I get this question answered, I can stop asking for
awhile since my project will be done, at least until the users say
"What happened to XYZ" then I'll ask again :)
I asked on a MySQL list about "Resetting a auto i
Dan wrote:
As I know there's no real WYSIWYG text to html converters. Plus this
wouldn't do much more than handling paragraphs and new lines.
If you're looking for a way to write html from a textbox check out
FCKEditor.
Sorry I couldn't help much. If you really do have only the limited nee
jekillen wrote:
On Aug 31, 2007, at 6:26 PM, Robert Cummings wrote:
On Fri, 2007-08-31 at 15:56 -0700, Dan wrote:
Sanjeev is right. You're thinking about the problem backwards. You're
trying to build a Switch inside a loop. Remember, if you ever have
to do
some operating multiple times you
1. Who are you?
2. What is this?
3. Why should I care?
4. Don't spam.
Sascha Braun - CEO @ Braun Networks wrote:
The Spectral Authoring System is able to keep
round about 300.000 Document Kategories in one
Application.
1.4 Million Screentexts are in use, while still
providing fast access.
The
Rahul Sitaram Johari wrote:
Ave,
Is it true that the PHP Installer does not work on Windows Vista? And if it
does, it only installs the CGI version?
~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.
W: http://www.rahulsjohari.com
E: [EMAIL PROTECTE
Rick Pasotto wrote:
On Sun, Sep 16, 2007 at 06:04:45PM -0700, Richard Kurth wrote:
Richard Kurth wrote:
Rick Pasotto wrote:
On Sun, Sep 16, 2007 at 07:09:02PM -0400, brian wrote:
Richard Kurth wrote:
$Campaign_array| = array('0','1','3','5','8','15','25');|
I know that I can find the n
Richard Kurth wrote:
What I am trying to is get all the days from a table where email
campaign = number. and then look at the last day that was sent and find
it in the list and get the next day that follows that day. At this point
the script below is not working. So if you have any Ideas that
I'll just put my comments inline for you...
Dan Shirah wrote:
Okay, gotcha!
I changed it to this and it works:
You can't trust this info.
$lock_query = "SELECT id, locked_by_user FROM locked_payments WHERE id =
'$request_id'";
WARNING :: SQL INJECTION :: WARNING
$lock_result = mssql_quer
Philip Thompson wrote:
On 10/19/07, Stut <[EMAIL PROTECTED]> wrote:
Ondra Zizka wrote:
Hello,
please look at the code bellow and tell if it does not conform to rules
of
returning a reference from a function.
In the first method, I return reference to $sRet variable, and PHP is
quiet.
But i
Ravi wrote:
Guys, I am fairly new to PHP. Here are a few questions, if anybody can
answer it will help me get started. Thanks
I am trying to build a website and I would like to do the following in
my scripts
1. I want to return response to the browser and AFTERWARDS make a log
entry in to
Pavel Janda wrote:
Hello to everybody,
I have this problem with downloading files via PHP. For illustration - I
am using this fragment of code:
The problem is, that the file on server has 16857 bytes and saved file
has 16858. In another case downloaded file has everytime 1 byte more
than
Philip Thompson wrote:
Hi. Feel free to tell me this is a "duh" question. I don't know which PHP
executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I
tell?
I am on a Win2k3 server running PHP5 (manual install) and IIS6. I've pointed
to the php5isapi.dll in IIS. I'm assuming b/
Jake wrote:
while($begin < $end)
{
if ($start == 'false')
{
if (empty($temp[$begin]))
{
$start = 'true';
}
}
else
{
$data .= chop($temp[$begin]) . "\n";
}
$begin++;
}
return "$from|$subject|$data";
}
You have got to be joking
Eduardo Vizcarra wrote:
I have a WHILE sentence to retrieve all records from a SELECT query in a
database and am using mysql_fetch_array to store them in a matrix, the
sentence is like this:
while($row=mysql_fetch_array($fotos))
{
$fotos_mostrar[] = $row;
}
$fotos contains all records
[EMAIL PROTECTED] wrote:
The Answer is quiet simple.
$E_MAIL = "[EMAIL PROTECTED]";
$to = "[EMAIL PROTECTED]";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "To: Their Name<[EMAIL PROTECTED]> \r\n";
$headers .= "From: your email
Brad,
please, try solving these kinds of things yourself. Especially seen as
the parse error which you posted here was already found and shown to you
in one of your earlier posts to this list (if I'm not mistaken).
So, your problem is:
$body.= 'http://www.zoneofsuccessclub.com'">link ';
Try
Richard Heyes wrote:
I am needing to install a bug tracking system on a web server and
looking for a good PHP open source solution. Looking for a pretty
mature system that still has active development. Thanks for any
suggestions.
The only one I have had experience of is Mantis:
http://www.ma
Steven Macintyre wrote:
Hi all,
http://steven.macintyre.name/myscript.phps
is my code as it stands
The purpose of the code is as follows;
Its for a non-profit company - wanting to offer "support" banners for users
who pay for them right ... as in donation.
They want to be able to restrict
Adam Williams wrote:
I'm getting the following error and I don't see whats wrong with my
line. Any ideas?
*Fatal error*: Function name must be a string in
*/var/www/sites/intra-test/contract/perform.php* on line *57*
and my snippet of code is:
if ( $_POST["perform"] == "View Contracts" )
Anup Shukla wrote:
Hi all,
The manual says,
XXXVII. File Alteration Monitor Functions
..
..
Note: This extension has been moved to the » PECL repository and is no
longer bundled with PHP as of PHP 5.1.0.
..
..
But i am unable to locate it on PECL either.
Is there any way to use FAM/GAMIN wi
Jim Lucas wrote:
Valedol wrote:
On Fri, 15 Feb 2008 23:46:57 +0300, nihilism machine
<[EMAIL PROTECTED]> wrote:
this still does not work, if a domain has no preceeding www. it
redirects to http://www.www.site.com, if it has a www. it goes to
www.www.mydomain.com, any ideas?
checkWWW();
Daniel Brown wrote:
On Wed, Feb 27, 2008 at 5:08 PM, Robert Cummings <[EMAIL PROTECTED]> wrote:
On Wed, 2008-02-27 at 16:38 -0500, Keikonium wrote:
> Thank you again Robert, and thank you too Daniel. I have gotten both methods
> to work flawlessly so far :). I am slowly learning by trial and
And you don't do:
$txtPhotoData = addslashes(fread(fopen($_FILES['txtPhoto']['tmp_name'],
"r"), filesize($_FILES['txtPhoto']['tmp_name'])));
because ?
- Tul
P.S. if you want more readable code (PHP >= 4.3.0, which you should have
anyway) use:
$txtPhotoData = file_get_contents($_FILES['
Ryan A wrote:
Hey All,
After searching I found this regex to remove img tags from a post, but running
it is giving me an error, being a total noob with regex i have no idea what the
heck is wrong heres the whole script as its tiny:
'. " Paul! ";
$html =
preg_replace('\s]+))?)+\s*|\s*)/?
Jim Lucas wrote:
M. Sokolewicz wrote:
Ryan A wrote:
Hey All,
After searching I found this regex to remove img tags from a post,
but running it is giving me an error, being a total noob with regex i
have no idea what the heck is wrong heres the whole script as its
tiny:
$html
Jim Lucas wrote:
Sudhakar wrote:
if a user by mistake types the wrong url directly in the address bar ex=
www.website.com/abou.php instead of
typing www.website.com/aboutus.php instead of the browser displaying File
not found or a 404 error message i would like to display a customized
page
whic
Hulf wrote:
Hi,
I am making and HTML email. I have 3 images to put in. Currently I have
$body .="
";
ideally I would like to have
$myimage1 = "image1.jpg";
$myimage2 = "image2.jpg";
$myimage3 = "image3.jpg";
and put them into the HTML body variable. I have tried es
Daniel Brown wrote:
On Fri, Mar 28, 2008 at 2:27 PM, It Maq <[EMAIL PROTECTED]> wrote:
Hi,
i have an associative array and i want to use it as an
ordinary array, is that possible?
what i mean is instead of $arr['fruit'] i want to call
it by its position in the array $arr[3]
Did you
Jim Lucas wrote:
Waynn Lue wrote:
Actually, I think I fixed it by moving the style sheets below the
instantiation of the facebook client, where I *think* set_user was
being called. I'm still curious if it's possible to get stack trace
information on errors, though. :)
You are probably lookin
J. Manuel Velasco - UBILIBET wrote:
Hello,
I have two perl scripts that runs fine in the shell. But when I build a
page with them, only in one case the results are shown in the other case
i see a blank page.
I have done different test and I don't understand this issue. I don't
know what i a
It Maq wrote:
Hi,
I need to add the result of 4 calls to mysql_query (4 different queries) to the
same object so that i can mysql_fetch_object in the same loop.
Is that possible? otherwise is there any other alternative?
Thank you
_
uninstall the
php-5.2.5-win32-installer.msi version first.
TIA
Tony M
Yui Hiroaki wrote:
hi!
Does anyone know how to convert euro ?
For example;
French to German, Italy to French currency
so on.
Regards,
Yi\ui
I must be missing something, but the French Euro is the exact same
currency as the German Euro, as is the Italian euro. There is nothing to
convert;
Nathan Nobbe wrote:
On Thu, Jun 12, 2008 at 7:37 AM, Colin Guthrie <[EMAIL PROTECTED]> wrote:
Pavel wrote:
В сообщении от Thursday 12 June 2008 16:43:59 Richard Heyes написал(а):
This may be of interest (HTML 5 diffences to HTML 4 overview):
what about xHTML? html died few years ago and i
Dietrich Bollmann wrote:
Hi,
As far as I remember, in all books I read about PHP and SQL, the
password was stored in an encrypted form, even when all the data which
should be protected by the password was stored in the same database.
Can anybody tell me what is the motivation behind this approa
Dietrich Bollmann wrote:
Hi tul,
So this was a very long and informative answer :)
Thank you very much!
On Fri, 2008-06-13 at 12:02 +0200, M. Sokolewicz wrote:
[...] However, people usually write code which may (and will most
of the time) containt exploitable sections which might give a
Richard Davey wrote:
Hi all,
Just a quick straw-poll really:
What is your take on using 'return' when you end a function, if you
don't actually need to return a value?
If you have to return say a true/false as the result of an operation,
then it's an obvious choice. But what if all the functio
Jared Farrish wrote:
Jared Farrish wrote:
On my localhost this works fine
$result= mysql_query("SELECT date_format(date, '%d/%m/%Y') as date,
title,
id, display FROM NEWS");
while ($row = mysql_fetch_assoc($result)) {
but on my remote i get a mysql_fetch_assoc(): suppli
I've never heard of, nor seen array_grep() before and AFAIK it's also
not a built-in php function. Check it at http://www.php.net/array_grep,
it doesn't exist. No need to advise that which does not exist :)
- Tul
Al wrote:
Can you be more specific? Show us a line of code, or so.
There are lo
zerof wrote:
Chris Boget escreveu:
We are running PHP 4.3.11 in a Windows Server 2003 environment using
ApacheSSL v1.3. Starting just the other day, we starting seeing the
following error pop up in the windows eventvwr:
"Faulting application Apache.exe, version 0.0.0.0, faulting module
php4
hey Jochem,
as far as I can see, this should work for you:
$etag = sprintf('"%x-%x-%x"', $stats['ino'], $stats['size'],
$stats['mtime']); // lowercase hexadecimal numbers separated by dashes
header('Etag: '.$etag);
?>
Assuming your apache is configured to use the inode, modification time
and f
ochem Maas wrote:
hi Tul,
thanks for the feedback ... can I borrow your brain for a little longer? ....
M. Sokolewicz wrote:
hey Jochem,
as far as I can see, this should work for you:
this is what I thought - actually I originally used dechex() - which gave the
same output as sprint
Mikey wrote:
[EMAIL PROTECTED] wrote:
[snip]
its type is not DomNode, but DomText.
Only the 2nd child -
$NODE = $NODE->nextSibling;
has $NODE->tagName "channel".
My question is - why is the first child after "rss" DomText?
Thank you,
Iv
My guess is the whitespace between the nodes :o)
Paul Scott wrote:
On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote:
I no longer have a need for this list and My mailbox is getting flooded,
Can someone assist ?
Read the footer on every single mail posted to this list to unsubscribe
--Paul
Chris wrote:
M. Sokolewicz wrote:
Paul Scott wrote:
On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote:
I no longer have a need for this list and My mailbox is getting
flooded, Can someone assist ?
Read the footer on every single mail posted to this list to unsubscribe
--Paul
Robert Cummings wrote:
On Fri, 2007-06-29 at 11:32 -0500, Jay Blanchard wrote:
[snip]
I am looking for a way to incorporate some simple OCR into a php script.
The
user will bulk scan a pile of invoices. I want the php script to look at
each
invoice and read a number off the invoice. The image
PHP 6 is about as broken as can be, and buggy as hell... why would you
even want to compile it? or extensions for it...?
- Tul
Cathy Murphy wrote:
I am trying to compile memcache 2.1.2 with php6 , but getting errors .
Anybody had luck with this?
Thanks,
Cathy
www.nachofoto.com
--
PHP Gener
sivasakthi wrote:
Hi Guys,
I have the array like below,
squid %tu %tl %mt %>A
test %st.%hs %>a %squid,test,test1 in to another array..
could you help me to find the solution?
Thanks,
Siva
What does your array look like _exactly_? ie. var_dump style output.
Is it:
array(
array('s
Man-wai Chang wrote:
>> I'm listening to the song now without logging in, just running this in
>> the URL bar:
>> javascript:floatingWindow.hide();
>> and the login window is gone :)
>
> So is there a proper way to create a modal window inside a browser?
>
There is no "proper" way. You have vari
Kelvin Park wrote:
I'm getting the following fatal error message:
*Fatal error*: Cannot instantiate non-existent class: domdocument in *
/home/hosting/infotechnow_com/htdocs/admin/inventory/catalog.php* on
line *3
*
when running this code:
// Initialize new object for DOMDocument
$doc = new D
, this does not mean they are also enabled! There are
hosts which build php with --disable-dom, there are also hosts which
build php with --disable-libxml thus disabling all xml-related
functionality.
- Tul
Nathan Nobbe wrote:
On 7/8/07, M. Sokolewicz <[EMAIL PROTECTED]> wrote:
You don
Well, your first problem is that you don't understand the difference
between a serverside-script and a client-script.
Here's what happens:
1. A user clicks on a link
2. the browser sends a request for that page to the server
3. the server runs the script
4. the server sends the output of that sc
C.R.Vegelin wrote:
C.R.Vegelin wrote:
I have various PHP scripts that use the same database.
The startup script default.php sets the connection once for all the
scripts.
This connection is set in $_SESSION to make it a global variable
for all scripts.
When switching from page default to page f
Stut wrote:
Zoltán Németh wrote:
2007. 07. 12, csütörtök keltezéssel 10.28-kor Stut ezt írta:
John Comerford wrote:
Hi Folks,
Is there a better way of doing the following:
$Rows[] = array();
$currentRow = count($Rows) - 1;
$Rows[$currentRow]['test'] = "this is a test";
Specifically I am won
Sancar Saran wrote:
Hi,
I cannot do any operation wiht single quote like
explode("'",$strContent);
Did I miss someting ?
Regards
Sancar
what do you mean by 'cannot do' ?
If I do:
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That's assuming he wanted specifically MySQL. The OP's post did not
actually state _which_ extension he wants to use, nor to which RDBMS he
wants to connect (at all). To the OP: SQL is simply a language, what you
want is a database-system which works with that language. There are a
lot of good
Good day,
I've been struggling with this problem for quite a while now, I've
looked on google, but to no avail, documentation doesn't help me out
either. Now, I know this isn't a pure php problem as such, but rather a
problem in the cooperation of apache2.2, php and fastcgi.
So, here's what
M. Sokolewicz wrote:
Good day,
I've been struggling with this problem for quite a while now, I've
looked on google, but to no avail, documentation doesn't help me out
either. Now, I know this isn't a pure php problem as such, but rather a
problem in the cooperation o
kvigor wrote:
I created an array using the following:
$in_list = "'".join("','",$cen_chiefs)."'"; //$cen_chiefs is an array
$query_cen_chiefs = "SELECT * FROM central WHERE CONCAT(strName,'
',strCity,' ',strState) IN({$in_list})";
How would I go about adding an AND clause to the above query
Jeff Lanzarotta wrote:
Hello,
I am not sure if this is the right mailing list or not, but here goes...
I am attempting to compile php 5.2.3 from source under SUSE 10.1. The compile
is fine, it is the 'make test' that is failing...
When I run 'make test' I am getting:
Christian Hänsel wrote:
Good morning fellas,
I was wondering if there was a function like "is_this_week()"...
What I have is a statistics table for the last week, from
strtotime("Last Monday") to strtotime("Last Sunday")... now I wanna put
a different background colour on the rows where the s
This is top-posting
Ken Tozier wrote:
On Jul 25, 2007, at 10:37 AM, Edward Kay wrote:
PS: Please don't top post on mailing lists.
I'm unfamiliar with the term "top post". What does it mean?
and this is bottom-posting.
Generally on mailinglists it's common to bottom-post and not top-post.
Man-wai Chang wrote:
Does Web 2.0 or maybe 3.0 offer some new types, say something
like a real grid, or maybe a modal child popup?
Java is just a specialized DOM... in my opinion.
Where did you get this weird idea... JAVA by itself has nothing to do
with the web or documents... It's commonly
Richard Davey wrote:
Hi,
I'm calling a MySQL Stored Procedure via PDO (PHP 5.2.3)
$stmt = $dbh->prepare('CALL forum_post(?, ?, ?, ?, ?, @status, @thread_id,
@message_id)');
At the moment in order to get the values of status, thread_id and
message_id I need to issue a second query:
$sql = "SE
Daniel Brown wrote:
On 7/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
or am I going retarded again?
This has been confirmed. For whatever reason, Gmail isn't showing
me the [PHP] mark in the subject for this thread. Perhaps because I'm
the OP.
/me shrugs.
It's not the o
Paul Novitski wrote:
At 7/26/2007 06:18 AM, elk dolk wrote:
I want to hide the real URL to my images by masking it with PHP
the code looks like this:
$query = "SELECT * FROM table";
$result=mysql_query($query);
while ($row = mysql_fetch_array($result))
{
echo "";
}
if you look at the source i
I've been having this problem for a while now,
when I use transactions in SQLite with PDO it stalls on me with an error
stating my statements are in progress.
I've tried closing all cursors to my statements, but that does not seem
to resolve this for me. This is my code,
(obviously shortened qu
error checking before you even
bother to insert, and then do a single statement, which won't even
need a transaction, since any one statement is atomic.
Perhaps I'm missing something, but it seems like you've needlessly
complicated the DB side of things.
On Sat, July 28, 2007 8:57 pm,
601 - 700 of 2608 matches
Mail list logo