| |
thread by: aveeva |
last post Jul 5 '19 by: aveeva
I am working PHP project on localhost using wamp, for debug process we using error_log() function, every time error_log() stored details of the error in wamp/logs, how can I view my error in the same project folder like wamp/www/goodgoal/
eg: wamp/www/goodgoal/logs/error_log.log
Note : Pls recommend PHP Quick Debug Tricks
|
thread by: aveeva |
last post Jul 10 '19 by: aveeva
I am under developing PHP add to cart without DB, so that i am using SESSION, actually get data from fetch_data.php data to my_cart.php using the POST method, successfully retun the values,
After receiving the post data how can i convert to display like a table.
workout:
|
thread by: Mattix |
last post Jul 10 '19 by: Mattix
This query gives me the data that contains the values specified in the query based on counts.
SELECT id
, GROUP_CONCAT(tmp ORDER BY tmp) tmps
FROM
( SELECT id,tmp1 tmp FROM tmptb
UNION
SELECT id,tmp2 tmp FROM tmptb
UNION
SELECT id,tmp3 tmp FROM tmptb
|
thread by: shalaw |
last post Jul 24 '19 by: shalaw
how can id fix this error from this code
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<form method="POST">
|
thread by: aveeva |
last post Aug 3 '19 by: aveeva
Condition: I have restricted category of products , this category of products should be purchase alone, not mixed with other products.
Workout: Case 1: If cart had other products, if the customer tries to add restricted category products trigger observer like not eligible to add to cart and display a message like If you want this product,...
|
thread by: Nimaeb |
last post Sep 15 '19 by: Nimaeb
I'm interested in designing a database for a league and my question is how can i design it best? i want to know in every match in which minute every player has executed the Goal?
|
thread by: satya chandu |
last post Sep 17 '19 by: satya chandu
I have found the selected checkbox values but i am unable to change the colour of the selected checkbox.can anyone help?
|
| |
thread by: nxfra |
last post Sep 24 '19 by: nxfra
if username or password is match then go to next page otherwise not
|
thread by: aveeva |
last post Sep 28 '19 by: aveeva
I dont want unset onclick=“this.disabled=true” if page refresh,
code :
<button type="button" class="addb btn btn-primary rounded-pill py-2 btn-block" type="submit" data-voice_sku="'.$row.'" data-voice_name="'.$row.'" onclick="this.disabled=true">Add to Playlist</button>
If page refresh onclick event unset. how to prevent?
|
thread by: mayday |
last post Sep 30 '19 by: mayday
this code runs a para type multi choice question.there is 3 question with 4 options each.
if we select all three uestion's answer then there is no error.
if select only one question's answer Undefined offset: 1 error occurs.
if we select any two question's answer Undefined offset: 2 error occurs.
|
thread by: MayBee |
last post Oct 10 '19 by: MayBee
<?
$instituto=$_POST;
$carrera=$_POST;
$materia=$_POST;
$titulo=$_POST;
$paginas=$_POST;
$formato=".pdf";
$direccion=$instituto."/".$carrera."/".$materia."/".$titulo.$formato;
if(isset($_FILES) && $_FILES=='application/pdf'){
|
thread by: Kofi123 |
last post Nov 8 '19 by: Kofi123
I have two combo/pull down select input fields on my html/php form. The first selection if for states and the second one is for counties. The selected state in the first one should select counties in that selected state for the second comb/pull down.
i am having problems getting this done. the first one works well but i am unable to populate...
|
thread by: DanielAlexander |
last post Jan 20 '20 by: DanielAlexander
Hello Guys,
I hope this is the right place to ask something like this.
i have Linux server connected to the Internet, can anyone explain how to install php with the connection to DB extensions? (MSSQL,Oracle,Mysql)
I've tried to install XAMP and LAMP but it didnt had all those DB connection extensions.
Best Regards,
|
thread by: aveeva |
last post Feb 4 '20 by: aveeva
I am using Magento (Ver 1.9.x)
If i try with my localhost success url like,
http://192.168.1.65/magento/index.php/checkout/onepage/success/ and return success message with order id.
if i try with live, success url like,
https://abc.in/payubiz/redirect/success/ success page like blank page.
|
thread by: hdnasir |
last post Apr 8 '20 by: hdnasir
<?php
if(isset($_POST))
{
require_once("connection.php");
$query= "insert into order1 (`total`,`quantity`,`firstname`,`date_createdAt`,`email`,`address`,`city`,`state`,`telephone`,`mobile2`,`comments`) values ('".$total."','".$quantity."','".$_POST."','".date("Y-m-d...
|
| |
thread by: zhair |
last post Apr 13 '20 by: zhair
When I try to add in a * into a $... Statement it throws errors. This is going to be a search function for mysql.
<?php $page = *; >? So, basically there is a PHP form which will search my SQL with the values entered. I got it working so that it searches from the https://100001.onl/ values entered but I just can't have it search all fields if...
|
thread by: superjohnellee |
last post Sep 25 '20 by: superjohnellee
This is the image
https://pasteboard.co/JsIOFTw.png
<div class="table-responsive">
<table class="table table-bordered table-hoverable table-striped" id="tblClassScheduler">
<thead>
<tr>
<?php
...
|
thread by: superjohnellee |
last post Sep 25 '20 by: superjohnellee
function create_time_range($start, $end, $interval='30 mins', $format='12'){
$startTime=strtotime($start);
$endTime=strtotime($end);
$returnTimeFormat=($format=='24')?'g:i':'G:i';
$current=time();
$addTime=strtotime('+'.$interval,$current);
$diff=$addTime-$current;
$times=array();
|
thread by: sbn111 |
last post Dec 2 '20 by: sbn111
Hi,
Please help me to how to integrate phpmailer with codeignitor 4.
Thank you
|
thread by: saibot |
last post Mar 7 '21 by: saibot
I want a expression that replaces more than 2 newlines and more than 4 spaces with 2 newlines / 1 space.
Now I have a working regex expression: "{5,}|^\n{2,}":
But now I have a problem: In PHP I have to say what I want it to replace with and as I have multiple replaces I have to have multiple preg_replaces.
Could anyone please make a...
|
thread by: ADezii |
last post Jul 13 '22 by: ADezii
Can someone tell me how I can dynamically Upload a File to a SharePoint Site to a Sub-Folder under Shared%20Documents?
|
thread by: ravi6070 |
last post Dec 12 '22 by: ravi6070
i get error msg like this....
Parse error: syntax error, unexpected end of file in C:\xamppp\htdocs\crud\display.php on line 54
my code is
<?php
include 'connect.php'; ?>
<!DOCTYPE html>
|
thread by: bakertaylor28 |
last post Feb 25 '23 by: bakertaylor28
How do we use something like the following? I can't seem to find anything practical on how to use the true/false return or on how to supply parameters to a function.
<?php
function validate_email($email){
$exp = "^+(+)*@(+(+))+$";
if(eregi($exp,$email)){
|
| |
thread by: nander |
last post Mar 13 '23 by: nander
Hi has anyone seen an error like this before I believe it has to do with logging into a page using domain credentials but our logins have been converted to exchange online (PHP Fatal error: Uncaught TypeError: ldap_get_dn(): Argument #2 ($entry) must be of type LDAP\ResultEntry, bool given in /var/www/html/folder/external/ldap.php:26\nStack...
|
thread by: PHP Secure |
last post Nov 17 '23 by: PHP Secure
Heyo, my name is Theo! My team and I have just finished working on the PHP code security scanner and I'm the one in charge of asking people in the coding community for feedback.
As you can tell, our team is really small since a Senior Backend Dev was tasked with this ahaha. But actually, I've been chosen for this since I'm really passionate...
|