Re: radio form submission
| From: | Daniel P. Brown | Date: | Thu, 23 Jun 2011 19:49:47 +0000 |
| Subject: | Re: radio form submission | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47872@lists.php.net to get a copy of this message | ||
On Thu, Jun 23, 2011 at 15:46, Chris Stinemetz <chrisstinemetz@gmail.com> wrote:
>>
>> Use an if or a switch. For example:
>>
>
> I think your suggestions are exactly what I am looking for. I am not
> sure exactly where to place it. Do I insert it after the query
> statment?
During your while() loop. This line here:
<td class="post-content">' . $posts_row['post_tptest'] .
If you convert it to a function as Karl suggested, you could do
something like this:
<td class="post-content">' .
getSpeed($posts_row['post_tptest']) ..
--
</Daniel P. Brown>
Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting
(866-) 725-4321
http://www.parasane.net/