php - How to insert multiple strings into specific column with space between? -



php - How to insert multiple strings into specific column with space between? -

how insert multiple strings specific column space?

example:

$this->database[abb]->doquery('insert market (account, user, rank, changetime) values (?,?,?, getdate())', $_session['account'], $user, $rank);

the values sanitized in total code above query want combine account & user columns 1 (accuserinfo) , when inserted, should insert them space between: accex userex

is possible in php script when inserted mssql server 2005 table?

i alter db structure, wanna know how include both strings query space between them?

to bring together 2 stings space:

$foo=$cat.' '.$dog;

your particular case:

$accuserinfo=$_session['account'].' '.$user;

php sql-server

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -