473,396 Members | 1,918 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,396 software developers and data experts.

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'

I am sooo lost and you guys are amazing on this site to help, I thank you VERY much! The first line below is the one giving me the error, would appreciate if someone can check this, thank you again!

echo "Shirt: " . $clientinfo['shirt'] . " ' "Jacket: " . $clientinfo['jacket'] . " ' ' "Dress: " . $clientinfo['dress'] . ;
echo "Hair: " . $clientinfo['hair'] . "&nbsp;&nbsp;&nbsp; Eyes: " . $clientinfo['eyes'] . "<br/>";
$order = array("\r\n", "\n", "\r");
$replace = '<br />';
echo "<p style = 'font-size:90%;'>Experience:<br/>";
echo str_replace($order, $replace, $clientinfo['experience']) . "</p>";
echo "<p style = 'font-size:90%;'>Skills:<br/>";
echo str_replace($order, $replace, $clientinfo['skills']) . "</p>";


echo "</div>
Dec 16 '10 #1
2 1198
johny10151981
1,059 1GB
echo "Shirt: " . $clientinfo['shirt'] . " ' "<Something is missing here>Jacket: " . $clientinfo['jacket'] . " ' ' "Dress: " . $clientinfo['dress'] .
Dec 16 '10 #2
JKing
1,206 Expert 1GB
Expand|Select|Wrap|Line Numbers
  1. echo "Shirt: " . $clientinfo['shirt'] . " Jacket: " . $clientinfo['jacket'] . " Dress: " . $clientinfo['dress'] . ;
  2. echo "Hair: " . $clientinfo['hair'] . "&nbsp;&nbsp;&nbsp; Eyes: " . $clientinfo['eyes'] . "<br/>";
  3. $order = array("\r\n", "\n", "\r");
  4. $replace = '<br />';
  5. echo "<p style = 'font-size:90%;'>Experience:<br/>";
  6. echo str_replace($order, $replace, $clientinfo['experience']) . "</p>";
  7. echo "<p style = 'font-size:90%;'>Skills:<br/>";
  8. echo str_replace($order, $replace, $clientinfo['skills']) . "</p>";
  9.  
  10.  
  11. echo "</div>";
  12.  
Try that.
Dec 16 '10 #3

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

Similar topics

8
by: Wescotte | last post by:
The error message Parse error: syntax error, unexpected $end in FILE on line X is one I run into frequently and I know the cause is I missed an ending quote. Is there an easy way to determine...
4
kestrel
by: kestrel | last post by:
I have some html code that is supposed to be displayed by php echo. But for some reason i keep getting a syntax error, and i cant figure out what is going on. Heres what i have <?php...
36
by: rhys | last post by:
My Gurus and Angels -- Please pardon this old-school programmer, only recently enlightened to open-source, having been trapped in the convenience of proprietary lingos for way too long. My...
3
by: sclarkstone | last post by:
Im getting this error; Parse error: syntax error, unexpected T_STRING, expecting ':' or ';' with this line; header ('postcodesearch.php?e=nw&pcode=',); I cant find whats wrong, can anyone...
2
by: fburn | last post by:
I need some help with an error I'm getting using php 5.2.5 running on linux. I receive an error: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or...
3
paulrajj
by: paulrajj | last post by:
hi to all, i am getting syntax error on my code.. Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in D:\xampp\htdocs\Dummy\paulraj\matrim\exam.php on line 62 ...
10
by: benicio | last post by:
Parse error: syntax error, unexpected T_STRING, expecting '(' in C:\wamp\www\study_group\includes\functions.php on line 19 I got this error and this syntax is from 8 to 19th line. <?php ...
2
hsriat
by: hsriat | last post by:
<?php //Content_Page class class Content_Page { private $title = array(); private $content = array(); private $js = array(); function __construct($title, $content, $js) {
14
riverdale1567
by: riverdale1567 | last post by:
Hi I am a newbie trying to get some of my first code working, yada yada yada. I have a drop down box which chooses a state then takes the post data to 'processform2.php' to use that to pull up...
4
by: 9139530 | last post by:
Hey, I'm getting the error: Parse error: syntax error, unexpected T_VARIABLE in Z:\home\baza\www\get2.php on line 7 with this code (have 2 pages , html-from page (reguser.php) and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.