Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

a simple question

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

a simple question

Postby Phil » Sun Dec 29, 2002 8:16 am

i am writing a script for php (duh), but i need to know if a command is needed for a space (not a normal space)

the line is:

$tablename = divinglog_$name;

the question is:

does there need to be any command between the _ and the variable or will that work as it is?
Phil
New php-forum User
New php-forum User
 
Posts: 2
Joined: Sun Dec 29, 2002 8:11 am

Postby Phil » Sun Dec 29, 2002 8:22 am

also can someone tell me what to use as a seperator?

so if the field says london-liverpool

it can be split into
london
liverpool?
Phil
New php-forum User
New php-forum User
 
Posts: 2
Joined: Sun Dec 29, 2002 8:11 am


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 9 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.