39,393 Topics

Member Avatar for
Member Avatar for nabilamn

guys, i got an error while saving or updating bank account number. first, everything is ocay when i set my account into bigint (16) data type. but, i changed it into varchar(16) however,when i try to change it back to bigint suddenly the account number that i save before this …

Member Avatar for desito
1
436
Member Avatar for sahilmohile15

Hello guys, Here i am having another error. Error is undefined index on my products.php page i tried everything i can to define it but if i define it code doesn't work so here's the code products.php: <?php require_once $_SERVER['DOCUMENT_ROOT'].'/Online Store/core/init.php'; //Including database path stored in init.php include 'includes/head.php'; //Including …

Member Avatar for pritaeas
0
445
Member Avatar for ekuban

I m working on a MLM project in which i have to store member automatically in binary tree form like 1 is root 2 is child of 1 3 is child of 1 Then 4 is child of 2 5 is child of 2 6 is child of 3 7 …

0
113
Member Avatar for joshl_1995

Hello Daniweb Community, I've been looking around online for help with this but I can't seem to find a way to get a query to do what I want. The image below should pretty much say what kind of result I'd like to get, it's pretty much merging the tables …

Member Avatar for joshl_1995
0
290
Member Avatar for ansh.29

How can I insert select list value's(dropdown) name and id into database ? Help will be appreciated.

Member Avatar for milil
0
312
Member Avatar for janicemurby

hi im not sure if come into the right section but im looking at adding a chatroom to my site for my users to use and im wanting it where they dont have to log in or register to chatroom instead they login on site and the username is same …

Member Avatar for mblan180131
0
209
Member Avatar for Carsten_1

I'm currently working on a website; crafterguide.azurewebsites.net; and I was woundering how to get the best possible login/register/logout page, how get it where when someone creates/log's in to a(n) account that it redirects them to a profile page, and just some feed back and critisizum. And lastly how to get …

Member Avatar for rproffitt
-1
303
Member Avatar for ramsiva

I am passing string, but in mysql query not executed. because IN not taking integers please check and solve this one. My query not working SELECT * FROM `employee` WHERE `employee_id` IN (1001,a/bb/001,a/bb/002,a/bb/003,a/bb/004,a/bb/005,a/bb/006,a/bb/007,a/bb/008,a/bb/009,a/bb/010,a/bb/011,a/bb/012) ORDER BY employee_name ASC correct one is SELECT * FROM `employee` WHERE `employee_id` IN ('1001','a/bb/001','a/bb/002','a/bb/003','a/bb/004','a/bb/005','a/bb/006','a/bb/007','a/bb/008','a/bb/009','a/bb/010','a/bb/011,'a/bb/012') ORDER BY …

Member Avatar for mblan180131
0
355
Member Avatar for sahilmohile15

Hello, i am having an in closemodal function don't know what it is function closeModal(){ jQuery(#details-modal).modal('hide'); setTimeout (function(){ jQuery(#details-modal).remove(); jQuery(.modal-backdrop).remove(); },500) } please help

Member Avatar for hericles
0
303
Member Avatar for sahilmohile15

Hello i am developing a project but getting an error i don't know why is this happening and i have tried everything i can. please help me i am providing code below it requires 3 files to understand it so i am sending them: index.php <!-- Main Content--> <div class="col-md-8"> …

Member Avatar for hericles
0
439
Member Avatar for AntonyRayan

HI to everyone, I am fully confused. I have a selectbox with dynamic values. No body what value will come in that select box, based on that value , I want to do hide and show. How to do that? Here I included my dynamic select box, <select name='category' id='category'> …

Member Avatar for mblan180131
0
360
Member Avatar for AntonyRayan

Hi, I need a help from you. I tried but I can not. Can anyone tell me how to increase the font size in mPDF, Here is the code, where I tried, require('mpdf/mpdf.php'); $mpdf=new mPDF('C','legal','10');

Member Avatar for Bachu
0
4K
Member Avatar for veedeoo

This is a continuation of our basic tutorial on MVC Framework. In this section, we will be creating the template files for both the TBS and the Smarty template engines. **The recap** In [part one](http://www.daniweb.com/web-development/php/tutorials/476695/part-one-php-mvc-framework-understanding-the-basics), we have created application controllers, models, and the one and only lone View class. Once …

Member Avatar for Geetha_1
3
8K
Member Avatar for miltonbburke

Hello, I want to simultaneously add multiple post ques to wordpress, for example i want to add 100x Animal Imgs, Food Imgs and Gamming Imgs to que at the same time so for every "X" mins it must post 1 animal pic, 1 food img, 1 gamming img. is there …

0
163
Member Avatar for RikTelner

Currently I have something like this (a bit modified): function function1($param) { $ans = @file_get_contents($param); if (!$ans) return ("Failure"); return json_decode($ans, true); } Extremely straight forward. However, the `file_get_contents()` gets answer from an API, that has proven to be a little stinky boa. It sometimes answers incorrectly, or "Access Denied" …

Member Avatar for RikTelner
0
779
Member Avatar for RikTelner

Consider following back-end script. <?php if (isset($_GET["req"])) { $req = $_GET["req"]; if ($req == "delete") { // Very intense calculation which finally results in deletion. } if ($req == "add") { // Very intense calculation which finally results in addition. } if ($req == "modification") { // Very intense calculation …

Member Avatar for jkon
0
234
Member Avatar for James_43

Hi all, Problems trying to login with Facebook on a website. The issue is that it works for me, but when I add other tests in the App settings, it doesn't work for them, they are getting the error: `Facebook SDK returned an error: Cross-site request forgery validation failed. The …

Member Avatar for James_43
0
374
Member Avatar for James_43

Hi all, Something disturbing is happening... I make an AJAX call to a page and it returns unprocessed PHP, not HTML. However, when I navigate to the page manually, the PHP is processing as expected. This must be a huge security vulnerability? My AJAX call is: $('#forgot').click(function(e){ e.preventDefault(); lFormContainer.load("ajax/?page=authenticate/username"); }); …

Member Avatar for James_43
0
679
Member Avatar for masimies

Hi, Has anyone updated this fg_membersite.php for mysqli-functions? I tried, but this is somehow so hard to complete, that i rather ask help from someone. I have tried also replacement of membersite-functions, like in https://daveismyname.com/login-and-registration-system-with-php-bp But no success. It doesn't work, if i like to use my own css, or …

Member Avatar for masimies
0
880
Member Avatar for James_43

Hi all, I'm running into a problem with PHP and mysql. I run a mySQL query, which returns the following object: `mysqli_result Object ( [current_field] => 0 [field_count] => 2 [lengths] => Array ( [0] => 1 [1] => 186 ) [num_rows] => 1 [type] => 0 )` I then …

Member Avatar for rubberman
0
289
Member Avatar for sahilmohile15

Hello, I am working on a project for online store but i am getting the error Fatal error: Call to a member function querry() on a non-object i have tried everything i can think of, please help me, i am in a bit hurry. Here's my code init.php : <?php …

Member Avatar for sahilmohile15
0
553
Member Avatar for FarrisFahad

Hello, I am trying to understand PayPal IPN proccess. I have built this simple script to test with the IPN simulator in the developer section of PayPal. I have tried different type of transaction status but it keeps returning VERIFIED. Can someone please explain to me how does this work? …

Member Avatar for FarrisFahad
0
377
Member Avatar for amith_ami

How to create offers section in a e-commerce PHP website. Should I create separate table for offers in the database.? Given below is the offers example offers ex : 20% discount, Buy 1 get 1 etc.. How to start and end this? Please help me to do this.

Member Avatar for rubberman
0
102
Member Avatar for spud91

So i started creating a basic website for a small project im working on. I took a 2 week break where i left everything in working condition. Decided to load up WAMP server today afternoon and as soon as i try to access my index file i get the error: …

Member Avatar for spud91
0
1K
Member Avatar for jason.okoka

i want when a category is selected, the user only gets the product of that paticular category. here is my code ajax_listbox.php <html> <head> <title>Demo of List box selection and displaying matching records</title> <script type="text/javascript"> function ajaxFunction() { //document.writeln(val) var httpxml; try { // Firefox, Opera 8.0+, Safari httpxml=new XMLHttpRequest(); …

Member Avatar for rch1231
0
211
Member Avatar for janicemurby

hi i have followed a friends tutorial for my website and all is working upon production but when im attempting to add it to my site im having problems getting the following to show up in my page none of the links in the php block are showing up ive …

Member Avatar for janicemurby
0
247
Member Avatar for FarrisFahad

I want to integrate PayPal IPN and payment getaway on my website. I want my website users to be able to sell ad space through my website using PayPal. I want the payment to be from my user (Advertiser) to my user (Publisher). Here is what I have done so …

Member Avatar for FarrisFahad
0
352
Member Avatar for manish812

hi thrr is no one who can help me this is the prog which when i run faces problem of session. [B][U]session_start(): Cannot send session cookie - headers already sent [/U][/B] pls plssssssssss help me to solve the problem below is the code any one this is simple prog but …

Member Avatar for Putu_1
0
774
Member Avatar for janicemurby

Hi im wondering if someone can guide me where to go im looking for a system where a user can stop another user contacting them via message system on my site ive search ignore user and block user but there is nothing for custom built sites only things like word …

Member Avatar for janicemurby
0
169
Member Avatar for conwicode

Hello Guys, I need some help with customizing my wordpress rss feed. I have a blog with tons of posts with images in it, these images are remotely hosted. I want to display them in my rss feed. How do i display first image of a post in my wordpress …

0
229

The End.