39,320 Topics

Member Avatar for
Member Avatar for stevenm84

Hi all, I've been asked to do a website for a rural based school. They want an online application for admissions. I have a basic knowledge of webpage design but not advanced enough...here are the following requirements: Aim: to develop an online application management system. 'front end' users can apply …

Member Avatar for stevenm84
0
100
Member Avatar for DarkBerzerk™

Hi i am new in this website and i hope i have fun with all the members here, I am trying to make code that get all the names of the files from folder and beside each one link to delete it This is the code i have done but …

Member Avatar for rajarajan2017
0
148
Member Avatar for cristi08

Today is a long day ! I wish to replace the entire old data from a table with new one. Update is not helping me cause i do not have an autoincrement field. What to do? Thank you in advance

Member Avatar for cristi08
0
93
Member Avatar for QWaz

Hi, I am having a bit of trouble getting my fetch(PDO::FETCH_OBJ) to print the way I want. I am also unsure if fetch(PDO::FETCH_OBJ) is the right thing to use. Code below. [CODE] $sqlTotal = "SELECT SUM(price) FROM `$user` WHERE `cart`=1"; $total = $conn->query($sqlTotal); $total->execute(); $totalResult = $total->fetch(PDO::FETCH_OBJ); $totalResult = print_r($totalResult); …

Member Avatar for QWaz
0
142
Member Avatar for Th3nutz

I have a database with some tables from a restaurant and users can see if they are [I]free[/I] of [I]reserved[/I]. If [I]free[/I] they cand book that table. Now, my question is this: What can i do so that after (let's say 1 day (or any amount of time) after the …

Member Avatar for xylude
0
104
Member Avatar for artvor

Hello, So here is the story: I'm trying to select from two diferend tables ( bank_wire and visa) [CODE]CREATE TABLE IF NOT EXISTS `bank_wire` ( `id` smallint(6) NOT NULL AUTO_INCREMENT, `method_name` char(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Bank wire', `checked` smallint(1) unsigned NOT NULL DEFAULT '1', `commision` char(255) COLLATE utf8_unicode_ci …

Member Avatar for artvor
0
117
Member Avatar for idane

I have a site that im trying to put together and need some help with a checkbox. I have a form where the user enters data and when the user is finished they click on the submit btn witch populates the database. I want to enter a check box into …

Member Avatar for idane
0
102
Member Avatar for freiheit

Hello , Im struggling lately to insert a variable to a database table. The total columns of the table are 52 :confused: Here is the insert into database script : [CODE]<?php require_once('../Connections/my_connection.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < …

Member Avatar for freiheit
0
100
Member Avatar for JOUATT

Just a quick question. I want to post what is in the database but if the field is empty then i want it to say "No Date" else post the date in the table. At the moment my code only shows the "No Date" even when I know there is …

Member Avatar for EvolutionFallen
0
95
Member Avatar for ilyas_varol

Hi everyone can anybody give me detail information about mission of $_post and $_get and differences between these functions? Also can you give me information about forms and user inputs in php code? Thank you

Member Avatar for test2009test
0
153
Member Avatar for LRNPHP

Hi Everyone. I have MySQL db with images in(MEDIUMBLOB); I would to display the images in a gallery fashion with a MySQL select command. Any help would be appreciated. Regards

Member Avatar for vibhaJ
0
103
Member Avatar for phplover

Hi, Was just wondering how do you developers check for vulnerabilities in your scripts. Apart from doing some manual testing, do you use any tools to check for vulnerabilities in your scripts like forms etc? I am trying to look for some software that i can install on computer or …

Member Avatar for khr2003
0
97
Member Avatar for cristi08

It sais Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given on line74 and I tried a lot of things. here is code [$query="SELECT * FROM specificati,ofertant,suprafete,preturi,manopera WHERE ofertant.id_ofertant=preturi.id_ofertant AND preturi.id_manopera='Montaj parchet' AND preturi.id_manopera=manopera.id_manopera AND specificati.id_camera=suprafete.id_camera "; if (isset($query) && !empty($query)) { echo"<!--" . $query . "-->"; $result=mysql_query($query) or …

Member Avatar for rajarajan2017
0
526
Member Avatar for raju_boini525

hi all, i am new to wordpress , i am using [URL="http://www.deliciousdays.com/cforms-plugin/#download"]cforms II[/URL] plugin in my site. i am getting following error. [CODE]It seems that your ROOT directory for Wordpress is /green. cforms tried to auto-adjust its settings accordingly, however if you still encounter issues with Ajax (form submission & …

0
73
Member Avatar for ilyas_varol

Hi everyone, can you help me how to add update form in this code? [CODE]<html> <head> <title>Eastern Mediterranean University-Student's ID</title> </head> <body> <h3>Edit Student</h3> <?php $num=$_POST['num']; @ $db = new mysqli('localhost', 'root', 'ilyas1987', 'dau'); if (mysqli_connect_errno()) { echo 'Error: Could not connect to database. Please try again.'; exit; } $query …

Member Avatar for ilyas_varol
0
97
Member Avatar for jesus123

Hi, Once I fill contact form details and click submit button,It will redirect to next page on that page menubar the backspace button should be disable. I need javascript for this process....................

Member Avatar for rajarajan2017
0
70
Member Avatar for theighost

Hi, Has anybody use phishtank.com's api? the documentation si pretty poor in their site and they don't reply to emails. The api should help me send a url to phishtank so that they verify if it's spam or not (according to their database) and then return an XML response, and …

Member Avatar for theighost
0
3K
Member Avatar for marrithl2

I am trying to print the results of this code: [code=php]$cmpResult = array_intersect($productList2, $totalProductList); print_r("cmpResult:"); ?><br /><?php print_r($cmpResult); ?><br /><?php[/code] but the output is "Array ( )". How do I get it to output the values of the intersect?

Member Avatar for rajarajan2017
0
81
Member Avatar for swi2
Member Avatar for canterorist
0
202
Member Avatar for hramos

Hi, I am php noob and I have question about the singleton patter in php. I am not sure how the server handles the different users. If I create a singleton class, is that "single" instance shared among all the different users connecting to the server? are there any situations …

Member Avatar for griswolf
0
91
Member Avatar for rahul95
Member Avatar for gaurang4
0
129
Member Avatar for Geertc

Hello everybody, I have a problem with my mysql-server, at least, I think... This is the problem : I use aptana as my editor, in which I have installed QuantumDB as plugin. This allows me to quickly update or delete or insert data in my MySQL-database without having to leave …

Member Avatar for rch1231
0
352
Member Avatar for LRNPHP

Hi There Everyone. Could anyone assist me in the correct method of displaying images from my mysql db. I want to display multiple images on my page. This is the code I have. I got this from a post from DaniWeb. Hope I did the code tags correctly. [code=php] <?php …

Member Avatar for deleted1234
0
155
Member Avatar for paulsimpson

Hi Guys, My first post here although I have been reading the forums here for quite a while now. i was wondering if anyone can help me with this problem I am having. I am trying to use preg_replace to replace text with contact information in the database when sending …

0
51
Member Avatar for Dalelandry

Hello, I am new to php code (month or so) and mysql, I am pretty much teaching myself, I am good with HTML, CSS, JS, etc... I am trying to create a DB for a client that is fairly simple; Add members (got that done); Verify member and post data …

Member Avatar for diafol
0
104
Member Avatar for scrupply

I am having a problem spitting out text saved into a MySQL database and displaying it in an HTML form input field. The text will spit out fine unless there is a single or double quote, then the text is spit out until the quote. The text is all in …

Member Avatar for Fbody
0
150
Member Avatar for omesa

Hello, Salaams from Nairobi-Kenya. I have two problems with some scripts I downloaded a while ago. In script one, the scripts installed OK, but I can't login. If I enter the login name and password, nothing happens, just stays there, I have run the query on phpmyadmin and it returns …

Member Avatar for johnmahugu
0
91
Member Avatar for keval_hack

hi i want to develope a community site plz some one give suggestion which cms system i have to use. -keval

Member Avatar for diafol
0
113
Member Avatar for jaweth_r

Hi... I am new to this community... I am new to PHP... I was doing some basic websites with HTML,CSS,Javascript. I have to do a course registration web form for my department. I need help from you guys.... My question : I host the website from my Univesity web server. …

Member Avatar for crivion
0
78
Member Avatar for ilyas_varol

[CODE]<html> <head> <title>Eastern Mediterranean University-Student's ID</title> </head> <body> <h3>Edit Student</h3> <?php include("sonuc.php"); if(!isset($_POST['edit'])) { $num = $_GET['num']; $sql = "select * from students where num='$num'"; $result = mysql_query($sql) or die('\"'.$sql.'\" Query failed:'.mysql_error()); $row = mysql_fetch_array($result, MYSQL_BOTH); $id = $row['id']; $name = $row['name']; $surname = $row['surname']; $department = $row['department']; $cpa = …

Member Avatar for ilyas_varol
0
91

The End.