Fwd: [PHP] Storing indefinite arrays in database

2011-05-10 Thread Bastien Koert
-- Forwarded message -- From: Bastien Koert Date: Tue, May 10, 2011 at 4:37 PM Subject: Re: [PHP] Storing indefinite arrays in database To: Benedikt Voigt On Tue, May 10, 2011 at 4:16 PM, Benedikt Voigt wrote: > Hi, > I'am very new to PHP, so please any comment is welcome. > >

[PHP] Storing indefinite arrays in database

2011-05-10 Thread Benedikt Voigt
Hi, I'am very new to PHP, so please any comment is welcome. I want to write a function in PHP, which takes X arguments and outputs a value. The functioning of this function should be stored in a db (mydb? or better alternatives?) The function would look up the result in the db based on the X a

Re: [PHP] Bold links

2011-05-10 Thread Adam Richardson
Hi Ash, I want to clarify a couple points. On Tue, May 10, 2011 at 2:27 PM, Ashley Sheridan wrote: > On Tue, 2011-05-10 at 13:46 -0400, Adam Richardson wrote: > > Hi Tedd, > > How's it going? I'm very pleased with the emphasis on accessibility you > bring to the PHP list, but I do believe you'r

Re: [PHP] Bold links

2011-05-10 Thread tedd
At 10:10 AM -0700 5/10/11, Micky Hulse wrote: Looking at your site: http://sperling.com/ Viewing the source code on your homepage, I see used 15 times in the body copy. You are absolutely right! I do know that the copy before that used , but for some reason unrealized by me that copy was r

Re: [PHP] Error Reporting/Display Errors Issues?

2011-05-10 Thread Mike Mackintosh
Unfortunately setting that within the PHP file directly still results in errors and notices being displayed. I'm at a loss. Sent from my iPhone On May 10, 2011, at 5:40, wrote: > Try this for me in a page you wish to not display errors. > > error_reporting(0); > ini_set('display_errors', 0);

Re: [PHP] Bold links

2011-05-10 Thread Ashley Sheridan
On Tue, 2011-05-10 at 13:46 -0400, Adam Richardson wrote: > Hi Tedd, > > How's it going? I'm very pleased with the emphasis on accessibility you > bring to the PHP list, but I do believe you're overstating a few points > below. > > > > So, allow me to bring mine -- my information/position stems

Re: [PHP] Bold links

2011-05-10 Thread Adam Richardson
Hi Tedd, How's it going? I'm very pleased with the emphasis on accessibility you bring to the PHP list, but I do believe you're overstating a few points below. > So, allow me to bring mine -- my information/position stems from my > understanding derived from both daily practice and constant read

Re: [PHP] Bold links

2011-05-10 Thread Joshua Kehn
On May 10, 2011, at 1:10 PM, Micky Hulse wrote: > [OT] > > Thanks for the informative reply Tedd. > > I respect your opinion and I don't think my approach is more right > than yours. I am wondering if this is just a DTD thing. I always use > an HTML 4.01 strict DTD and have not used an XHTML doc

Re: [PHP] Bold links

2011-05-10 Thread Micky Hulse
[OT] Thanks for the informative reply Tedd. I respect your opinion and I don't think my approach is more right than yours. I am wondering if this is just a DTD thing. I always use an HTML 4.01 strict DTD and have not used an XHTML doctype in ages. As far as I can tell, the specs in XHTML say "no

Re: [PHP] Short tag: why is it bad practice?

2011-05-10 Thread Joshua Kehn
On May 10, 2011, at 11:11 AM, Andre Polykanine wrote: > Hi everyone, > Many times I heard that the following two peaces of code are written > in a bad manner: > 1. > echo "Hello, world!"; > ?> > > 2. > > Your e-mail:value=""> > ... > > > As for now, I use both quite often. Why is this

[PHP] Short tag: why is it bad practice?

2011-05-10 Thread Andre Polykanine
Hi everyone, Many times I heard that the following two peaces of code are written in a bad manner: 1. 2. Your e-mail: ... As for now, I use both quite often. Why is this considered not kosher, I mean, good coding practice? Thanks! -- With best regards from Ukraine, Andre Skype: Franco

Re: [PHP] Bold links

2011-05-10 Thread Stuart Dallas
On Tuesday, 10 May 2011 at 15:41, tedd wrote: At 3:53 PM -0700 5/9/11, Micky Hulse wrote: > > On Mon, May 9, 2011 at 2:56 PM, tedd wrote: > > > Really? > > > How does the blind via readers, such as JAWS, understand what a is? > > > First, never use -- or for that matter. > > > Second, use

Re: [PHP] Bold links

2011-05-10 Thread tedd
At 3:53 PM -0700 5/9/11, Micky Hulse wrote: On Mon, May 9, 2011 at 2:56 PM, tedd wrote: Really? How does the blind via readers, such as JAWS, understand what a is? First, never use -- or for that matter. Second, use or instead. Readers can understand and render STRONG and EMPHASIZED t

RE: [PHP] Error Reporting/Display Errors Issues?

2011-05-10 Thread admin
Try this for me in a page you wish to not display errors. What you are doing with this function is over riding the php.ini file and turning off the errors on that page. Place the code at the beginning of php before any includes. If this works errors are turned on or your disabling function is m

Re: [PHP] mysql error

2011-05-10 Thread xianhua zhou
Hi Grega, Probably you wanna define a primary key, if so, then change from "uniqueid" to "primary key". 2011/5/6 Curtis Maurand : > > > > engine= > > --C > > Grega Leskovšek wrote: >> Can smbd please look  at this sentence - I got an error and do > not >> know how to fix it - I am still very unfa

Re: [PHP] Error Reporting/Display Errors Issues?

2011-05-10 Thread xianhua zhou
You may need to check the running php code, those values can be changed during runtime. 2011/5/10 Mike Mackintosh : > Anyone else notice PHP throwing Warning and Notices even when display errors > and error reporting disabled? > > I compiled PHP with the following: > > './configure'  '--prefix=/

RE: [PHP] Bold links

2011-05-10 Thread admin
Thank you Adam, The answer was not in haste, but the most common direction of a lot of browsers. Personally I encourage the use of CSS over explicitly presentational HTML markup. The answer was to explain that it was not a php functionality. Some tend to toot a broken horn, about broken software