- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
56 Posted Topics
Hi, i have was make small social network website and now i need to use RESTful API for hybrid application. Social network website i make in php, mysql. How to make API now? Do you have some tutorial for API that integrate in existing website? Thanks! | |
Hi I have problem to get data when insert with ajax. I have ajax.js file and here is this code: $('#text-content').keypress(function(e){ if(e.which == 13) { if($('input#enter-click').prop('checked', true)) { $('#live-send').click(); e.preventDefault(); } } }); $('#live-send').click(function(){ var message = $.trim( $('#text-content').val() ); if($('#text-content').val()!="") { $.ajax({ type: 'POST', dataType: "json", url: './includes/conversation.php', data: … | |
Hi I have problem to get data when insert with ajax. I have ajax.js file and here is this code: $('#text-content').keypress(function(e){ if(e.which == 13) { if($('input#enter-click').prop('checked', true)) { $('#live-send').click(); e.preventDefault(); } } }); $('#live-send').click(function(){ var message = $.trim( $('#text-content').val() ); if($('#text-content').val()!="") { $.ajax({ type: 'POST', dataType: "json", url: './includes/conversation.php', data: … ![]() | |
Hi i get all information what i need but i dont know how to get facebook profile image and save to file and in mysql save path. Here is my code for call fb api : <?php session_start(); include_once("config.php"); // facebook id include_once("includes/functions.php"); //destroy facebook session if user clicks reset … | |
How to make popup login and register from index.php to work and to parse data in mysql I have: Index.php, login.php, register.php In index.php I have modal popup and I want to user can login and register from popup. I try with ajax but not working. Here is my code: … | |
Hello i have problem on mobile device to prevent on click to another image to hide first. This is for hover effect and work fine : $("div.mitarbeiterfoto") .mouseenter(function() { var id = $(this).attr("id"); var idInfo = $(this).attr("id").substr(5); ($(this).find('img').css('display', 'none')); ($('#' + id + '_o').css('display', 'block')); showInfo(idInfo); }) .mouseleave(function() { var … | |
How to make in admin page to see in navigation Badge with number of post. Autors make new post and administrator see like in this image example:  Thanks!!! | |
Re: $(".layout tr").click(function() { var url = "http://" + $(location).attr('host'); url += "/pdfs/" + $(this).attr('data-href') + ".pdf"; window.open( url, '_blank' // <- This is what makes it open in a new window. ); }); | |
How to share sigle post when click on button ex. fbshare, twitshare and show them in facebook. Do you know some examples or tutorial? | |
How to insert image name in database and image store in folder image with move_uploaded_file usign PDO: this is my query: $stmt = $db->prepare('INSERT INTO blog_posts_seo (postTitle,postSlug,image,postDesc,postCont,postDate) VALUES (:postTitle, :postSlug, $filename, :postDesc, :postCont, :postDate)') ; $stmt->execute(array( ':postTitle' => $postTitle, ':postSlug' => $postSlug, '$filename' => $image, ':postDesc' => $postDesc, ':postCont' => … | |
How to when click on share button share on facebook post from website example: my website url : blog.com/name_of_post in my url show only title of post. How to share from every post on facebook? | |
How to upload images into database with pdo or only image name and image move into folder ![]() | |
How to make searching for my blog with pdo? I try like this: <?php require('include/config.php');?> <?php $query = $_GET['query']; // gets value sent over search form $min_length = 3; // you can set minimum length of the query if you want if(strlen($query) >= $min_length){ // if query length is more … ![]() | |
![]() | |
How to select image from folder by name in mysql. This is mysql query for other rows $query = "SELECT `posts`.`id` AS `post_id`, `categories`.`id` AS `category_id`,`title`,`contents`,`date_posted` ,`categories`.`name` FROM `posts` INNER JOIN `categories` ON `categories`.`id`= `posts`.`cat_id`"; how to select row 'image' where is name of image and call that image from … | |
How to upload image to database and move into image folder this is my function for other rows: <?php function add_post($title, $contents, $category) { $title = mysql_real_escape_string($title); $contents = mysql_real_escape_string($contents); $category = (int) $category; //var_dump($category); mysql_query("INSERT INTO `posts` SET `cat_id` = '{$category}', `title` = '{$title}', `image` = '{$image}', `contents` = … | |
I have problem with this code show mi error Warning: mysql_result() expects parameter 1 to be resource, boolean given in C:\wamp\www\blogcode\resources\func\blog.php on line 34 function category_exists($name){ $name = mysql_real_escape_string($name); $query = mysql_query("SELECT COUNT(1) FROM 'categories' WHERE 'name'= '{$name}'"); return (mysql_result($query, 0)=='0') ? false:true; } How to fix this problem? | |
How to make meta tag for each post in php using post for meta description? | |
How to make that Users on my website first click on youtubevideo open fb for share and then automatic play youtubevideo? Example link: http://video.yuvesti.net/ | |
The navigation must be styled using the :hover pseudo class, while the active menu point must use the body class. How to make this? Thanks! | |
How to show some articles from another website with API example: from this web site http://shopper.cnet.com/buy-pc-games/ name of game,pictures and price to show on my website, with automatic update? | |
I have problem with css when use this htacces code RewriteEngine On RewriteRule ^([^/]*)/([^/]*)$ /index.php?id=$1&page=$2 [L] mode_rewrite work ok but css is not :( How to fix? | |
Re: http://www.generateit.net/mod-rewrite/ try with this | |
I have this url:http://localhost:8080/skolski_portfolio/index.php?id=main&page=portfolio and i want to be http://localhost:8080/skolski_portfolio/portfolio then i make this rule in .htaccess RewriteEngine On RewriteRule ^([^/]*)/([^/]*)\.html$ :8080/skolski_portfolio/index.php?id=$1&page=$2 [L] i have error! How to fix this? | |
I need help for my code when i login successfly i have error this is my code: <?php session_start(); $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="portfolio_baza"; // Database name $tbl_name="skole_login"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot … | |
This is my links in website: mywebsite.com/index.php?id_1=main&id_2=kontakt mywebsite.com/index.php?id_1=main&id_2=onama How to remove from url that be like this mywebsite.com/index.php/onama mywebsite.com/index.php/kontakt This is my index.php and in template pocetna.php <li><a href="index.php?id_1=main&id_2=kontakt">КОНТАКТ</a></li> <li><a href="index.php?id_1=main&id_2=onama">О НАМА</a></li> <?php session_start(); require_once("configuration.php"); require_once("functions.php"); require_once("session_load.php"); //require_once("connection.php"); $url_id = get_url_value(); // ucitavanje pocetne strane, homepage if (($url_id['grupa'] == "0") … | |
Dears, how to make dynamic webpage with php for example: website.com/pagename website.com/gallery website.com/page4/page6 How to do in code how to call pages? | |
Dears, how to get div or content informations text and pictures from another website and show in my webpage? Please help! | |
How to show on my website ,content from this web page (cdkeyshere.com) i try with simple DOM code but show oonly text of liks of image i need image and text and links?How to do that please help? | |
Dears, i have question how to in my website put google adsence by category in meny for example: menu for computer ads when click opet page with google adsense of computing? Please help! ![]() | |
How to store 3000 image in mysql fast not one by one? | |
I need websites for ads people put some free ads in my website. Example: sell car or mobile. Do you know some php script or opensourse? | |
I have error i have web site where want to users register this is code from index.php : <?php include ('include/header.php'); if (isset($_GET['id'])){ switch ($_GET['id']) { case "wallpaper": include ("include/wallpaper.php"); break; case "ringtones": include ("include/ringtones.php"); break; case "themes": include ("include/themes.php"); break; case "apps": include ("include/apps.php"); break; case "aboutus": include ("include/aboutus.php"); … | |
I need php opet source code for e-commerce when client filled cart registered to the home address no pay pal and Visa.I found a lot of e-commerce CMS, but they are all for paypal or visa.I need php code to put in my site and orders sent to your home … | |
How to show some content from other sites on my web sites, and when other site change content then change also in my website? Please help! ![]() | |
How to make database for mobile phone shop, when in listbox choose name for example Samsung in second listbox show model of Samsung mobile and when choose model show pictures, price, and description? Please help! | |
How to some div value export to xml with tag in php code. I search my site and from div value export to external xml file. ?php $some_link = 'http://www.popusti.rs/'; $tagName = 'div'; $attrName = 'class'; $attrValue = 'offer-list-item'; $dom = new DOMDocument; $dom->preserveWhiteSpace = false; @$dom->loadHTMLFile($some_link); $html = getTags( … ![]() | |
How to make Web Crawler to pull some information from site and that information put in xml tag  In my pictures show site and where i put the information in tag. Please some help! | |
This is my code: proc.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; proc.StartInfo.Verb = "print"; proc.StartInfo.FileName = @"C:\Program Files\Adobe\Acrobat 10.0\Acrobat\Acrobat.exe"; proc.StartInfo.Arguments = @"C:\Program Files\Obrasci\PDF\Obrasci finansijskih izvestaja\Statisticki aneks .pdf"; proc.StartInfo.UseShellExecute = false; proc.StartInfo.CreateNoWindow = true; proc.Start(); This code open my pdf file in acrobat 10, but not work with 64 procesor. Please help me! | |
How to from combobox selected index open another pdf file? Help! | |
How to make installer with serial number for my application? Help please! | |
How to print pdf file when i feel that file and save in some folder, when i save file, call automoatic that file to open in adobe reader? | |
How to make setup wizard for my application which needs to have adobe reader. How to put the adobe exe to the same setup, then install my application start install and adobe.exe? | |
How to each file that is saved (savedialog) to direction, example : C:\Example\example.pdf | |
Please, how to insert text in field in an existing PDF form template and print???? | |
How to print text only who I am filled from my form in pdf file.Only text because i have pdf form in paper.? Help! | |
I need from my form application textbox value show in pdf format and then when i click on button print, the print in paper with the form that exists and only print text value from textbox? Please help? | |
I need help for Windows Workflow Foundation assignment: Make a Windows application that will perform the calculation of service. The form will enter the start and end dates for the calculation of service. As the length of service can be calculated in three different ways to form there will be … | |
Dears, how to calculate work experience with TimeSpan or otherwise how to calculate work experience if all months of the year have 31 days? | |
How to show image from database and price of that image using param sql query? |
The End.