39,320 Topics

Member Avatar for
Member Avatar for jakizak

Hi guys, me again. Having an issue with a multiple select form object that is generated through PHP and retrieves and displays MYSQL values. it displays and retrieves correctly and PHP produces is correctly, however, the form submission to post the values to MYSQL do not, instead it posts the …

Member Avatar for jakizak
0
199
Member Avatar for Dragazarth

Im new to php so I decided to make site to test what i have learnt so far, nothing fancy just a test of php skills.. So I created a MySQL database (also new to), with a schema called items, a table called things, with 10 columns, idthings being the …

Member Avatar for diafol
0
844
Member Avatar for unixmonkey

I work for a government department that stores a fair amount of private data in a database.In an attempt to secure database access, we have created a database table that contains all of the database logins and passwords. We have also created a class called "db_connect.php" which contains the login …

0
65
Member Avatar for harshavardhan12

I have a form which is developed in php with captcha. Problem is when the captcha is wrong the form data which user entered is losing, which I don't want. I want to store the form data when the captcha is wrong. Thanks in advance.

Member Avatar for chrishea
0
41
Member Avatar for gikonyo

i am trying to submit a form to the mysql database using php the following error is resulting. Error: Unknown column 'unit1_code' in 'field list' what could be the problem

Member Avatar for pritaeas
0
81
Member Avatar for Encrypted

Hey guys.. I have a foreach loop (with multiple variables inside of it) and I need to collect the variables, as well as other content, and store it into a single string so I can output it into an email. Has anyone done something similar to this before? Here's some …

Member Avatar for Encrypted
0
93
Member Avatar for gikonyo

i am trying to connect a form to mysql database by using php code,but once a click submit button to submit the form this is the error am getting. Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the …

Member Avatar for gikonyo
0
124
Member Avatar for RoseMary3
Member Avatar for RoseMary3
0
88
Member Avatar for sugikrish

Hi frnds, I want activate the textbox when i select the particular checkbox in php.Anybody know send that coding ......

Member Avatar for billy147
0
239
Member Avatar for terabyte

how can I check if any field is empty i tried this: [CODE] $x = $_POST['a']; $y = $_POST['b']; $z = $_POST['c']; if($x or $y or $z == ""){echo "Please fill in all the fields";} else{ //rest of the code } [/CODE] but I allways receive the "Please fill in …

Member Avatar for terabyte
0
167
Member Avatar for joshisumitnet

Dear Friends, I want help to generate [url]www.bestuff.com[/url] like paging in my application because my client want same thing and in today's era this thing is found everywhere. I searched a lot but still could not found help. Here I am providing link to that paging so that you can …

Member Avatar for joshisumitnet
0
107
Member Avatar for Kniggles

I have this code working, I would like to change the fuction message to display a pic by its url insteed of the message popup. --------------- else if(k >= 6) { alert("It's tough ") --------------------- I am thinking along the lines of an else if (k >= 6{ echo <img …

0
109
Member Avatar for Kniggles

I am trying to get a text box to show a number and then add it to another number,[CODE]<html> <body> Field1: <input type="int" id="field1" value="1" /> <br /> Field2: <input type="int" id="field2" /> <br /><br /> Click the button to add the content of Field1 to Field2. <br /> <button …

Member Avatar for Kniggles
0
184
Member Avatar for mbarandao

Hello All: I'm working on a project that requires me to perform a process of taking user input from a form's textarea and appending it to another text field in the database. This field already has information in it. I want to be able to append the new value separated …

Member Avatar for mbarandao
0
147
Member Avatar for kakaliki

I need to do project about online banking. so i was told i need to learn php n mysql. I dont have access to any tutor coz its a distance program course. I know php.net website. and mysql.com. I am assuming i just need these two sites and a book …

Member Avatar for kakaliki
0
108
Member Avatar for nats01282

Hello, i am trying to create a script that will allow me to visit a page and enter some information and when i click submit it will send that data to anther page, i have managed to do it with a http link, but my question is how to keep …

Member Avatar for nats01282
0
103
Member Avatar for Dartz654

So, i'm making a forum and need to do a few things to the string stored in the variable $body. How would I go about doing this? A) Not strip, but make where all the HTML/PHP/Javascript/CSS/etc. doesn't work. Like, that way people could share code but it wouldn't execute. Someone …

Member Avatar for diafol
0
129
Member Avatar for terabyte

Well I got a doubt.. I have been away the whole web development scene for about 1 year and a half and I'm trying to finish some old projects but i don't remember anything. I have this blog I coded myself with basic php knowledge I have the index PHP …

Member Avatar for pritaeas
0
259
Member Avatar for Kniggles

[CODE]<?php // open base $con = mysql_connect("xxxxxxxxxxx", "xxxxxxxxxxx", "xxxxxxxxxxxxxxxxxx"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("xxxxxxxxxxx", $con); // open table $result = mysql_query("SELECT * FROM leader"); // print table & column headders echo "<table border='1'> <tr> <th>id</th> <th>Club</th> <th>Website</th> <th>Club Badge Url</th> </tr>"; // get data …

Member Avatar for Kniggles
0
222
Member Avatar for yanoli

Hello, I'm trying to modify an existing php page by adding a submit button, to allow the user to change the unit cost of a product in the inventory. I can get the product informations from the database, but nothing happens when I press the submit button. The fist submit …

Member Avatar for nonshatter
0
5K
Member Avatar for SunnySideUp

Hi, I have a question regarding Object Orientated Programming as it is baffling me. Lets say I have a form called register. It is made up of Username, Password and Emai. Now when the user clicks submit the form will be handled by the class register but how does the …

Member Avatar for Setvir
0
120
Member Avatar for samsons17

Okay,i try to call a function of mysql_prep() that i made in functions.php. I try to call this function at the page of create_subjects.php by typing this [CODE]<?php require_once("includes/functions.php");[/CODE] into the create_subjects.php. and this is the full code of create_subjects.php : [CODE] <?php require_once("includes/functions.php"); ?> <?php $connection = mysql_connect("localhost","root","mypassword"); if …

Member Avatar for tyutmonster
0
312
Member Avatar for dhruv_arora

i have joomla installed for my website. i get this error when i try to export something. [CODE]Fatal error: Call to a member function children() on a non-object in /home/infunity/public_html/administrator/components/com_zoo/elements/repeatable/repeatable.php on line 52[/CODE] how can i fix it?

Member Avatar for chrishea
0
45
Member Avatar for jakizak

I am needing a dropdown menu to pull data from table on a mysql database and then with the selected item, send it to a new table along with the rest of the data from the form. I have got the dropdown pulling data from the database with the following …

Member Avatar for chrishea
0
95
Member Avatar for jakesee

Hi, Without first knowng what public class variables the class has, how can i display a list of all the variables in that class along with the values? [CODE]print_r(new MyClass());[/CODE] will display the public variables and values, plus some other unwanted entries, but I cannot do anything with them. I …

Member Avatar for Setvir
-1
447
Member Avatar for bristolspider

i have to the following code which give u a cost price(thats our price) and a RRP i have made it work the difrence out and put its as a % but cant get it to show anything other than "£0" for saving have i missed somthing [CODE]<?php $_REQUEST['type'] = …

0
67
Member Avatar for TechySafi

If I put this line [ICODE]$friends = $connection->get('followers/ids', array('screen_name' => '2020volt'));[/ICODE] Twitter api returns something like this : [CODE]Array ( [0] => 173605790 [1] => 187372244 [2] => 17535566 [3] => 190756198 [4] => 184577861 [5] => 119247538 [6] => 183813521 [7] => 18013082 [8] => 149601084 [9] => 186491393 …

Member Avatar for TechySafi
0
135
Member Avatar for human2600

Hello, I want to ask you if you can give me an advice in how to make a secure login and register application in php and mysql. If you can give me a link or an idea I would be very thankful. Thank you!

Member Avatar for madiyasa
0
147
Member Avatar for muralibobby2015

hello.. i want to do a website wich is having search functionality. in this i have to do search flights,hotels etc.., some one suggested me to use kayak api for this. i searched every thing for this. but i didn't get any idea. anyone could suggest me how to use …

Member Avatar for muralibobby2015
0
230
Member Avatar for feoperro

Hi, I have my project folder in www\project - for some reason, some of the images don't work and some do. All pictures are in the same path (project root) but some display a red cross and some display perfectly fine. As far as I know - theres no way …

Member Avatar for feoperro
0
164

The End.