just
for ($i=1;$i<100;i++)
{
if($i<10) $string="rur0".$i;
else $string="rur:.$i;

{

--


Best regards,
George Nicolae
IT Manager
___________________
PaginiWeb.com  - Professional Web Design
www.PaginiWeb.com


"Pat Johnston" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
> With php, just wondering if anyone knows if I can auto increment a  number
> that has a part string? Is it possible to code this for an ID in MySQL
> database?
>
> ie
> rur01
> rur02
> rur03
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to