On 07 May 2011 at 18:42, Michael Simiyu wrote:
> hey,
straw.
> some php 101 here guys :)
>
> i want to bold the first name and last name in the code below...
It's not PHP 101, it's HTML 101.
tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
After doing further reading on google i have managed to get this working using
the nl2br php command.
if anyone else wants to know how i did this.
almost the same as what was mentioned in this thread however my rows were being
displayed using "while" command.
echo nl2br($row['colname']);
Th
Thanks alot...
On May 7, 2011, at 8:39 PM, wrote:
echo 'Welcome ' . $current_user->user_firstname . "B>\n";
echo '' . $current_user->user_lastname . "\n";
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
> get_currentuserinfo();
>
> echo 'Welcome ' . "".$current_user->user_firstname . "."\n";
> echo '' ". $current_user->user_lastname . "".\n";
> ?>
On 7 May 2011, at 18:42, Michael Simiyu wrote:
> hey,
>
> some php 101 here guys :)
>
> i want to bold the first name and la
' . $current_user->user_firstname . "\n";
echo '' . $current_user->user_lastname . "\n";
?>
Richard L. Buskirk
-Original Message-
From: Michael Simiyu [mailto:simiyu.mich...@gmail.com]
Sent: Saturday, May 07, 2011 1:42 PM
To: php-general@lists.php.net
Subject: [PHP] Bold links
hey,
some php 101 here guys :)
i want to bold the first name and last name in the code below...
user_firstname . "\n";
echo '' . $current_user->user_lastname . "\n";
?>
Thanks
Michael
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
worked it out, thankyou.
On 7 May 2011, at 16:57, wrote:
> I would suggest you print out the array to get a better understanding of the
> structure first.
>
> Print_r('');
> Print_r($array);
> Print_r('');
>
>
> You can foreach over the $array['row']
>
> Foreach($array['row'] as $key=
I would suggest you print out the array to get a better understanding of the
structure first.
Print_r('');
Print_r($array);
Print_r('');
You can foreach over the $array['row']
Foreach($array['row'] as $key=>$values)
{
Echo $values.PHP_EOL;
}
Richard L. Buski
hello all.
im trying to make a function that fetches all rows in the database and stores
each row (Array) within an array.
so the code is as follows:
public function fetch_all($table_name,$order = "DESC"){
$array['row'] = array();
strtoupper($ord
On Sat, 2011-05-07 at 16:01 +0800, Ross Hansen wrote:
> thanks for your responses,
>
> so i understand that this code is using an array, however i havn't really
> used arrays as i am a novice php coder.
> Should this code be used on the php code for inserting the data into the
> MySQL table or
thanks for your responses,
so i understand that this code is using an array, however i havn't really used
arrays as i am a novice php coder.
Should this code be used on the php code for inserting the data into the MySQL
table or is it used when retrieving the data using the select function?
11 matches
Mail list logo