39,393 Topics

Member Avatar for
Member Avatar for rpv_sen

Hi i am using array for uploading images but i am unable to insert it into database as well as in the folder. can anyone please help me to resolve it. $name = $_GET['name']; $gititle = $_POST['gititle']; $number_of_file_fields = 0; $number_of_uploaded_files = 0; $number_of_moved_files = 0; $uploaded_files = $_POST[$_FILES['images']['name'][$i]]; echo …

Member Avatar for Rahman_1
0
329
Member Avatar for Nilesh_2

Hello, I have two tables one for 'users' and another for 'vendor_service' in database named 'star'. In vendor_service table i've stored users id as a foreign key. Now if i try to insert values in vendor_service table it shows following error. Cannot add or update a child row: a foreign …

Member Avatar for diafol
0
1K
Member Avatar for aryanmughal

Hi, i want to add next / previous buttons in my wordpress post. example can be seen here. http://prntscr.com/2yzwnl link to website: http://funnie.st/453576/oscar-memes/2/ Please help me in this regard.

0
108
Member Avatar for mshaker
Member Avatar for mshaker
0
64
Member Avatar for ethan.david.376

How can I generate a weekly report given an end date and a start date? How should the query be? I try this one but it's returning an error. "SELECT * FROM table WHERE date >= startdate AN date<='enddate GROUP BY WEEK BETWEEN startdate AND enddate"

Member Avatar for veedeoo
0
168
Member Avatar for chaitu11

How to view our uploaded resume online with php in website <?php if($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['submit']) == 'upload') { var_export($_POST); $allowedExts = array("pdf", "doc", "docx"); $temp = explode(".", $_FILES["file"]["name"]); $extension = end($temp); if ((($_FILES["file"]["type"] == "application/pdf") || ($_FILES["file"]["type"] == "application/msword") || ($_FILES["file"]["type"] == "application/vnd.openxmlformats-officedocument.wordprocessingml.document")) && ($_FILES["file"]["size"] < 20000) && …

Member Avatar for veedeoo
0
2K
Member Avatar for anita_86

Hi, I am working on a script where I want to select parent id for a new user and save his parent id along with parents parent ids in mysql table. $last_id = mysql_insert_id(); //select parent id of last inserted user $sel = mysql_query("SELECT * FROM tbl_new_agent WHERE new_agnt_id = …

Member Avatar for EvolutionFallen
0
417
Member Avatar for stokie-rich

hi guys hope you are all well, I'm creating my own website. I need some help, on the header that I have created with the menu links I want users to be able have access to a drop down list of associated pages to appear when you hover over a …

Member Avatar for stokie-rich
0
155
Member Avatar for gee,selvin1990

**The code below sends only one attachment, but I need to attach and send two file(one rar file and pdf)** $email_to = "$email"; // The email you are sending to (example) $email_from = "online@tryteksolutions.co.in"; // The email you are sending from (example) $email_subject = "subject line"; // The Subject of …

Member Avatar for pritaeas
0
296
Member Avatar for Nilesh_2

I am trying to register two different userinfo with dropdown but getting some error when i click on submit butto. I am newbie in php.Please help me solving this error... My database is: id int(2) Primary Key type char(2) cname varchar(55) uname varchar(55) mail varchar(55) pswd varchar(55) address varchar(255) zip …

Member Avatar for Nilesh_2
0
729
Member Avatar for nadiam

hey guys so this piece of coding is simple and straight forward but theres something wrong with it and its bugging me out because i can't figure out what the problem is. the error i get is this: You have an error in your SQL syntax; check the manual that …

Member Avatar for Assembly Guy
0
278
Member Avatar for nadiam

hey guys so basically what i want to do is populate a table with details from a database. That is part of the problem. When i write the php coding to do that the other elements on the webpage sort of disappear. Ill attach some screenshots to make it clearer. …

Member Avatar for nadiam
0
230
Member Avatar for blueguy777

here i am using fpdf class to generate pdf document, how to print serial numbers in SL.NO. column in sequential order i.e. 1 2 3 4 5 ... so on. <?php include_once('include/dbConnect.inc.php'); require('fpdf.php'); $d=date('d_m_Y'); $agentid=mysql_real_escape_string($_GET['agent']); $agent_name=mysql_real_escape_string($_GET['agentname']); // Query to select an int column $query = "select count(*) as cnt from …

Member Avatar for Bachu
0
1K
Member Avatar for showman13

I am presented with a programming issue that I don't know where to start with... I am implementing a Payment Processor / Merchant account into a website. They have sent me some sample code, but it is all referencing SOAP and xml... Never having dealt with either one, I'm at …

Member Avatar for showman13
0
248
Member Avatar for CarterLangley

Hi all, I have a table which holds 130 companies and their related details. I have done the code to insert the information into the table when new companies come along. But now I need to display the existing information. I am looking at doing it using a form for …

Member Avatar for diafol
0
289
Member Avatar for showman13

Good Morning All, I have a general question that I'm sure someone has an opinion on... I have several little snippets of code that will be used in various places in my programs operation and to ensure that they are identical in their operation wherever they are used from, I …

Member Avatar for showman13
0
168
Member Avatar for deadsolo

Hi there, First off sorry for long wall of text, I just want to give as much context as possible so someone might be able to help me out. I am trying to create a simple helpdesk/ticket system using xampp/php/odbc/and a text file as my database the issue comes from …

Member Avatar for veedeoo
0
354
Member Avatar for dorkwad

Hi i'm looking to create a dynamic website that allows me to showcase my personal picture collection. I want a table in a MySQL database that has the fields: -Image ID -Image Name -Actualimage -Description -Date Added -Views then i want a PHP script that creates a page (i assume …

Member Avatar for asadjaved64
0
2K
Member Avatar for neha05

Hello all, I am doing project which user can upload its image and can customize it according to different differnt functionality available on the site,in which one functionality is that when that the price of image is increases according to the image size for example: I have following radio buttons …

Member Avatar for neha05
0
323
Member Avatar for haris_1

i get this error Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\1\register.php on line 80 this is my code <html> <body style="background-color:#00B5FC"> <?php $connection = mysql_connect("localhost", "root", "drndic899") or die("couldn't connect to the server"); mysql_select_db ("login", $connection) or die ("couldn't connect to the database"); error_reporting(0); if ($_POST['register']){ if …

Member Avatar for diafol
0
229
Member Avatar for chocolatte.lavista_1

Hello guys! What should we need to create notice area in Dreamweaver CS5.5? Is it suitable if we use table as a notice area? Or maybe we need to use another else besides table? Thank you.

Member Avatar for diafol
0
120
Member Avatar for neha05

Hello all, I need a multiple photo frames, on click the selected frame set on the image or image is set on it.Any jquery or javascript plugin is available for it ?

0
187
Member Avatar for vissureddy
Member Avatar for rpv_sen

Hi Friends I am trying to insert into my table. But i am getting an error message as below Notice: Undefined index: img_path in D:\xampp-portable\htdocs\cgoogle\entergoogle\addpages.php on line 21 Notice: Undefined index: img_path in D:\xampp-portable\htdocs\cgoogle\entergoogle\addpages.php on line 23 can any one please help me to resolve. **my code is** <?php if(isset($_POST['Submit'])) …

Member Avatar for rpv_sen
0
341
Member Avatar for urbanthistleuk

Hello, I am just after some information if anyone knows how to create a system in php that auto assigns a user at random when a record is logged in a mysql database I have been tasked to build a logging system for which uses a database to store the …

Member Avatar for urbanthistleuk
0
416
Member Avatar for rajendher

can anybody please tell me how rewrite .php files to .html files in a folder. or how to rewrite urls like http://examle.com/files/ (actual path http://example.com/files.php) using web.config file.

Member Avatar for pritaeas
0
265
Member Avatar for deadsolo

Hello Everyone, As the title implies I need help extracting a name out of a string, my knolwedge of regular expressions is pretty limited. The strings I will be working with will look like this: 12345 Aragon Denvil L. 123-1234 A123456 AragonD AragonAD@fake.mail.us 1000001234 ABC-ABC 123ABCD123 ABCD 1234 A1234 ABC12345A1 …

Member Avatar for deadsolo
0
613
Member Avatar for Wale Adegbite

I will appreciate if anybody can put me through how to convert project coded in PHP MySQL into standalone .exe

Member Avatar for diafol
0
80
Member Avatar for oanahmed

Hi Friends! I want to create a dynamic website. So, to create it I need to know PHP and MySQL. I went to [amazon.com](http://www.amazon.com) and searched for books. I was showed by results of **learning php and mysql**, **learning php** and **learning mysql** book names. I couldn't figured whether should …

Member Avatar for oanahmed
0
346
Member Avatar for Wale Adegbite

I want to populate a table from database, but don't know how to give it auto serial no from 1 to the last number starting before Staff ID. Here is the line of codes: <?php mysql_connect("localhost","root","") or die ("Unable to Establish connection".mysql_error()); mysql_select_db("demoDB") or die ("unable to select database".mysql_error()); $sql="SELECT …

Member Avatar for Wale Adegbite
0
2K

The End.