Europus wrote:
Actually, it doesn't exactly iterate the 1st row 4 times, it's a bit
more convoluted.
The table as 4 columns:
1 - int, primary, auto-incrementer
2 - varchar() values
3 - varchar() values
4 - varchar() values
and 2100 rows. The return is 4 rows of this:
array(4) {
[0]=> stri
Europus wrote:
T.Lensselink wrote:
It doesn't loop through all rows because you use mysql_fetch_row.
Wich does exactly what it's name tells you. It fetches one single row.
Doh! Yes I'm brand new at PHP, though I've been doing HTML/CSS forever.
That doesn't seem to
Europus wrote:
It's pretty much the same. With var_dump(), values from the first row
of the table are iterated twice, the script is not looping through and
reporting all 2100 rows. Grossly similar behavior was observed with
print_r() and echo: while different data was reported by each, the
loop w
:) You are right about the robustness part..
The directory i made by hand. So no need to create and remove it with
code. And using a test suit to show this simple example seems like a bit
of overkill to me. Just wanted to show directories with spaces
function properly when used with is_dir().
Ro
Have a look on this page for all the ini settings..
It will also say if it is changeable
http://nl2.php.net/manual/en/ini.php#ini.list
Tom Chubb wrote:
> This is a really stupid question, but I've not been able to find an
> answer for it.
> I have always thought that your max upload size is limi
> Hi all,
> I'm kind of new with PHP. I work alot with another language called Lasso,
> reminds kind of PHP but not the same.
> I trying to search after a desired value within an array map (think you
> call
> it like that in PHP) and to get the value out as well.
>
> Is this possible in any way? Li
vemas/public_html/dg/xslt/xslt_processor.php*on line
> *14
>
> ...I have included your positioning syntax and am using this method, could
> you point out where I am going wrong (as I use the Sablotron processor I
> am
> not using those DOM functions). Man
oodchild <[EMAIL PROTECTED]> wrote:
>>
>> Thanks for our help. Tried both methods and I get this:
>>
>> *Warning*: Sablotron error on line 31: XML parser error 4: not
>> well-formed
>> (invalid token) in
>> */home/stevemas/public_html/dg/xslt/xslt
> Hi all, maybe slightly off list but I AM using php and Sablotron to
> generate
> xslt.
>
> I have a live poker games feed that takes the following format:
>
>
>
> 10035522
> Texas Holdem
> Texas Holdem Poker
> 5
> 0.5
> USD
> Running
> 110
> Normal NL 1
>
> This is my database now...I will use the item_id for the order but what if
> I
> want to change item_id 3 to item id 1? How can I push all the items down
> one
> place? How can I delete any gaps when items are deleted.
>
>
> CREATE TABLE `board_papers` (
> `id` int(4) NOT NULL auto_increment,
>
he error
> is
> occurring. I have just copied the demo version into the same dir and it
> works fine - and that version calls the same classes (includes).
>
> On 28/04/06, T.Lensselink <[EMAIL PROTECTED]> wrote:
>>
>> Maybe show some code... Think some error insid
iew source I am given the browser re-post warning.
>
> On 28/04/06, T.Lensselink <[EMAIL PROTECTED]> wrote:
>>
>> Hey Dave,
>>
>> Besides from example two being the correct way to call array elements. I
>> think it has something todo with error reporting. It
a['email']
>
> ..the arguments appear in the correct order. I understand the second
> format
> is better to disambiguate constants but the former format works fine for
> the
> demo version. Any reason for the discrepancy?
>
> On 28/04/06, T.Lensselink <[EMAIL
Well there is an undefined constant prize somewhere.. well it's just a
notice but it really looks like the problem.. Try setting
error_reporting(0) and see if it runs...
> process1.php only has 64 lines.
>
> On 28/04/06, T.Lensselink <[EMAIL PROTECTED]> wrote:
&g
A blade? come on :)
Seems to me it's just an error in : /home/friend/public_html/process1.php
line 158 that mangles up your email output. Try and fix this undefined
constant.
> Hi all - I am attempting to solve some maddening behaviour that has me
> totally stumped and before I take a blade to my
> Hi,
> I see everyone has its own way of writing the code. If there is 10
> programmers working on same thing, it would be good if they would have
> same style of writing the PHP code.
>
> So, my question is: Is there anything what would define standard style
> of writing PHP code?
>
> Thanks,
Don't know about the postgre list. But answers to such questions can
easilly be found on the web. Just use google or RTFM. I answered because i
like to help. Hope it was helpfull :) But i can also understand the
laughter/frsustration. Don't take it to personal.
They just encourage you to RTFM. Bes
Use preg_match_all
Think this will work. But i'm for sure no regular expresion guru :)
preg_match_all("/src=(.*)\040/i", $Text, $Result);
print_r($Result);
Gr,
Thijs
> Hi everybody!
> I want to get src of image form a $text, I have a below text
>
> $Text =
>
> src=userupload/78/
Maybe try to configure with the direct path to the apache source files...
--with-apxs=/path/to/apache/bin/apxs
Frank Arensmeier said:
> Hello.
>
> I try to compile PHP 4.4.2 from source on Mac OS X 10.4 server but I
> am getting error messages. The the install configuration runs just
> fine using
[EMAIL PROTECTED] wrote:
> Hi,
> I'm working on the script that has to read csv file (51 column an a little
> bit over 3000 rows) with products and store the info in DB.
> Script works fine while I tested on csv files up to 200 records.
> And, when I tried to upload REAL data I got this.
> PHP: Fat
chris smith said:
> On 3/21/06, T.Lensselink <[EMAIL PROTECTED]> wrote:
>> I'm working on a small webservice. When started this project i used the
>> NuSOAP library. And it does the job perfectly. But last weekend i was
>> playing around with the PEAR::SOAP pack
I'm working on a small webservice. When started this project i used the
NuSOAP library. And it does the job perfectly. But last weekend i was
playing around with the PEAR::SOAP package. This seems to be a lot more
stable. And for sure a llot faster.
Only in NuSOAP i could do the following to get t
Peter Lauri said:
> Hi,
>
> I have been searching for directions of how to get PEAR::SOAP to work on
> my
> Windows Machine, but without success. I have downloaded the package and
> unzipped it to a subfolder to my main web folder.
>
> This is my error message:
>
> --
> Warning:
Sameer N Ingole said:
> Gustav Wiberg wrote:
>>
>> - Original Message - From: "John Taylor-Johnston"
>> <[EMAIL PROTECTED]>
>> To: "PHP-General"
>> Sent: Friday, March 17, 2006 7:51 AM
>> Subject: [PHP] making a tutorial
>>
>>
>>> I'm making a tutorial and don't really understand how to do
$_GET["var1"] and $_GET["var2"]
On Wed, 3 Nov 2004 13:43:16 +0530, Kevin Javia <[EMAIL PROTECTED]> wrote:
> How can I get the URL in the address bar in any variable?
>
> If URL is "http://www.mysite.com/page.php?var1=12&var2=hello+world";, I want
> to store it in any variable in my code.
>
> $
25 matches
Mail list logo