<a href="">Select a Product First</a> </td>
<td align="left" valign="top" bgcolor="#F0F0F0"> </td>
<td align="left" valign="top" bgcolor="#F0F0F0"> </td>
</tr>
<tr>
<td colspan="3" align="left" valign="middle" bgcolor="#F0F0F0">
@if(request()->is('/select_product'))
<?php
$product_image=DB::table('product_images')->where('product_id',$product_id)->first();
?>
<img src="{!! asset('image/product/'.$product_image->image) !!}" width="60" height="70"> <br> <br>Price : Tk. . <br>Point : {5}<input name="spro" type="hidden" value="37" required="required"><input name="sprop" type="hidden" value="1000"><input name="pro_point" type="hidden" value="5"> </td>
<input name="spro" type="text" value="" placeholder="Select a Product First" class="s9" maxlength="0"> </td>
</tr>
@endif
in the if condition i want to do this work if the url site visit then it will go through the condition other wise it don't do anything but in my code it doesn't work
Aucun commentaire:
Enregistrer un commentaire