Re: [PHP-DB] [Regular expression] Format string to "DD/MM/YYYY hh:mm"

2006-03-30 Thread Petar Nedyalkov
> } This is not correct since you don't check the ranges of the day digits, month digits, etc. The easiest way to check the string is to explode it by " " (space), then explode the first part by slash and the second by column, and at last check the ranges. A regular expressio

Re: [PHP-DB] Get Confused : Use Transaction or not

2005-04-26 Thread Petar Nedyalkov
; > >> Apr 2005 16:07:36 +0800 > > >> > > >> Hi, > > >> > > >> I want to develop a multiuser system using PHP(5.04),MySQL(4.1.10) and > > >> PEAR(DataObject). > > >> There is only one MySQL account for PHP to operate data

Re: [PHP-DB] Too many $_GETs?

2005-04-25 Thread Petar Nedyalkov
down the server, cause trouble with the page, and > possibly cause problems that I have not yet seen. > > Comments? Suggestions? > > Thanks in advance for any feedback. > -v- > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.ph

Re: [PHP-DB]MYSQL

2005-04-21 Thread Petar Nedyalkov
oes not support the mysqli extension. Install PHP with mysqli support. > > Anyone can help me? > > Thank you. > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yaho

Re: [PHP-DB] Counting HTML Lines

2005-04-15 Thread Petar Nedyalkov
i mentioned the way. you can buffer the output and count. > > hwee > > - Original Message - > From: "Petar Nedyalkov" <[EMAIL PROTECTED]> > To: > Sent: Friday, April 15, 2005 5:06 PM > Subject: Re: [PHP-DB] Counting HTML Lines > > Count

Re: [PHP-DB] Counting HTML Lines

2005-04-15 Thread Petar Nedyalkov
ntDt = '-00-00'"; > $result = mysql_query($query); > > while($T010 = mysql_fetch_array($result)) > { > ?> > > > >{ > ?> > > > >ob_end_flush(); > ?> > ===

Re: [PHP-DB] preg_replace and database

2005-02-21 Thread Petar Nedyalkov
incidunt, urna augue > porttitor leo, eu luctus elit ante non mi.'; > > writeImgTag($text); > > ?> > > > returns id but not DB result Why don't you return the $row hash instead of returning a string and then parsing it. > > Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec > fermentum aliquam dolor. > > width="" height="" alt="" /> > > Pellentesque convallis, felis vel imperdiet tincidunt, urna augue > porttitor leo, eu luctus elit ante non mi. -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpNFq1DRDq8v.pgp Description: PGP signature

Re: [PHP-DB] fread()

2005-02-21 Thread Petar Nedyalkov
gt; ----- > Do you Yahoo!? > Yahoo! Search presents - Jib Jab's 'Second Term' -- Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 pgpBhGvlSSMwx.pgp Description: PGP signature