Can you help me little with jQuery and PHP ?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jankidudel
Forum Commoner
Posts: 91
Joined: Sat Oct 16, 2010 4:30 pm
Location: Lithuania, Vilnius

Can you help me little with jQuery and PHP ?

Post by jankidudel »

Hi, I have 10 titles and 10 descriptions of the products for the online shop in products.txt
titles are in title class
descriptions are in descriptions class
How can I put them like this in my div

<div class='content'>
<title1>
<description1>
<title2>
<descirpiton2>
and so on.....
</div>

I've tried to wrote some script in jQuery, but I'm only couple of days familiar with it, and I can't do it myself for now
<script>
$('.content').load(''products.txt .titles // but how can I mix them ?


thank you very much
Post Reply