jazuly aja

1

votes
2

answer
791

views

load more data from table using ajax and php

I have 7 data in my database I try to load my data from table using ajax and php. but after I click the button load more the data is showing but load more button is gone. here my index.php code https://github.com/jazuly1/piratefiles/blob/master/index.php here my ajax code $(document).ready(function...
jazuly aja
1

votes
3

answer
92

views

How to echo specific data from url

how to echo/print specific data from url using file_get_content. im only know basic from it here what i create for example here my content in real web title here description here casts here i want to print img src, h2 title and h2 description. what I want to achieve is load a litle information from...
jazuly aja
1

votes
1

answer
42

views

show a tag after countdown javascript

i want to show after countdown and hide after the tag showing. i try like this but the hide and showing execute before countdown go to zero. button to start countdown js to start countdown $(document).ready(function(){ $('input.btn').click(function(){ $('div#countdown').show(); }); }); here my js...
jazuly aja
1

votes
2

answer
55

views

how to echo image using DOMDocument

How to print url from img src? if that looping the code is like this foreach($dom->getElementsByTagName('img') as $link) { echo $link->getAttribute('src'); echo ''; } But I don't want to use looping, I am only want to show the first img src here what I try Result : http://asdasd.video/wp-content/upl...
jazuly aja
2

votes
2

answer
31

views

showing data from database using bindParam

i want to try to showing my data from database using bindParam but i get some error. Recoverable fatal error: Object of class PDOStatement could not be converted to string in C:\xampp\htdocs\piratefiles\search.php on line 15 here my code $category = htmlentities($_GET['c']); $query = htmlentities($_...
jazuly aja