Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I have written the correct image source/folder but the image is not displayed. Did I miss something?
echo '<div class="product-thumb"><img src="images/menu/'.$obj->MenuPicture.'"></div>';
Change
<img src="images/menu/'.$obj->MenuPicture.'">
to
<img src="'.$obj->MenuPicture.'" />
I addedd the "/" at the end of the tag for W3C compliance.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 days ago.
This post was edited and submitted for review 5 days ago.
Improve this question
<li> <?php echo $row['Name'];?></li>
Actually i want to use the data which is present in the the <li> tag so Anyone click on the href link then i can retrieve the data.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
Can some of you tell me please why when I echo "<?", the <? is not displayed?
I'm sorry, maybe it's very stupid question, but I need to dig this language more deeper.
If you view the source it will be there. Its because the browser thinks its a tag.
Fix it by using htmlentities().
echo htmlentities("<?");
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I have this code.
<?php echo "".$row['pname']."";?></h4>
When I click on the link,Its only posting the first word of the string,the rest are ignored
Missing the quotes for href attribute -
echo "<a href='pvendors.php?post=".$par."'>".$row['pname']."</a>";
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
echo '<div class"Match-box" align="center">'.$Voornaam_array[$n]. '<br>' .$Tweedenaam_array[$n]. '<br>' .$Achternaam_array[$n].
'<br><br><a href="INSERT LINK TO DETERMINED PLACE" class="Match-button">'.$Voornaam_array[$n].' toevoegen aan matches<a><br><br></div>' ;
So this is my php code snippet, in which I want the link to be determined by php code(I want to run a query between the ""). The arrays displayed only contain text.
How can I make this working?
Any help is appreciated!
Thanks in advance,
You can do different things when in this situation but here is one.
'<br><br><a href="'. $var .'" class="Match-button">'
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
Laravel
What mistake am I actually doing?
Please have a look at the image below:
http://1drv.ms/1ybX4Cg
I think
$body['user_id'] = $user()->id;
should be
$body['user_id'] = $user->id;