Jump to content


stijn0713

Member Since 04 Feb 2012
Offline Last Active Sep 01 2013 04:12 PM

Topics I've Started

<a> inside <li>

29 August 2013 - 09:17 AM

<a> inside <li> makes my list markers float above the <h4>item and <p> that are inside the <li>. Does anybody know why?

 

Update: only in chrome it works (as in the markers are on the correct height)


post json with ajax

28 June 2013 - 07:39 PM

i want to post a json literal with jquery ajax method.

 

The $_POST array on the server side is empty, thought i see with firebug that the json literal has been send.

 

If i switch to GET method, i do receive the literal but it's not clean formatted.

 

client-side

$.ajax({
type: "GET",
url: 'ajax/saveInfoAuthenticatedUser.php',
data: pic_data,
dataType: 'json',
success: function (data) {
alert(data);
} 
});

server-side

$data = $_POST['pic_data'];

print_r($_POST);

What is the problem? I've read alot of posts on stackexchange where people had the same problem, but nowhere i could find the reason why the post variable is empty.

 

Extra question:

What is the clean way to send a json format? should i use stringify(), json_encode or something?


Facebook API

22 June 2013 - 04:44 PM

I find contradictory answers when googling.

 

could someone confirm or reject if it is possible to let an authenticated person post to his friend's wall/ timeline without a dialog?

 

If someone know it it's possible, please tell me: 

 

 


Antwerp webdesign course | Aug 19 - 23, 2013

17 June 2013 - 04:51 PM

Dear all,
 
 
 
Do you speak Dutch ? 
Do you live near Antwerp?
And do you want to start learning about websites or webapplications?
 
 
Then this webdesign course (Attached File  cursus webdesign.pdf   42.84KB   4 downloads) might be for you !
You will learn how to style websites, how to work with databases, how to create forms and how to install websites. You will learn the basics of HTML, CSS, PHP, javascript and Mysql
Target audience are people with no or limited prior knowlegde of webprogramming.
 
 
 
Take a look at http://www.summerc.be for more information!
 
 
 
Kind regards
 
Summerc.be


Dompdf

06 June 2013 - 05:35 PM

Anybody experience with dompdf? 

 

i follow the basics to make a pdf from html using 

$dompdf = new DOMPDF();
$dompdf->load_html($html);
$dompdf->render();
$dompdf->stream("factuur.pdf");

It seems i can't open a pdf created with dompdf if i echo something or if there is html besides the html contained by $html. anybody know why?