e, perhaps you could enclose each member of your
original array in \b word boundary sequences using an array_walk
routine so that you don't have to muddy your original array
declaration statement.
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Paul Novitski wrote:
If you go this route, perhaps you could enclose each member of your
original array in \b word boundary sequences using an array_walk
routine so that you don't have to muddy your original array
declaration statement.
At 10/29/2006 01:54 PM, rich gray wrote:
o somehow
divine the source of a record in a union query
when the query itself could simply supply that datum easily.
Curiously,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thought was a great idea, but only because I thought he meant
the query.
Warm regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 2006-11-02 at 17:11 -0500, [EMAIL PROTECTED] wrote:
> http://www.w3schools.com/wap/
Also, don't forget hawhaw. I think it lives at http://www.hawhaw.de or
something.
--Paul
All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/portal/uwc2006
where your problem lies.
By the way, are you aware that chr(1) isn't 'A'? It's hex(01). 'A'
= hex(40) = dec(64). Your array $normalAlphabet is not going to
contain the alphabet the way it's written now.
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if the OP considered for a moment hiring any
self-proclaimed professional who replied so harshly to his query.
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
want and
the number of rows after that that you want...
$res = $db2->exec($stmt);
if (PEAR::isError($res)) {
$ret = false;
} else {
.;
--Paul
All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/portal/uwc2006/content/
utions that people on this list, and others, have given you...
My final advice to you is RTFM and google it.
--Paul
All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm
--
PHP General Mailing List (http://www.php.ne
ur logic I urge you not to use it.
2) You omitted the $ in front of $url.
3) You used a single equal sign instead of two. This:
if ($url = $row['url'])
tests whether $row['url'] is blank, and also sets $url equal to that value.
I think
tch
http://ca3.php.net/manual/en/function.preg-match.php
Pattern Syntax
http://ca3.php.net/manual/en/reference.pcre.pattern.syntax.php
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
eir idiosyncratic bugs.
This topic will be much better received in a CSS listserve such as
CSS-D. Before you post, check their wiki for plentiful suggestions:
http://css-discuss.incutio.com/
and specifically:
http://css-discuss.incutio.com/?page=BrowserDetection
Regards,
Paul
--
PHP
this:
/(\d+)(\d{2})(\d{2})$/'
to this:
/(\d*)(\d{2})(\d{2})$/'
so it won't require any digits before the final two pairs.
* 0 or more quantifier
+ 1 or more quantifier
http://ca.php.net/manual/en/reference.pcre.pattern.syntax.php
Paul
solution because it allows you to mark up the
numbers in sequence and in future change the number of items in the
sequence and/or change the way the series is presented visually
without having to mess with the logic generating the markup.
Regards,
Paul
--
PHP General Mailing List (http://
he close-bracket and the vertical pipe
and the second field with:
[^\]]
anything except the close-bracket
Therefore:
/\[([^\]|]+)\|([^\]]+)\]/
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thursday 16 November 2006 01:38, Paul Novitski wrote:
> If you need to left-pad with zeroes, PHP comes to the rescue:
> http://php.net/str_pad
>
> However, if you're using the regular expression
> method then you might not need to pad the
> number. You can chang
http://ca.php.net/manual/en/reference.pcre.pattern.syntax.php
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hich I'm sure you don't here.
On other regexp points:
Thanks, Paul. I've been refining my methods, and I think it's better
(for me) to just match everything between [ and ], including spaces,
underscores, apostrophies, and pipes. I'll explode on the pipe inside
the function.
So
, brevity is golden.
I generally just say 'Website by' and allow that ambiguity to fill
the available space. It works by itself and also in conjunciton with
a separate 'Design by' credit.
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ith a single double click. If you are
interested in taking this route, I could set you up with some links, as
well as our ISO that you could modify and re make...
--Paul
All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.
nk that your stuff
could be really useful to them.
--Paul
All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ou can simplify your href to:
By specifying just the querystring and not the file name, I believe
it will always simply reload the current page with the querystring attached.
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
er time to a myriad of African languages and we will all
benefit from it.
Thanks for your interest!
--Paul
All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubs
ng like this:
if (isset($_GET[$argname]))
{
return $_GET[$argname];
}
elseif (isset($_SESSION[$argname]))
{
return $_SESSION[$argname];
}
In other words, if the value has been set by the last request from
the client, use th
On Mon, 2006-11-27 at 11:41 -0800, Ryan A wrote:
> Hey Paul,
>
> Now this is sounding promising!
> Can you send me details on how/where I can download your package to
> give it a go?
>
The ISO image is now available at: http://fsiu.uwc.ac.za/iso/
--Paul
All Email origi
s than we do -- you know, like muddy screwdrivers and
oily vises -- you're going to have to do it yourself. Look at each
image and judge for yourself. At least you can rest assured that
your own judgement is sound.
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ertisers,
it wouldn't pay to have a near-sighted or illiterate gatekeeper.
Perhaps the only way to do what you're suggesting is to write an
image pattern recognition algorithm so sophisticated that it can
differentiate a photograph of a hand caressing a breast from a
photograph
a PHP programmer to modify the markup of one of your pages. Do
you not see the advantage in separating the two layers?
Again, in spite of this criticism I'm impressed with your effort. Good work!
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 11/29/2006 01:51 AM, Robin Vickery wrote:
Cubist Porn - very big in certain 'artistic' circles.
What, both eggs on the same side of the sausage?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 11/29/2006 05:13 AM, Satyam wrote:
- Original Message - From: "Paul Novitski" <[EMAIL PROTECTED]>
What I find to be a much greater problem is the
human readability of logic code when HTML is
mixed throughout. Your innovation is helpful
here, as you're nearly
is discussion is the
separation of markup from logic.
With respect to separating code and markup, you said "sometimes there
are reasons not to do so, for example, web services." What are some
of those reasons?
Cheers,
Paul
--
PHP General Mailing List (http://www.php.net
On Thursday 30 November 2006 18:51, Paul Novitski wrote:
> With respect to separating code and markup, you said "sometimes there
> are reasons not to do so, for example, web services." What are some
> of those reasons?
At 11/30/2006 10:57 AM, Sancar Saran wrote:
Wha
at, for the
requesting program to parse and utilize. The first thing I'd put in
the return dataset would be a status code to communicate MySQL
errors, perhaps also num_rows for SELECT queries to reduce the number
of trans-server requests necessary for typical jobs.
Regards,
Paul
--
PHP G
At 12/1/2006 02:22 PM, Richard Lynch wrote:
On Thu, November 30, 2006 6:47 pm, Paul Novitski wrote:
> A templating system requires the processor to merge content with
> template. An inline markup assembly system requires the processor to
> build the markup from function calls. Whe
is invoked with that querystring, PHP does the necessary
processing and then redirects to itself (the same page) but without
the special querystring. Therefore reloading the page that's
downloaded to the client won't reinvoke the post-click process.
Regards,
Paul
--
PHP General Ma
On Thu, 2006-12-07 at 13:41 +0100, Sjef wrote:
> Hello!
> I wrote a recursive function, but when running the function appache stalls,
> the error log says:
Did you write a recursive function to send this mail to this list
perhaps?
--Paul
All Email originating from UWC is covered by d
ing pulling the tangled and
bloody fragments of logic and markup from the wreckage of their collision.
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ethod without messing with the others. It can be hard medicine to
swallow the first time, but it will make you a leaner & cleaner coder.
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
separate tables the engine will have to
select from each table separately before compiling them.
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
Remember, my son, PHP-general helps those who help themselves.
Piously,
Poop Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ings you can do that make your script more
efficient to execute AND to maintain. Personally I favor separating
out the HTML into larger, pure chunks that can be proofread more
easily than when tags and attributes are atomized and strewn
throughout the logic.
Regards,
Paul
--
PHP Gene
$submit is soppose to be set when the user submits the web form for
validation. I am not sure but is there soppose to be a $submit =
statement?
Paul
On 2/21/06, Jay Blanchard <[EMAIL PROTECTED]> wrote:
> [snip]
> if (isset($submit))
> {
> //vaildation code
> }
&
;--with-db4'
'--disable-eapi' '--with-xsl' '--enable-memory-limit'
'--with-libxml-dir=/usr/local/lib/'
make ends with
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
anyone got any ideas, or hints on what information I should be giving
to make diagnosis easier/possible?
thanks
paul
--
Paul Reinheimer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks,
I've subscribed to and posted to the instalation list. I'm going to
try and stay off internals@ if I have a choice.
thanks
paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I posted the full output of make earlier in this thread, as well as the
configure command i'm using, what are you looking for? The ./configure
output lines that reference libxml say nothing out of the ordinary.
paul
On 2/25/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
>
> On
and I got some good pointers on how
I should go about doing my validation but I have not yet figured out
how to display the errors on the page. Could someone help me with
that. I am doing the validation on the same page as the web page. I
don't forward to a new page to do the validation
od, I can also use a global error callback method to
handle _all_ database errors gracefully, using PEAR_Error. I do think
that there may be a slight performance hit doing it this way, but in an
app with over 180 000 lines of code (so far) I find it works just
fine...
--Paul
--
PHP General Mai
mysql/phpMyAdmin working on one of these machines.
Thanks in advance
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
but the way I described this the two people
accessed the webpage at the same time but I want the correct date for
the client computer to be outputted.
Thank you,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
27;s simply -- concretely -- inefficient & inelegant to modify on
average half the records in a database simply in order to delete one
record, when queries give us fast, simple, READ-ONLY methods for
enumerating existing data.
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/
THE PRESENTATION and you aren't put in the inelegant
position of trying to renumber records in a database.
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 07:41 AM 3/8/2006, Jabez Gan wrote:
Sorry im new but, how do we read from a file to an array? I've studied C but
not with PHP and it's not working for me... Suggestions?
file()
Reads entire file into an array
http://php.net/file
Doesn't require open & close.
Pau
play_content;
I don't think PHP will "care" whether it's broken out or not --
internally it's having to create temporary variables on the fly to
store incremental values -- but your future self and other folks
reading your code will thank you for it.
Regards,
Paul
--
te excellent mapping
applications. Then again, this may be overkill, and google maps API may
be your best bet.
--Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 07:05 PM 3/8/2006, Jabez wrote:
I used the following code that Paul suggested, but it didn't reverse my
content.
The file I would want to have the content reversed is as attached. Chinese
characters is in the file so...
Suggestions?
Jabez,
The data in your file is all in one text
, and nothing really reproduceable.
I am using:
PHP Version 5.1.2 on Apache2 Debian GNU/Linux amd64 stock kernel on
Opteron processors.
Has anyone any ideas as to why this is happening?
--Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-wt owner root.
Would it not be a little unsafe to change those permissions to anything
less secure? I certainly wouldn't think it OK to chown to the webserver
user...?
--Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uot;you@".$_SERVER['SERVER_NAME'].">\n";
>
> is this ok?
I would do a date("r") for a nice RFC format date and time, but it
should be OK.
>
> Perhaps if someone has a link on the headers for a mail that could help me it
> would be much appr
omes the error regarding cleanup of files.
--Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ff and see what I can do with it. If that
also fails, will do the bug report, but I want to be dead sure before I
start causing trouble for other people!
Thanks for your help!
--Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I tried to get the eBay API working with nusoap for quite a while, but
eventually gave up and wrote my own code from scratch.
There is a pear project that deals with eBay if you're more interested
in using a prefab solution than coding your own from scratch.
paul
On 3/8/06, jon &l
Hi all,
Is it possible to modify a table using JavaScript to control CSS
visabilty when the entire table is developed dynamically using PHP?
Thanks,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
appreciate it.
Thanks,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 3/12/06, Curt Zirzow <[EMAIL PROTECTED]> wrote:
> On Sun, Mar 12, 2006 at 12:09:42PM -0700, Paul Goepfert wrote:
> > Hi all,
> >
> > I am trying to validate phone numbers in a web form that I have
> > created. I am using a regular expression to validate the p
ece I have it what method
removes the characted or number?
I know this seems trivial but I am still new to php and I don't have a
good understanding of the language yet. The more I do the better I'll
get.
Thanks
Paul
On 3/12/06, Curt Zirzow <[EMAIL PROTECTED]> wrote:
> On Sun, Ma
iority setting, but no
> X-Mailer * 1.8 INVALID_MSGID Message-Id is not valid, according to RFC 2822
>
Looks like setting X-Mailer should do the trick
--Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I have been working on a page where I have a form. I currently have
the form in an else block with no access to it if I need to redisplay
the form incase of errors. To be more specific I want to redisplay the
page with the errors displayed. I would like to have the form coded
once. It wo
Class validation
{
//functions
}
if(isset($submit))
{
//calls to validation code
}
else
{
//display webpage
}
On 3/14/06, Paul Goepfert <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have been working on a page where I have a form. I currently have
> the form in an else block
if ((strlen($Phone)) <= 14)
return
preg_replace("/[^0-9]*([0-9]{3})[^0-9]*([0-9]{3})[^0-9]*([0-9]{4}).*/",
"(\\1) \\2-\\3",$Phone);
}
}
I think my problem is mostly what is returned when preg_replace executes?
Paul
--
PHP Genera
worry about
typos. I find it one of the strongest features of PHP as compared to
other scripting languages.
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
email sent to me. This is what I did, I created the
following variables:
$to = "[EMAIL PROTECTED]";
$subject ="Test";
$message ="This is a test"
$headers = "From: Paul " .
"<[EMAIL PROTECTED]>\r\n";
$headers .= "
$return = "SELECT m_id, months FROM
Month WHERE m_id >=
month(curdate())+1";
else
$return = "SELECT m_id, months FROM
Month WHERE m_id >= month(curdate())";
that says "Resource id#9". I don't get it. I tested the sql
statement in MySQL that I have on my computer. It worked, Why
wouldn't it give the same output through mysql_query()?
Paul
On 3/26/06, Chris <[EMAIL PROTECTED]> wrote:
> Paul Goepfert wrote:
> > H
ql_fetch_assoc(): supplied argument is not a valid MySQL result
resource in C:\\Program Files\\Apache
Group\\Apache2\\htdocs\\validation.php on line 342
By the way I tested the SQL statements in MYSQL and they returned the
values I was looking for.
What am I missing? At the time of this email I wa
30";
break;
}
return $return;
}
Here is the code for where I output the contents of the query
$day = $this->determineDay();
$Day_query = mysql_query($day);
while ($a = mysql_fetch_assoc($Day_query))
according to my SQL the month name ois going to be returned not the
month number.
m_id is the number equivlent to the month.
months is the full name of the month.
In my month method I did not change the case values to the month
number and the function returns correctly. All I had to do was add
t
,
this results in a legal statement. To show the error message, enter
two statements that you're sure will combine into invalid syntax, such as:
$x = 4
$y = 3;
Their concatenation results in:
$x = 4 $y = 3;
which should get you "parse error, unexpected T_VARIAB
27;t have a problem with "year(curdate())" or
"month(curdate())". Even though the functilon works on the final
destination webserver I would like to know why it won't work on my
testing server.
Thanks
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ery string, it will return a template.
To see it in action, go to http://fsiu.uwc.ac.za
get the code at http://avoir.uwc.ac.za/projects/nextgen/ I would
recommend doing an anonymous CVS checkout here, as we only do a new
release on Friday...
--Paul
--
PHP General Mailing List (http://www.php.net/)
nes:
if($this->objUser->isAdmin()) {
//allow the user to do something
} else {
//redirect the user to another action or module
$this->nextAction('anotherAction', 'anotherModule');
}
--Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
version
5.0.18-nt) and it worked with out any errors. And this code works on
a different web server. Mysql client version 3.23.49. However it does
not work on mysql client version 3.23.54. Also both php versions are
the same.
Thanks
Paul
On 4/3/06, Jon Drukman <[EMAIL PROTECTED]> wrote:
> P
e AJAX
validation
--Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ions and frankly I'm dumbfounded as
to why my phpinfo() is still not even listing sessions as a modules??!
Any suggestions would be greatly appreciated.
TIA!
--
Paul Nowosielski
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ance.
Send an error message to the user and get them to refill the input box.
Not sure what the question is?
--Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Enquiry);
RESULT: array(
john
johnston
)
// concatenate the array back into a string using desired delimiters
$sSearch = implode(" +", $aWords);
RESULT: [john +johnston]
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a wiki,
check it out at http://fsiu.uwc.ac.za/ If its not there, please add a
method once you figure it out!
--Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
es the syntax to "if (A &&
B)" so it knows the number of expressions and their Boolean
relationships, so that when it begins evaluating the granular
expressions in sequence it knows when the overall conclusion is determined.
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
k.now how to do well in PHP is mysql queries and data
validatlion.
Thanks,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ill-down in which all the category menus
remain on the screen:
http://www.dandemutande.org/ResourceGuide/
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ontains the string 'Hello $foo':
$foo = "cat";
$sText = eval($sDataField);
RESULT: $sText = "Hello cat"
http://php.net/eval
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the PHP interpreter
differentiate a variable from the surrounding text:
$bar = "Hello ${foo}amaran";
If you escape the dollar sign, the variable won't be evaluated:
$bar = "Hello \$foo";
RESULT: "Hello $foo"
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
Can anyone tell me a good php book to buy. I already have Web
Database Applications with PHP & MySQL by O'Reilly.
Thanks,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;
because everything inside the eval() parentheses needs to be a
complete PHP statement. The eval() function itself doesn't return
the value of an evaluated expression. To capture the value of an
expression, you must evaluate a complete statement that sets a
variable equal to the expression as above.
___
Clear as mud?
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
updating by user click for now. I might change that in the future to
update by interval.
Paul
On 4/7/06, tedd <[EMAIL PROTECTED]> wrote:
> At 12:13 AM -0700 4/7/06, Paul Goepfert wrote:
> >Hi all,
> >
> >I am postilng pictures up on a website. So far I have a picture
I'm not looking for someome to do it for me. I would like to learn
how to do this my self. I have written code in Java and C/C++ before.
From the function list in the PHP manual some of the functions look
like the C/C++ functions.
Thanks,
Paul
On 4/8/06, tedd <[EMAIL PROTECTED]> wr
At 06:54 PM 4/9/2006, bob pilly wrote:
Im trying to store a document template in mysql that has php var
names within it and then find it in the datebase and print it out
with the var names replaced with the var values.
At 04:05 PM 4/7/2006, Paul Novitski wrote:
At 02:41 PM 4/7/2006, David
roperly) the message can't be recalled. I recommend doing for the
user almost exactly what you're doing for debugging purposes --
output the error message to the page AND to a javascript
alert(). The alert() gets their attention, and the page-bound error
message lets them read it a
ay($oHandle, MYSQL_ASSOC))
{
// cycle through the fields in each record:
foreach ($aDataRow as $sField => $sValue)
{
// $sField is the field name
// $sValue is the field value
}
;
...the lines I've marked with an asterisk should reveal the true
length of the string, including all nine spaces, even though the
screen-print functions make it look like they've been consolidated
into one space.
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ional
list that just happens to be presented two to a row.
If so, I'd use an unordered list, float each item left, and limit the
list width to two item widths.
Regards,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1101 - 1200 of 2284 matches
Mail list logo