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


Recent Events
  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.

  • 14/04/2017 Happy Easter

    Wish a Happy Easter and give 30% discount for all our WordPress and Joomla! extensions. Use EASTER17 coupon code. The offer is valid till 17 April.


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 6 Years, 3 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 6 Years, 3 Months ago Karma: 666
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