38,020 Topics

Member Avatar for
Member Avatar for ultmt.punisher

I am creating a table of my services or products where each product have their id next to it. I want to grab that product id into the URL of buy now button when customer click on that button, and when customer have done their shopping , that custom id …

Member Avatar for mmcdonald
-1
271
Member Avatar for neha05

hello all I need to set free shiping for some products (not for all products) in joomla via admin panel ,how we can set it?

Member Avatar for neha05
0
221
Member Avatar for Phanindra Reddy

I am facing a problem in opencart site.I am receiving some emails with dummy emails and phone numbers to mail.This is happening without interference of human. I have searched a lot in google. But everywhere I found asking that messages sent by users are delivering into spam folder. But my …

Member Avatar for veedeoo
0
118
Member Avatar for charlie.kirk.140

Hi, The following code selects and displays a record from the "emailtbl" table as desired except for the the date and it doesn't update the "lastused" (date) field to the "numbers" table via "lastused.php" include. No error messages. I need help. <html><head> </head> <BODY> <?php include ("lastused.php"); include ("counter.php"); $id="''"; …

Member Avatar for charlie.kirk.140
0
155
Member Avatar for Acurapassion

Hey guys, so I'm having some issues putting my script together.. Basically, I'm trying to loop through my database and send each entry username to a url, and once through all entries, send 'done'. Using PHPStorm and getting an "Expecting statement' error. Here's what I have so far: <?php define('DB_NAME', …

Member Avatar for pritaeas
0
179
Member Avatar for Subrata_1

Hi all , I am trying to display order details when I clicked on in an order row view. On clicking view with respect to order id in order info respective order details will be displayed in a 'tr'in same page using ajax. Can any body post any link or …

Member Avatar for diafol
0
120
Member Avatar for nadiam

hi, i have an import csv script but it does not get entered into the database. only "uploaded successfully" and the data is echoed but nothing in the database is something wrong with it? and is it sql injection safe? <?php if(isset($_SESSION['sess_user_id'])) { if (isset($_POST['ubmit'])) { require "connection.php"; $session = …

Member Avatar for cereal
0
3K
Member Avatar for santunu23

is it possible to move one mysql table data to another table after 1 or 2 days like we have 2 table one is tbl1 another one is tbl2 tbl1 contain column uname and performance i want to move uname and performance data in to tbl2 after 2 or 3 …

Member Avatar for diafol
0
303
Member Avatar for Saad Awan

hello every one i need a script for upload server to server after upload change dir and rename file please help me thanks

Member Avatar for Saad Awan
0
34
Member Avatar for Pravesh_1

I am getting error while uploading from any pages. Folders are exists, file permissions are set to 755 but still getting error.

Member Avatar for pritaeas
0
218
Member Avatar for Viruthagiri

Hello everyone.. I have a open source remote file upload script. It is called file snatcher. We can directly upload the files to our server from another server. But the problem is we can upload only one file at a time. I mean if you have many url, you have …

Member Avatar for Saad Awan
0
541
Member Avatar for ultmt.punisher

I have created my payza IPN handler but I am not getting any messages or any changes into my db, and its even not redirecting me to my site. I have setup my IPN in my payza account to V2 and also enable EPD but that's also not sending any …

Member Avatar for veedeoo
0
563
Member Avatar for Priti_P

Hello, I want array in format $xyz[]=array($key=>'Some value here',$value=>array('value1','value2)); In below code, I want it in loop by checking if $ManagerGSID value is not in $xyz[] as $key then insert into it. (as key will $ManagerGSID and value will be array ($EmployeeGSID)) again if got the same $ManagerGSID then push …

Member Avatar for Priti_P
0
1K
Member Avatar for sorintene

Hello, I saw on internet a link to www.daniweb.com that is advertising here can be find "PHP Questions with answers". I thought of this like a test to verify my knowledges but seems to be only a forum. Am I right? Did someone find what I mean? If yes please …

Member Avatar for pritaeas
0
50
Member Avatar for mutaharpk

Dear Sir i would like to change the website Banner,I have 4 Banner in my Website(www.reliableindus.com) First Banner is Cuticle Nipper Second Banner Beauty Instruments Third Banner Nail Nipper ( Nail Nipper Spelling is missing in the web) Forth Banner Tweezer 2nd and third Banner i want to change. Kindly …

Member Avatar for diafol
0
101
Member Avatar for rjusman90

this is my SESSION code i want to make function of it is this posible? i am new in php i want your help please guide me <?php include "connection.php"; $result = mysql_query("SELECT * FROM new WHERE Email='" . $_POST['email'] . "' and Password = '". $_POST['pass']."'"); $row = mysql_fetch_array($result); …

Member Avatar for diafol
0
174
Member Avatar for muralibobby2015

Hello, I have html table which displays content from email. this email content can be from any email client(browser , outlook ,thunderbird...). if this html is malformed it creates a mess in my html table. for eg: if the email content has any unclosed tags or malformed table in it …

Member Avatar for diafol
0
294
Member Avatar for davy_yg

If I turn on : <?php $group_level = 'intermediate 1'; ?> Then it does lock the $group_level to intermediate 1. groupinfo_edit.php <tr> <td>Level</td> <td> <?php //$group_level = 'intermediate 1'; ?> <?php $row2 = mysql_query("SELECT * FROM `level`") or die(mysql_error()); echo '<select name="group_level">'; while($data2 = mysql_fetch_array($row2)){ echo '<option value="'.$data2['level _name'].'"'; if($group_level …

Member Avatar for pritaeas
0
206
Member Avatar for malatamil

validation for particular fields like input name="",textarea,select name="". <form method="post" id="myform" name="myform"> <tr><td width="170"><div align="left">Company Name<span style="color:#F00;">*</span> :</div></td><td width="317"> <input type="text" name="companyname" placeholder="Company Name" value="<?php echo ucwords(strtolower(mysql_real_escape_string($_POST['companyname']))); ?>"/></td></tr> <tr><td><div align="left">Contact Person Name<span style="color:#F00;">*</span> :</div></td><td> <input type="text" name="conactperson" placeholder="Contact Person Name" value="<?php echo ucwords(strtolower(mysql_real_escape_string($_POST['conactperson']))); ?>"/></td> </tr> </form> company name is mandatory …

Member Avatar for malatamil
0
358
Member Avatar for blueguy777

i've two files one is send-data.php which contains html form and another one is receive-data.php, i am converting the form value as session value into second file and printing using echo. but it's not printing the output. //send-data.php <?php session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html …

Member Avatar for blueguy777
0
736
Member Avatar for blueguy777

I'm trying to pass the ac_no contained in my database table to a form that's displayed within a Bootstrap Modal upon clicking a button. My code is as follows. <?php $mydata = mysql_query("SELECT * FROM slabpay WHERE ac_no='$ac_no'"); while($record = mysql_fetch_array($mydata)) { $id=$record['id']; ?> <tr class='fired' id='<?php echo $record['id']; ?>'> …

Member Avatar for blueguy777
0
3K
Member Avatar for davy_yg

http://localhost/squprime/administrator/admin/%3Cbr%20/%3E%3Cb%3ENotice%3C/b%3E:%20%20Undefined%20variable:%20student_id%20in%20%3Cb%3EC:%5Cxampp%5Chtdocs%5Csquprime%5Cadministrator%5Cadmin%5Cadd_student_progtab.php%3C/b%3E%20on%20line%20%3Cb%3E164%3C/b%3E%3Cbr%20/%3E/squprime/administrator/admin/add_student_progtab.php?student_id= Undefined variable student_id, I wonder why? That url appears after I press save. add_student_progtab.php <?php // Check if session is not registered, redirect back to main page. // Put this code in first line of web page. session_start(); if(!isset($_SESSION['username'])) { header("location:index.php"); exit; } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML …

Member Avatar for scudzilla
0
248
Member Avatar for Samyx

Hello Everyone, I am trying to export data directly from the database to a downloadable Excel spreadsheet, the formatting is showing. However, the data is not displaying. Can anyone help me? Also, when opening the spreadsheet it gives me the message "We found a problem with some content in 'FileName'. …

Member Avatar for Samyx
0
369
Member Avatar for toxicandy

I have a basic query I was working on with optional search parameters. The query code is: $query = $db->prepare("SELECT * FROM VolunDB " . $whereClause . " 1 = 1"); $query->execute(); $result = $query->fetch(PDO::FETCH_OBJ); $table = $result->fname . " " . $result->lname; and $whereClause equals: WHERE general = General …

Member Avatar for diafol
0
341
Member Avatar for Ehsan_4

How to merge or join or map two arrays fetched from mysql db array full_name and array email to create one recipient list to be bcc for php mailer and then be able to use something like: $email= array(); $full_name= array(); while loop starts array_push($email, $row['email']); array_push($full_name, $row['full_name']); loop ends …

Member Avatar for Ehsan_4
0
171
Member Avatar for RAPIDFIRE0311

I can not get the values from the javascript add row to go dynamically as a row into MySql only the form values show up as the form below as one row. I made it as an array, but no such luck, I have tried this code around a multitude …

Member Avatar for Taywin
0
202
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to filter through an email to get all the details. Such as from, to, subject, body and a few other details but you get the idea. At the moment I just have a bunch of text but I want to …

Member Avatar for joshl_1995
0
728
Member Avatar for Clarkeez

Ok so I have this code to submit form to php without reloading page. It works perfectly, and makes sense. form.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>JQuery Form Example</title> <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#myform").validate({ debug: false, rules: { name: "required", …

Member Avatar for udara86
0
774
Member Avatar for santunu23

This is my script when any registed user click on checkbox then he insert tbl1 table and we set a cookie and run events after 36 minute event will run and insert data in to another table called tbl2 my code is <form action="course01.php" method="POST"> <input type="checkbox" name="chk1" value="701" />I …

Member Avatar for cereal
0
202
Member Avatar for santunu23

is it possible to run a php script using mysql event if so how to do that i mean syntex thanks in advance.

Member Avatar for pritaeas
0
180

The End.