Jump to content
Sign in to follow this  
Fiara07

Cum fac asta pe Facebook?

Recommended Posts

Stie cineva cum se face pe Facebook ca atunci cand cineva scrie un comentariu la intrebarea mea ..lui sa i apara scurt un raspuns .
Ceva de genul , Scrie masina in comentariu si vei vedea ce masina vei conduce .
Si el cand scrie masina , sa apara raspuns , Dacia, BMW, AUDI , etc etc.

Ms.


:PeterParker:

Share this post


Link to post
Share on other sites

On ‎8‎/‎2‎/‎2017 at 2:53 AM, gaby said:

Daca nu ma insel, de chestiile de genul sunt responsabile niste aplicatii.

da cred ca se poate face chestia asta cu un script php .

cred ca stiu in principiu cum ar trebui sa faci:

<meta property="og:image"              content="imagine.png" />

tagul ista iti arata imaginea cand il pui un link intr-un comentariu sau status , si ai putea sa faci un array cu un random.

 
<?php
$imagini = array("test1", "sarpe","test2", "test5");
 
$random = array_rand($imagini);
 
echo $imagini[$random];?>

:D

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...