39,320 Topics
| |
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 … | |
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 … | |
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 | |
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); … | |
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 … | |
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 … | |
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 … | |
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 < … | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
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 & … | |
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 … | |
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.................... | |
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 … | |
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? | |
hi, hi i am php programmer. but i don't know how to use AJAX with php. | |
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 … | |
| |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
hi i want to develope a community site plz some one give suggestion which cms system i have to use. -keval | |
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. … | |
[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 = … |
The End.