# Correct PHP Syntax

**URL:** <https://forum.kirupa.com/t/correct-php-syntax/303379>\
**Category:** programming\
**Created:** [January 19, 2010, 3:35pm UTC](https://forum.kirupa.com/t/correct-php-syntax/303379 "2010-01-19T15:35:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimjiminyjimjim](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Post date:** [January 19, 2010, 3:35pm UTC](https://forum.kirupa.com/t/correct-php-syntax/303379/1 "2010-01-19T15:35:28Z")

</div>

Just a quick question -

```php
html .="<param name=FlashVars value='imageFilename=$row[pic]'> "

```

As I don’t think the $row[pic] should appear within the ’ ’ think it should be somthing like this:

```php
html .="<param name=FlashVars value='imageFilename='.$row[pic].'> "

```

but am not sure of the correct syntax.
