920 Topics

Member Avatar for
Member Avatar for A_957

The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation exception that occurred within my application. This type of error apparently usually points to a problem where the code attempted to write to a protected memory …

Member Avatar for Dani
0
36
Member Avatar for nander

PHP Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in <?php include("header.php"); $_SESSION['loc'] = "viewkeyowners.php"; if ($_SESSION['loggedin'] <> 1) { header("Location: logintest.php"); exit(); } //this is done because if user closes a tab/page, and logs back in(still in session), it would redirect to the last opened tab/page function …

Member Avatar for Dani
0
67
Member Avatar for sheeview

im trying to get PHP operate well with javascript. I have looked on internet and put all the solution inside at once but none work. I want to create a cross-site AJAX request but i cant seem to be able to have session_start() stick. I have this PHP code on …

Member Avatar for Stelian_1
1
270
Member Avatar for ChrisJ

This works successfully: $wallet = $user->wallet; $upwallet = ($sell_video == 0 && $wallet >= 1 ? 0.5 : 0); $db->rawQuery("UPDATE ".T_USERS." SET `wallet` = `wallet`- '".$upwallet."' WHERE `id` = '".$video->user_id."'"); (when the sell_video amount is 0 and the wallet amount >= 1, deduct 0.5 from the wallet). Works successfully. I'd …

Member Avatar for gce517
0
103
Member Avatar for RC_820
Member Avatar for Dani
0
291
Member Avatar for pok4

Hello guys, I'm using mustache php template engine with classes. My system is extendable via extensions which is injected in basecontroller construct method... The extensions is working correctly, but in them i have html and js... I want to move html/js in external files but i need to works with …

0
72
Member Avatar for emsanator

I create the product's information and variations with Ajax, but it is not possible to click on the variations, what could be the reason? <form> <div class="form-group"> <p class="mb-5"> Size: <strong><span id="sizeCaption">--</span> US</strong> </p> <div id="item_variation_size" class="mb-2"></div> <div class="form-row mb-7"> <div class="col-12 col-lg"> <button type="button" class="btn btn-block btn-dark mb-2 addToCart">Add …

Member Avatar for Biiim
0
105
Member Avatar for Arsslan

Hi, Please can some one tell me is Cloud ERP Safe to use for your business ? THanks

Member Avatar for TyaSuite
0
113
Member Avatar for KnowledgeMan

Hello everyone So, my objective is to update four rows in my database (id-> int , status->tinyint) from 0 to 1 and vice verca using a checkbox. This should be done without refreshing the page and using a form without submit button. Based on my research, I was able to …

Member Avatar for Josh Connerty
0
5K
Member Avatar for mohamed_170

I have a table with multiple columns (11 columns appox.) with seach bar, I need the search to be capable to search any string in all columns(ex. search 2 words in two columns...) I'm using mysqli PDO connection with Jquery, ajax, PHP I have tried the below but serching for …

0
59
Member Avatar for KnowledgeMan

Hello everyone I am trying to update a table [id - int (11) and status - tinyint(1)] which has four rows using checkboxes with jquery and ajax. I have manage to do it by dynamically generating the checkboxes. But, now I want to use indiviual checkbox to update each value. …

Member Avatar for Josh Connerty
0
73
Member Avatar for javi2015
0
70
Member Avatar for RH_589

I made an ecommerce theme and threre register mini-cart.php by <?php echo apply_filters( 'woocommerce_widget_cart_item_quantity', '<span class="quantity">' . sprintf( '%s &times; %s', $cart_item['quantity'], $product_price ) . '</span>', $cart_item, $cart_item_key ); ?> code but when I add product to cart its show empty,afte page reload shows product numbers

Member Avatar for Schol-R-LEA
0
56
Member Avatar for Richard Dickson
Member Avatar for Richard Dickson
Member Avatar for anneseo08

I am currently creating a simple invoice page. But I am also having a hard time retrieving and displaying the price and description of items selected by the userfrom my dropdown (dropdown is populate from database). My knowledge of jquery and php were not that deep yet. I hope someone …

Member Avatar for k99rs
0
49
Member Avatar for BWBama85

Hi, I have a small script that I wrote in jQuery and I would like to convert it to vanilla javascript so I can ditch jQuery for pages that use this script. jQuery(document).ready(function($) { $(document).on('click', '.wpstp_button_follow', function(e) { e.preventDefault(); $.ajax({ type: 'POST', url: ajaxurl+"?action=wpstp_follow", data: $('#wpstp_form').serialize(), dataType: "text", success: function(response) …

Member Avatar for Dani
0
1K
Member Avatar for Shiva_20

## I am deleting item from cart through Jquery ajax,but it is not removing. It is returning "System.String[]". ## [WebMethod(EnableSession = true)] public string ClearItem(string Img) { try { if (Session["Items"] != null) { string[] session_item_arr = Session["Items"].ToString().Split('|'); for (int i = 0; i < session_item_arr.Length; i++) { string[] key_arr …

Member Avatar for lps
1
220
Member Avatar for Arunshree

This is an api signing key maker.I want to convert this into php code as this is not able to integrate into my php project. public static String signingkey(String apiAccessKey, String hmacSecretKey, String apiMethod, String clientip, String jsonInput) { String retval = ""; final String HMAC_SHA_512_ALGORITHM = "HmacSHA512"; final String …

Member Avatar for rproffitt
0
171
Member Avatar for Martín Leandro

Hello everyone. Thanks for taking Time to read muy question AND, hopely, giving retribution. Im from Argentina, currently studying a sort-of full stack node.js carreer. I want to build an online portfolio so I can boost up my possibilities of landing a job when I finish it. So I want …

Member Avatar for rproffitt
0
33
Member Avatar for shilpa647

After page loading , when I click on the ellipsis , horizontal tabs transform from bottom of the product image . After opening of the tabs menu bar , first tab should open by default.I tried multiple solutions but none of them worked out.

0
207
Member Avatar for r4ds

Hello. I noob programing. I need extracting "ALGARROBO" and put in variable in JS. <select> <option value="0560200101">ALGARROBO</option> <option value="0760200601">CALIFORNIA</option> "" "" "" +70 options </select> Someone would be so kind to give me the js code? It is not possible to change the "value", since that information goes to api …

Member Avatar for rproffitt
0
86
Member Avatar for Abubaker_3

hey every one thank you in advance i have a jason resonse befofe the start of the json respone i get a hyphen like this i have been stuck for a day here so any help is much appreciated -{ "responseCode": "", "responseStatus": "200", "responseMessege": "Success", "product": { "id": "60", …

Member Avatar for Dani
0
132
Member Avatar for mekineer

I would like to start building a search database, by providing a portal for users to search a search engine, like Google. Is it possible for a visitor to the portal site, to present to Google their own IP address, instead of the portal site's IP address? Is it also …

Member Avatar for Web_14
2
292
Member Avatar for Eugene_15

I need to refresh my div tag (galleryadv) after ajax post submits to prepare for the next submit. But after submit successfully and refresh, my customized selection tag always changes to the default selection tag. would need some help to resolve my customized selection tag background color, it changes back …

Member Avatar for Dani
0
68
Member Avatar for nishita_1

Please Help me. I am coding PHP using below code but out put is not perfect. i am also attach output picture below. <?php require_once 'core.php'; include_once("../fpdf182/fpdf.php"); $pdf = new FPDF(); $pdf->AddPage(); $pdf->setFont("Arial","B",16); $orderId = $_POST['orderId']; $sql = "SELECT orders.order_id, orders.order_date, customer.customer_name, customer.customer_mobile, orders.sub_total, orders.vat, orders.total_amount, orders.discount, orders.grand_total, orders.paid, orders.due, …

Member Avatar for Dani
0
688
Member Avatar for Sananil

Hi, first of all let me thank anyone willing to help out with this. Jquery / Ajax update Span or Div by ID without refreshing page <?php } $select = $DatabaseCo->dbLink->query("select sh_id from shortlist where to_id='" . $Row->matri_id . "' and from_id='" . $user_id . "'"); if (mysqli_num_rows($select) == 0) …

Member Avatar for Biiim
0
3K
Member Avatar for Thanigaivel_1

Greetings to everyone, I am working as a freelance web developer, i have more than 4 years experience in osclass scripts. I am working in the osclass scripts for the past 4 years and have created nearly 67 sites in osclass, and have created many plugins, cuztomized themes, plugin cuztomizations …

Member Avatar for Mcqs
1
334
Member Avatar for pandglobal

I have a html form and a validation php file for the form, every thing works when a user submits the form, but there are certain aspect of the function that i want the user to get in real time, such as if field A value is (yam) then unset …

Member Avatar for jkon
0
251
Member Avatar for nishita_1

please help me. below chart.js works very well but here show all date data from database but i want only last fifteen days data to show. How can i show last 15 days sale reports. i am attach code below. thanks ![chart_edit_result.PNG](/attachments/large/4/3b3130d6f7da66a0d9ff733730021645.PNG) I an developed an chart.js for my daily …

Member Avatar for pandglobal
0
3K

The End.