473,382 Members | 1,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Concate

[PHP]if ($_SESSION[sex]=="M" && $_SESSION[name]=="ara" ) echo "<tr><td width=150 valign=top>."Welcome Mr.$_SESSION[name]&nbsp;&nbsp;$_SESSION[lname]<img src="a.jpg">.echo"</td>"echo"<td valign=top><center><font size=8 color=blue >Thank You For Your Visit</font></center><form><font size=4 ><b>Upload Your File &nbsp;</font><input type='file'><br><br><br><br><br><select><option>Ar menia</option><option>Iran</option><option>USA</option></select><input type=submit value='Go'></form></td><td width=150 valign=top><a href=01.jpg><img src=01.jpg width=70 height=60></a><br><br><img src=02.jpg width=70 height=60><br><br><img src=03.jpg width=70 height=60></td></tr>";}{[/PHP]


I HAVE PROBLEM WITH CONCATES PLEASE DESCRIBE ME THIS PART [PHP] echo "<tr><td width=150 valign=top>."Welcome Mr.$_SESSION[name]&nbsp;&nbsp;$_SESSION[lname]<img src="a.jpg">.echo"</td>"echo"<td valign=top><center><font size=8 color=blue >Thank You For Your Visit</font></center><form><font size=4 ><b>Upload Your File &nbsp;</font><input [/PHP]

I HAVE TO SHOW A PICTURE FOR LOGED IN USER WHATS THE ERROR HERE.
Nov 29 '06 #1
3 2300
ronverdonk
4,258 Expert 4TB
Maybe we could be of help when you explained what you want to do.

Ronald :cool:
Nov 29 '06 #2
I HAVE PROBLEM WITH CONCATES PLEASE DESCRIBE ME THIS PART [PHP] echo "<tr><td width=150 valign=top>."Welcome Mr.$_SESSION[name]&nbsp;&nbsp;$_SESSION[lname]<img src="a.jpg">.echo"</td>"echo"<td valign=top><center><font size=8 color=blue >Thank You For Your Visit</font></center><form><font size=4 ><b>Upload Your File &nbsp;</font><input [/PHP]

I HAVE TO SHOW A PICTURE FOR LOGED IN USER WHATS THE ERROR HERE.
Arrays, when included inside double quotes, should have curly brackets surrounding them, such as:

[PHP] echo "<tr><td width=150 valign=top>Welcome Mr. {$_SESSION[name]}&nbsp;&nbsp;{$_SESSION[lname]}<img src=\"a.jpg\"></td>";[/PHP]

and double quotes inside of a string enclosed in double quotes must be escaped (see the image tag above).
Nov 29 '06 #3
bishwadeep: Read the Posting Guidelines at the top of this forum before you show any code. Especially the part about enclosing code within code, php or html tags!!
Ronald :cool:
<?
if ($_SESSION[sex]=="M" && $_SESSION[name]=="ara")
{
echo "<tr><td width=150 valign=top>Welcome Mr".$_SESSION[name]."&nbsp;&nbsp;".$_SESSION[lname]."<img src="a.jpg">".echo"</td>
<td valign=top><center><font size=8 color=blue>Thank You For Your Visit</font></center>
<form>
<font size=4 ><b>Upload Your File &nbsp;</font>
<input type='file'>
<br><br><br><br><br>
<select>
<option>Armenia</option>
<option>Iran</option><
option>USA</option>
</select>
<input type=submit value='Go'>
</form>
</td>
<td width=150 valign=top>
<a href=01.jpg>
<img src=01.jpg width=70 height=60></a>
<br><br>
<img src=02.jpg width=70 height=60>
<br><br>
<img src=03.jpg width=70 height=60></td></tr>";
}
?>
Read the Posting Guidelines at the top of this forum before you show any code. Especially the part about enclosing code within code, php or html tags!!
Ronald :cool:
Nov 30 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: mark | last post by:
Access2000 How do I write a query that combines the CTC field from each record below into one record? I need to concatenate the CTC field with a separator, like below: ...
6
by: Gidi | last post by:
Hi, I'm writing a C# Windows Application and i have 3 questions: 1. I have a string which i want to write into file but i want to write it in ASCII format, how can i do it? 2. I need my...
3
by: Mike | last post by:
I have an update page with Checkbox's, how can I get the value of the checkbox and update the db table correctly? heres the snippet i'm trying to run and its not working strSQL = "update...
6
by: Julius Fenata | last post by:
Dear all, I have created client-side scripting to trigger event onChange from code-behind, like this: DropDownList1.Attributes = "GenerateArticleID()"; At the script on Windows Form, I...
8
by: DEWright_CA | last post by:
Why does WebClient.DownloadFile loose my completed path? Ok, I have a function in my app then when my button is clicked it checks to see if the files come from a local drive or a http address....
3
by: Alpha | last post by:
I have 2 strings, "12/28/2005" and "16:44:54". I need to conatenate them and convert them to datetime format so I can assign them to a datetime field in a datarow. The time is now being converted...
1
by: Newbeee | last post by:
Hi all, I'm trying to write a procedure like this: CREATE PROCEDURE dbo.test1 @table_nm varchar(15) AS select * from + @table_nm GO
3
by: creeds | last post by:
Helllo guys, i am not able to concate teh strings evn though i got lots of explaination reagding that in intrnet my problem is that.. i read a value from a console and concat that with other...
1
ssnaik84
by: ssnaik84 | last post by:
Hi Guys, Last year I got a chance to work with R&D team, which was working on DB scripts conversion.. Though there is migration tool available, it converts only tables and constraints.. Rest of...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.