Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Endorsements
Ranked #621
Member Avatar for gogs85

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!

Member Avatar for divyakrishnan
0
136
Member Avatar for gogs85

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: …

Member Avatar for pritaeas
0
287
Member Avatar for gogs85

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: …

Member Avatar for diafol
0
433
Member Avatar for gogs85

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 …

Member Avatar for cereal
0
360
Member Avatar for gogs85

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: …

0
94
Member Avatar for gogs85

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 …

0
115
Member Avatar for gogs85

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: ![aebb9fd23d41b5677781d14c3d116dcd](/attachments/small/3/aebb9fd23d41b5677781d14c3d116dcd.jpg "align-left") Thanks!!!

Member Avatar for mattster
0
167
Member Avatar for daniel36
Member Avatar for gogs85
0
436
Member Avatar for gogs85

How to share sigle post when click on button ex. fbshare, twitshare and show them in facebook. Do you know some examples or tutorial?

Member Avatar for mexabet
0
83
Member Avatar for gogs85

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' => …

Member Avatar for pritaeas
0
230
Member Avatar for gogs85

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?

0
120
Member Avatar for gogs85
Member Avatar for diafol
0
2K
Member Avatar for gogs85

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 …

Member Avatar for diafol
0
3K
Member Avatar for gogs85
Member Avatar for gogs85

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 …

Member Avatar for gogs85
0
1K
Member Avatar for gogs85

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` = …

Member Avatar for gogs85
0
303
Member Avatar for gogs85

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?

Member Avatar for pritaeas
0
185
Member Avatar for gogs85

How to make meta tag for each post in php using post for meta description?

0
79
Member Avatar for gogs85

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/

0
107
Member Avatar for gogs85

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!

Member Avatar for Alberto Bucur
0
97
Member Avatar for gogs85

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?

Member Avatar for JorgeM
0
95
Member Avatar for gogs85

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?

Member Avatar for cereal
0
3K
Member Avatar for fheppell

I have a problem with one of my php scripts. I've got a file called view.php. If I go to test.com/view?id=7575 it comes up with a 404 error. However if I go to test.com/view.php?id=7575 it works. Why is this?

Member Avatar for gogs85
0
204
Member Avatar for gogs85

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?

Member Avatar for cwarn23
0
97
Member Avatar for gogs85

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 …

Member Avatar for gogs85
0
335
Member Avatar for gogs85

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") …

Member Avatar for veedeoo
0
4K
Member Avatar for gogs85

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?

Member Avatar for JorgeM
0
264
Member Avatar for gogs85

Dears, how to get div or content informations text and pictures from another website and show in my webpage? Please help!

Member Avatar for mrvijayakumar
0
238
Member Avatar for gogs85

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?

Member Avatar for pritaeas
0
58
Member Avatar for gogs85

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!

Member Avatar for LastMitch
0
218