I want to make a recipe website.In that I had added the add to favourite button.If i click my favourite button the recipe which i clicked will add to favourites.I i re-click it will remove from my favourites.It is controlled by the status field in the favourites table in sql.How could I do this?

Member Avatar
Member Avatar
+0 forum 2

Hello All, I'm trying to GET values from a DB table in JSON format through AJAX and then parse them into a JQuery List. test.php (partial) [CODE]while($row=mysql_fetch_assoc($sql)) $output[]=$row; print(json_encode($output)); mysql_close();[/CODE] JSON Format it Returns: [CODE][{"name":"1423 Peacock Haven"},{"name":"9835 Fredericksburg Rd"},{"name":"Test Project"}][/CODE] Following along with [URL="http://www.roccles.com/?p=151"]this tutorial[/URL], I'm trying to parse my own JSON above but nothing is returned in the list. I feel I may be all over the map here with errors - I'm not very familiar with AJAX as you can tell. I am also wondering if the issue is in my JSON as it does not have an …

Member Avatar
Member Avatar
+0 forum 1

Hello guys, Am working on phonegap(jquerymobile) for an android application.I want to implement a map which shows a marker at a particular location and when i click on the marker,it should show a window and a description about the location inside the window..The below code is working when i run the application in mozilla browser.But the content inside the window is not displaying when i run this same code in Eclipse(i mean in android SDK).may i know why is that..Please give me a solution for this... [CODE] <script type="text/javascript"> $(function() { // Also works with: var yourStartLatLng = '59.3426606750, 18.0736160278'; …

Member Avatar
+1 forum 0

The End.