39,393 Topics

Member Avatar for
Member Avatar for ravi142

Hello, I want help for recursive in php which like structure is attachment file.. [1] **Sire (Parent)** > Sub1 ->nChild.. > Sub2 [2] **Dam (Parent)** > Sub1 ->nChild.. > Sub2 ->nChild.. Do you have some example of code so its better for me. Thank You.

Member Avatar for Taywin
0
221
Member Avatar for Tunnleram

Hi, I'm getting an error that I generally understand in a situation that makes no sense to me. I was hoping for some direction - to see if anyone had any ideas. I have a profile page users can edit. When they do it uses user_action.php to commit those changes …

Member Avatar for Tunnleram
0
229
Member Avatar for Jake.20

Greetings pros, Can someone give me an idea on how to create a notification like the comments on facebook? What i have in hand is; The Counter increases when the database updates. But the counter only updates when the user hovers it. So What i need to do is. When …

Member Avatar for Taywin
0
496
Member Avatar for Azii

Hi, The question is regarding PHP and Javascript/Jquery. I have a php page which process the form data and displays it on SUBMIT. I need to collect that data into javascript. how should I proceed? **//Php file** <?php @session_start(); $uname = $_SESSION['sessionVar']; ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> …

Member Avatar for Taywin
0
245
Member Avatar for AdanPuente

Hi! I would like to send SMS messages from Sharepoint when a server goes down. I have found this website that explains how to integrate it with this Ozeki NG SMS gateway. The software is ok when trying to connect the JDBC with my database, and this whole configuration looks …

Member Avatar for stultuske
0
253
Member Avatar for Ashok_10

hii, i want to create groups in user account with facebook application (php api) and i want to add friends of particular user to newly created group... Thanx

0
63
Member Avatar for ravi142

Hello, In php code generate output completly but when user click on 'PDF' Button then Output generate in PDF file or Click in 'Excel' button then generate Excel file as download. Thank You

Member Avatar for diafol
0
163
Member Avatar for steven.gray.10236

I hope someone can help me. I have been working on this for several days and can not figure it out. I made a blog and I am trying to get SEO friendly URLs. I have tried the mod-rewrite and it seems to have no effect. is there something else …

Member Avatar for edbr
0
531
Member Avatar for Safer Heart

I need to pay someone for a live counter that adds one each 1.7 seconds. https://www.daniweb.com/web-development/php/threads/68355/live-web-counter-increment-a-number-by-x-every-x-seconds It is the real time count of Heart Failures worldwide. Gary@HealthyHeartTissue.com Gary

Member Avatar for veedeoo
0
188
Member Avatar for bro_1

Rewrite rule get variable problem This example code RewriteRule ^(.*)/(.*)$ /media.php?hal=$1&id_image=$2 [NC,L]

Member Avatar for bro_1
0
89
Member Avatar for davy_yg

Hello, I am looking for a way to place an automatic . (dot) or , (comma) for every multiple of 3. I only find the mask to do so but it requires the user to input the exact amount of numbers: <script type="text/javascript"> $(function() { $.mask.definitions['~'] = "[+-]"; $("#numbermask").mask("999,999,999",{completed:function(){alert("completed!");}}); $("input").blur(function() …

Member Avatar for matrixdevuk
0
238
Member Avatar for Jonathan_9

I just need help regarding my problem in editing an imploded input text from the database: I have a dynamic input text which means that you can add more input field if you click the add more button. My problem is that when tried to edit those text fields the …

Member Avatar for hericles
0
1K
Member Avatar for terryds

I have a custom error-handler class (actually it's an exception handler) So, when an exception is thrown, then it'll be caught and stored in the error-handler class.. After all the execution, All the errors will be shown by the class.. Is it a good or bad practice ? Does it …

Member Avatar for matrixdevuk
0
179
Member Avatar for Azii

Hi, I have php page, 2.php, which collects the data and dispalys it from previous page , 1.php. In 2.php, I also have html and javaScript, which contains a button, and cerresponding onclick script, which opens the OUTLOOk to send the E-mail with given sendername and subject. But for body …

Member Avatar for broj1
0
204
Member Avatar for zebnoon1

Dear friend, i have 2 tab 1) atab 2) qtab.. when i put question and options answers .. i use three forms qset.php, Ans.php and result.php here are code what i want that email of user updated after click button submit code is below ans.php <?PHP include "conn.php"; //session_start(); ?> …

Member Avatar for broj1
0
231
Member Avatar for tNicknames

How I can display elements of the following object ? e.g : data -> percent_off As I stored following like : $input = file_get_contents("php://input"); $retun_val = json_decode($input); stdClass Object ( [id] => evt_151H4qEfYJJpTpgqdg5eQvIK [created] => 1416575036 [livemode] => [type] => coupon.created [data] => stdClass Object ( [object] => stdClass Object …

Member Avatar for broj1
0
175
Member Avatar for prash21m

Hi guys ! I am using rewriting rules to redirect some URLs, but search engines crawling both URL (Rewritten and Real URLs). For example : **Real URL :** www.catchcoupons.in/storecoupon.php?cid=Flipkart **Rewritten URL :** www.catchcoupons.in/coupon/Flipkart.html Search Engines are crawling both URLs, even i want search engines to index only Rewritten URLs (http://www.catchcoupons.in/coupon/Flipkart.html) …

Member Avatar for prash21m
0
557
Member Avatar for davy_yg

Hello, In my index.php file front page at first, it has a xampp logo - then in order to erase it I have to place this code: <!-- Favicons --> <link rel="shortcut icon" href="img/icons/favicon_.ico"> <link rel="apple-touch-icon" sizes="114x114" href="img/icons/apple-touch-icon-114x114.png"> <link rel="apple-touch-icon" sizes="72x72" href="img/icons/apple-touch-icon-72x72.png"> <link rel="apple-touch-icon" href="img/icons/apple-touch-icon.png"> by miss leading the favicon …

Member Avatar for diafol
0
6K
Member Avatar for mak96

[CODE=php] <?php //get the variables $var = $_POST['query'] ; $trimmed = trim($var); $table = $_POST['table']; //make connection $conn = mysql_connect('localhost','root','123') or die("Error:".mysql_error()); mysql_select_db('sutilities',$conn) or die("Error:".mysql_error()); //delete temp search table $del_table = "drop table search"; #mysql_query($del_table) or die ("Error:".mysql_error()); // Create a MySQL table in the selected database #mysql_query("CREATE TABLE search( …

Member Avatar for honeymehta
0
870
Member Avatar for vaultdweller123

hello people daniweb....just want to ask honest oppinions from you guys, because this has been bugging me for years. I've been a PHP developer for 5 year using windows. So far so good. i am able to accomplish the task at hand. but there's always back of my head saying, …

Member Avatar for vaultdweller123
0
177
Member Avatar for saadi06

Hi, I have three folders in my project named as apache, php and mysql. I want to update my php,apache and mysql to latest version but I do not want to reinstall all the system again. My system works in this way that we copy all the folders and install …

Member Avatar for veedeoo
0
504
Member Avatar for Ali_41

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'a5247065_funmaza'@'localhost' (using password: YES) in /home/a5247065/public_html/includes/connect.php on line 2 When I uploaded my website on web hosting that error occurs...plzz help me

Member Avatar for minitauros
0
149
Member Avatar for ceeandcee

I have two tables that I would like to work together (stories and events). Stories is a table that is used to produce articles on a website and events is a series of events put into a table. I would like to be able to add events to story based …

Member Avatar for ceeandcee
0
199
Member Avatar for krga86

My code on website is not validate on W3 Validator. <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR...nsitional.dtd"> <html> <head> <title> Contact </title> <meta name="description" content="Inzenjerski portal,baza znanja,vesti,seme,desavanja"/> <meta name="keywords" content="Automatika,PLC,frekventni regulatori,arduino"/> <meta name="author" content="Nikola Krga"/> <meta name="robots" content="noindex, nofollow"/> <link type="text/css" rel="stylesheet" href="about.css"/> </head> <body> <table …

Member Avatar for diafol
0
97
Member Avatar for stokie-rich

Hi people I need some advice off you please. I'm creating a quiz for the website that I'm creating for my portfolio to help me to get a graduate job. I want to get 20 questions (at random) I think I have got this sorted now. But when I try …

Member Avatar for stokie-rich
0
3K
Member Avatar for ToniSoft

I am using a Crud plugin and i am having some problems. After i modifie it for my needs i ma having a problems creating a records. Error code is in line 186. this is my code please help.. <?php require 'database.php'; if ( !empty($_POST)) { // keep track validation …

Member Avatar for ToniSoft
0
215
Member Avatar for davy_yg

Hello, I am trying to protect my xampp with password: by accessing this url: http://localhost/security/xamppsecurity.php This is the view : http://www.innovation.web.id/xampp-security.jpg I wonder why my xampp security view in localhost is different from my xampp security view in the server? I already re-install my xampp 4 times (these are the …

Member Avatar for veedeoo
0
990
Member Avatar for myfit

Hello all, I want to preview an image before it upload and it can remove preview (similar cancel select image). I only want to up 1 image, preview it and can remove it. I have code in that link and I don't know why it don't preview image, I can't …

Member Avatar for myfit
0
146
Member Avatar for Mario_4

Hi, This is is my php: <?php if($_SERVER['REQUEST_METHOD'] == 'POST') { echo '<h1>' . $_POST['word'] . '</h1>'; echo '<p>' . $_POST['sentence'] . '</p>'; } else { echo 'Invalid request'; } ?> How can I get the echo displayed in a CSS box or Javascript popup window. Any help appreciated. Thanks

Member Avatar for diafol
0
163
Member Avatar for dominic.ceraso.9

<?php require_once 'app/init.php'; ?> <?php echo View::make('header')->render() ?> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=1499626773621182&version=v2.0"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <?php if (Auth::check()): ?> <div id="body"> <?php // Walid $facebook_user_id = false; $facebookConfig = …

0
85

The End.