RE: [PHP-DB] Simple database error (SPACE)

From: Date: Thu, 30 Aug 2001 22:17:55 +0000
Subject: RE: [PHP-DB] Simple database error (SPACE)
Groups: php.db 
Request: Send a blank email to php-db+get-12002@lists.php.net to get a copy of this message
Hello!!! Use mysql_fetch_object... $myrow->WHATEVER Whatever = whatever the field name is.... Dan > ---------- > From: Nagasea > Reply To: nagasea@kaskus.com > Sent: Thursday, August 30, 2001 5:01 PM > To: php-db@lists.php.net > Subject: [PHP-DB] Simple database error (SPACE) > > //-- Anybody can help me with this problem (I think > //-- it's simple but im to stupid to know the answer) > > ================================================== > while ($myrow = mysql_fetch_row($result)) { > echo(" > <a href=m_template.php?nick=$myrow[3]>$myrow[3] ."</a>"); > } > ================================================== > > If I have a database in $myrow[3] and it has "space", it didn't work. > > Example Database : John Doe > __________________________________________________ > > it will shown > m_template?nick=John > > I NEED PHP to show the space and Doe also > so it's suppose to be : > > m_template?nick=John Doe > > > > _____________________________________________________________ > www.kaskus.com - FREE EMAIL SERVICE > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > >

« previous php.db (#12002) next »