corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » php help


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author php help
*Donna*
Banned

Registered: 14th Sep 04
User status: Offline
25th Feb 05 at 21:37   View User's Profile U2U Member Reply With Quote

can someone please help me with this.

I'm editing some php files, but the parts in bold i would like in normal text, so need to remove the bold tags

one of the lines are...
code:

$row['username'] = '<b>' . $row['username'] . '</b>';


now do i just remove the tags and leave the ' ' there, or remove the ' ' part??

could someone please show me how the above is meant to look without the bold tags

thank you
Daniel_Corsa
Premium Member

Avatar

Registered: 21st Apr 04
Location: Wigton, Cumbria
User status: Offline
25th Feb 05 at 21:39   View Garage View User's Profile U2U Member Reply With Quote

remove the ' '


April '06' Corsasport Feature Car | Aug '08' Total Vauxhall Feature Car | Spring '09' Fast Car Feature Car
*Donna*
Banned

Registered: 14th Sep 04
User status: Offline
25th Feb 05 at 21:41   View User's Profile U2U Member Reply With Quote

so it should look like this..

code:

$row['username'] = . $row['username'] . ;



??
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
25th Feb 05 at 21:42   View Garage View User's Profile U2U Member Reply With Quote

Just remove the whole line from the script.
*Donna*
Banned

Registered: 14th Sep 04
User status: Offline
25th Feb 05 at 21:44   View User's Profile U2U Member Reply With Quote

thank you for your help

[Edited on 25-02-2005 by *Donna*]
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
25th Feb 05 at 21:45   View Garage View User's Profile U2U Member Reply With Quote

quote:
Originally posted by *Donna*
so it should look like this..
No.
lewie
Member

Registered: 21st Feb 05
Location: Home: Orkney Uni: Edinburgh
User status: Offline
25th Feb 05 at 21:52   View User's Profile U2U Member Reply With Quote

code:
$row['username'] = '' . $row['username'] . '';
should work ???

[Edited on 25-02-2005 by lewie]
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
25th Feb 05 at 21:54   View Garage View User's Profile U2U Member Reply With Quote

Why concatonate blank strings?

Totally pointless?
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
25th Feb 05 at 22:05   View Garage View User's Profile U2U Member Reply With Quote

Get a code editor with syntax colouring or just do more programming. This isn't so difficult stuff...
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
25th Feb 05 at 22:25   View Garage View User's Profile U2U Member Reply With Quote

Stop wasting time and learn the stuff. Its not difficult.
lewie
Member

Registered: 21st Feb 05
Location: Home: Orkney Uni: Edinburgh
User status: Offline
25th Feb 05 at 22:26   View User's Profile U2U Member Reply With Quote

Aye
Dom
Member

Registered: 13th Sep 03
User status: Offline
25th Feb 05 at 22:29   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Ian
Stop wasting time and learn the stuff. Its not difficult.

its not easy either

however, even rookies know that writing
$row['username'] = '' . $row['username'] . '';
means a = a
lewie
Member

Registered: 21st Feb 05
Location: Home: Orkney Uni: Edinburgh
User status: Offline
25th Feb 05 at 22:30   View User's Profile U2U Member Reply With Quote

I was wrong-soz
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
25th Feb 05 at 22:32   View Garage View User's Profile U2U Member Reply With Quote

Don't worry and keep learning.
*Donna*
Banned

Registered: 14th Sep 04
User status: Offline
25th Feb 05 at 23:14   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Dom
quote:
Originally posted by Ian
Stop wasting time and learn the stuff. Its not difficult.

its not easy either

however, even rookies know that writing
$row['username'] = '' . $row['username'] . '';
means a = a


yes i noticed that after i wrote it, but that was just an example of one of the codes, some of the others are more complex to just delete the full thing, so i thought removing just the tags in them all would do the job
AK
Member

Registered: 5th Jul 00
Location: Aberdeen City
User status: Offline
26th Feb 05 at 10:02   View User's Profile U2U Member Reply With Quote

Soft words from Ian there

'just learn it'

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Few Pics from the Pod (56K Warning) PaulW General Chat 12 1057
21st Feb 05 at 16:40
by Jambo
 
Dodgy HTML/PHP/Table problem liamC Geek Day 9 777
24th Jan 07 at 19:37
by liamC
 
phpbb index Tom J Geek Day 3 764
13th Feb 07 at 15:34
by Steve
 
PHP Template Help Laney Geek Day 14 860
17th Jul 07 at 19:26
by Ian
 

Corsa Sport » Message Board » Off Day » Geek Day » php help 29 database queries in 0.0108080 seconds