38,020 Topics

Member Avatar for
Member Avatar for davy_yg

Hello, Please cek this website: [Infracom](http://www.indonusa.net.id/infracom/) There are some errors after I move it from localhost to webserver. header.inc.php <?php if( !defined('WDS_ROOT') ) exit; $meta = array(); $meta['title'] = 'Error 404 Object Not Found'; $meta['keywords'] = $config['sitekeywords']; $meta['description'] = $config['sitename'] . ' :: The page you looking for is not …

Member Avatar for Alberto Bucur
0
127
Member Avatar for nadiam

hey guys, so im not sure if this is the right forum, sorry if its not. anyway, i have to create a webpage that can do seating arrangements graphically. it would be like those seating plan softwares out there but this would be online. users can choose tables/chairs/etc which guests …

Member Avatar for nadiam
0
495
Member Avatar for JayGeePee

I'm having issues with repopulating my input fields after being submitted if there is an error. I've tried the simple `<?php if(isset($_POST['value'])){echo $_POST['value'];} ?>` That doesn't work. And I'm thinking it's because of how I have my else statements set up. I am currently using get to repopulate my fields, …

Member Avatar for JayGeePee
0
295
Member Avatar for Ana_2

<?php $id=$_GET['memberID']; $result = mysql_query("SELECT * FROM members WHERE memberID='$id'"); while($row=mysql_fetch_array($result)){ $user=$row['userlevel']; if ($user==3){ ?> <font size="2" style="postion:relative; top:0px; left:30px; "> Hi <?php echo $row['username']; ?>!   <a href="logout.php" style="text-decoration: none">Logout</a> <font style="position:relative; top:0px; right:-500px;" size="2" color="#1491C6 "> <?php }else{?> <font size="2" style="postion:relative; top:0px; left:30px; "> Hi Guest!   <a href="login" style="text-decoration: …

Member Avatar for diafol
0
149
Member Avatar for tallon

Hello I'm trying to add coding to my site so that someone can visit it, see everything on the site, but get banned so that when they come back they can't see anything anymore. My guess is they have to be banned after visiting. I tried this code but it …

Member Avatar for diafol
0
2K
Member Avatar for rajendher

can anybody please tell me how to rewrite urls like http://mysite.org/myfiles/2014/-dir-/2014_02.html http://mysite.org/myfiles/-dir-/myfiles.html etc... i thought that there is a php file available at same directory ( /2014/)

Member Avatar for Bensirpent07
0
133
Member Avatar for HelenLF

I have a site where the customer makes multiple selections of clothing and these are shown together at the end of the selection. So they may select a dress, top and skirt, accessory etc. All the images are in png format with a transparent background. At the end of the …

Member Avatar for gustavo.pinent
0
266
Member Avatar for showman13

Does anybody have any magic formula (known to work) for attaching a .csv file to an email? I have been working on this most of the morning... Have tried to use several different versions of what is supposed to work from doing google searches and have yet to be successful. …

Member Avatar for showman13
0
7K
Member Avatar for baloch123

Hi I have dropdown list of domain names.Which is populated by mysql query(1st query). And when dropdown value is selected that value is used in another mysql query(2nd query). I've a submit button,when it is clicked.It is working perfectly. But i want to remove submit button and i need a …

Member Avatar for diafol
0
18K
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
327
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
106
Member Avatar for mshaker
Member Avatar for mshaker
0
62
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
138
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
341
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
152
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
292
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
723
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
276
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
222
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
244
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
276
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
163
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
352
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
320
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
226
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
118

The End.