Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

signing a variable to Title
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: signing a variable to Title
#17354
signing a variable to Title 13 Years, 4 Months ago Karma: 0
This is part of the sample code I am using!!!
<?php

echo '<a href="#row2" class="arifancybox {width: 600, height: 400}" title= "title"> echo $row[0][title] </a>';

?>

Is there a way to sign a variable to the title like
title = "<?php echo $row[0][title]; ?>"

When I tried it, it just copied "<?php echo $row[0][title]; ?>" and printed it on the screen.
The administrator has disabled public write access.
 
#17357
Re:signing a variable to Title 13 Years, 4 Months ago Karma: 760
Hello,

Where provided code is located? You can try the next code:

Code:


echo '<a href="#row2" class="arifancybox {width: 600, height: 400}" title= "' . $row[0]['title'] . '">' . $row[0]['title'] . '</a>';



Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1