39,402 Topics

Member Avatar for
Member Avatar for mbarandao

Hello: I'm trying to insert my form two table in mysql. I have the following but only insert to one table (ajax table query) is successfull. Any ideas what I'm doing wrong. [CODE]<?php //error_reporting(0); //error_reporting(E_ERROR | E_WARNING | E_PARSE); error_reporting(E_ALL); $host = "localhost"; $login_name = "dsdsdt"; $password = "........."; $link=mysql_connect("$host","$login_name","$password"); …

Member Avatar for mbarandao
0
90
Member Avatar for sajuuu

i was wondering if you could help me with this shopping cart plz, to implement it into my website, here's the link of the cart i'm desperately trying to implement: [url]http://v3.thewatchmakerproject.com/journal/276/building-a-simple-php-shopping-cart[/url] my current website various pages of products, but reading from the same [I][B]table[/B][/I] and customer clicks on the product …

0
47
Member Avatar for keyroche

Hello, I am trying to figure out the best way to achieve a step-by-step wizard for the creation of a website. I would like for someone that does not know anything about creating websites to be able to go through this wizard and create a website, then at the end …

Member Avatar for keyroche
0
769
Member Avatar for bjeffries

I have about 230 photos in a database, all along I have been putting [url]http://domain.com/path/to/image.jpg[/url]. I am trying to enable a thumbnail script and it will not work with the [url]http://domain.com[/url] on the front of the url. Is there a way I can run a script to go through and …

Member Avatar for bjeffries
0
127
Member Avatar for magicofflight

We have an aviation website addressed magicofflight dot com for which we have applied cache headers. We want to reload the client side cache whenever we need. How do we do that? If we set the client side version the entire image set gets redownloaded. Is there any way we …

Member Avatar for chrishea
0
98
Member Avatar for soomro_moon

iam try to retrieving data from multiple table and i want that data to be shown on one page. can any one help me out what worng with this coding i cant get that resul which i want. here is the coding [ICODE] <? include("connection.php"); $q="select * from patient_detail,patient_information,patient_guardian_information,patient_discharge_information where …

Member Avatar for soomro_moon
0
137
Member Avatar for newbi11

i am having some problem with my PHP form . I have created everything and its posting the details to my mailbox the problem however is that in the message area all it shows is $text , it doesn't show what the visitor typed into that area all it shows …

Member Avatar for newbi11
0
161
Member Avatar for anita_86

Hi!This is my 1st thread. I wanted to ask that I have a common table for clients.If client is given quotation, hes status is 1, if given invoice, hes status is 2 and so on. If i want to display only the clients who have received the invoice, I fire …

Member Avatar for anita_86
0
66
Member Avatar for sahromo

I git this warning>> [CODE]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files (x86)\EasyPHP 2.0b1\www\HotelCalifornia\sites\reserve_room.php on line 85 Unknown column '' in 'where clause[/CODE] This is my code>> [CODE] <?php $user=$_GET['username']; $Custno=$_GET['Custno']; $RoomNo=$_GET['RoomNo']; $username="jasmine"; $password="price"; $db=mysql_connect("localhost" , $username, $password); mysql_select_db("hotel_cali", $db); $sql="SELECT Email FROM customer …

Member Avatar for bakir
0
172
Member Avatar for hameredhed

hello guys.. I am new to php. May I ask if it is possible to store a mysql result into a single cookie..(the mysql result has multiple rows..).if it is possible, how to do it.. thanks in advance

Member Avatar for pritaeas
0
102
Member Avatar for mrcpp

I'm using jCarousel to create this multi-row slideshow and..well... It doesn't work. I really don't know why, and this is very urgent. I have less than an hour to finish it. Please, please help me. main page: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us"> <head> …

Member Avatar for mrcpp
0
358
Member Avatar for rajeesh_rsn

Hi friends, In one of my website I want to implement file upload ( Only Image ) facility. I m using http file upload and make a directory in my server set to mode 0777. Is it a secure method ? Or else what is the secure method for user …

Member Avatar for Fusion UK
0
97
Member Avatar for bluetoot

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reasons = '', birthplace = '' dob_month = 'January', dob_day = '' at line 8 Hello aLL I am developing an online registration form that …

Member Avatar for bluetoot
0
234
Member Avatar for prayag.419

I want to create login form here is the code // login.html <html> <head> <title>Login</title> </head> <form name="Login" method="post" action="loginbackend.php"> Username : <input name="txtUname" type="text" id="Uname"><br /> Password : <input name="txtUpass" type="password" id="Upass"><br /> <input type="submit" name="Submit" value="Login"> </form> </html> // loginbackend.php <?php ob_start(); $dbhost = 'localhost'; $dbuser = 'root'; …

Member Avatar for vinayakgarg
0
109
Member Avatar for varsha solshe

Hello everyone, I know ASP.NET little but no idea about PHP. i want to use PHP files in ASP.NET..... Can anyone help... Thanks...

Member Avatar for Mackeny
0
55
Member Avatar for srdva59

hi, i have a inputbox that have a hour in this format: 12:00:00 what i want to do is change the hour,secunds,minuts by pressing only the keys up and down. i have seen some web forms that do that but i can´t figure out how do that. any one know …

Member Avatar for srdva59
0
84
Member Avatar for tcollins412

How would i make a 3 page website in 1 script using php? Example. There are sections that are fun, boring, and evil. And i want to be able to edit and create the website all in one page. I know its possible but i do not know how. Please …

Member Avatar for tcollins412
0
154
Member Avatar for jeby6372

Env : Php 5.3, Ubuntu 10.10, apache 2.2.16 In fact IE8 blocks cookies avoiding the php session cookies to be saved in the client environment. Configure ssl on your webserver an do a http redirect at the very top of your source script from http to https layer.

0
53
Member Avatar for mademoiselle24

hello there :) this is my first time to join a forum. i just want to ask how can i make a window (actually like a pop screen for "help") in PHP. by the way i am using code igniter. thanks :)

Member Avatar for Kieran Y5
0
104
Member Avatar for Awah Mohamed

hello people . i am writing a login system for administers , so i made the login page with this code : [CODE] <?php ##################################################### # created by : Awah Mohammed # # date : 23/12/2010 at 23:15 pm # # haha , i like writing such stuff in my …

Member Avatar for bakir
0
171
Member Avatar for AdriftUniform

Hi, I am having an issue saving images to a MYSQL database as a BLOB, I have been for a few days now, I have used several different tutorials and even though the code works with no errors returned, nothing actually get put in my database. Here is my form …

Member Avatar for AdriftUniform
0
218
Member Avatar for Richajr0

Hi I am pretty new to all this so bear with me. I have created some forms on dreamweaver which I want to populate mysql database when completed. I have created a table using phpmyAdmin through godaddy. I have created a record set which links to each form field. I …

Member Avatar for Richajr0
0
116
Member Avatar for eshko

Hello every one! I'm developing one simple site, and I need to make an "archive" script. My MySQL Table looks like: [CODE] | id | title | content | is_deleted | pub_date | [/CODE] *pub_date is in PHP time() format. Example: 1258150430 So, what I want to make is an …

Member Avatar for chocalate
0
2K
Member Avatar for soomro_moon

can any plzzzzzzzzz help me out !!!!!!!1111 i need to add print button in my page that will print the hole page with imags and txt everything. but the code should be simple plzzzzzzzzzzzz help meeee

Member Avatar for soomro_moon
0
103
Member Avatar for WebKoller

Hello everyone. I am pretty new to oop, so this might be a simple question. I need to get data from my database and I need it in several different places on my site. So I decided to create a class to get the data instead of writing it over …

Member Avatar for pritaeas
0
115
Member Avatar for soomro_moon

whats worng in this code??????? it give this errroe Parse error: syntax error, unexpected T_VARIABLE in D:\xampp\htdocs\soomrof\a_task_2_1.php on line 8 [code] <? include("connection.php"); mysql_query("update doctor_schedule_information set monday='"$_POST['m']"',tuesday='" $_POST['t']"',wednesday='"$_POST['w']"',thursday='" $_POST['th']"',friday='" $_POST['f']"',saturday='" $_POST['st']"',sunday='"$_POST['su']"' where doctor_ID='"$_POST['d_id']"'")or die(mysql_error()); header("location:admin.php"); ?> [/code]

Member Avatar for soomro_moon
0
80
Member Avatar for Joe34

Here is my code it is built to create an html form. It works but when you go to the next question it says $_SESSION['q1'] doesn't exist? But I don't think I deleted it? What is wrong? [CODE]<?php session_start(); $connect = mysql_connect("127.0.0.1","root",""); if (!$connect) { die("MySQL could not connect!"); } …

Member Avatar for MooGeek
-1
121
Member Avatar for professor123

CAN can someoneone assist me...can you send an email using xampp when you dont have an email server install on your PC. ls it possible?

Member Avatar for bakir
0
90
Member Avatar for saadi06

hi, i want to make an editable drop down list the user will enter the value and it will be saved in the drop down list and the value will be submitted in the database and when the user opens the drop down list again the edited value will be …

Member Avatar for chrishea
0
67
Member Avatar for Imratzio

Hi Im new to this forum and new to php and currently working on a php for dummies book for my project I need to by March. I show you the problems [CODE]<?php /* Program name: displayForm * Descrption: Script displays a form that asks for * the customer phone …

Member Avatar for Imratzio
0
297
Member Avatar for Xufyan

php url and pagination i have a problem in my code, when i click on page number the page is opening correctly but there are only 6 pages but there is no 7th page but when i am replacing the page number in the url to '7' the page is …

Member Avatar for diafol
0
1K
Member Avatar for Coder99

Hi, I'm trying to fix something on my site so that a user can only kill when a certain rank. I currently have this code [CODE]if ($rank < "Boss, Supreme Boss, Kingpin, Don, Godfather"){ echo "You have to be ranked atleast Boss to kill"; } [/CODE] It does return the …

Member Avatar for Coder99
0
84
Member Avatar for fantasma

Hi There I've been hammering my head with this for quite a while, and every solution I've tried didn't work, so I was wandering if you could help me with this. I've got a small div that is displayed for each record existing in the database, in order that, later, …

Member Avatar for fantasma
0
2K
Member Avatar for odysea

i need to Build a form textarea where someone enters a list of books (comma seperated). Use explode to populate an array of the book titles. Loop through and show the book titles on new lines. any help will be gladly appriacated !

Member Avatar for Shanti C
0
4K
Member Avatar for Infame

Hi! I use a paginate feature on my website, it works great on the front page, but when I use it in the comment section I get this: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/content/56/6296656/html/comments.php on line 77 code: [CODE] $query = "SELECT where …

Member Avatar for harrypinto11
0
77
Member Avatar for Sorcher

I am having troubles finding out how to make my url from [url]http://example.com/index.php?page=images[/url] to [url]http://example.com/images[/url]. None of the htaccess tutorials i read today could make me understand it. I would give you a big wet kiss if you could lead me / give me a snippet or your awesomeness so …

Member Avatar for pritaeas
0
121
Member Avatar for tAALz

I have installed Wampp Server. Now what I want is, if I open [url]http://localhost.com/run.php[/url] it opens Notepad I tried, all these three .. none of them executed notepad. [CODE]<?php exec("notepad.exe"); ?> <?php shell_exec("notepad.exe"); ?> <?php system("notepad.exe"); ?>[/CODE] What is the solution? Please help!

Member Avatar for mschroeder
0
3K
Member Avatar for streekdime

My file layout is as follows: Index.php: (URL = domain/index.php) [code] <?php session_start(); ?> <!-- BUNCH OF HTML --> <?php if($_GET['page'] == 'portfolio') include('pages/portfolio.php'); ?> <!-- BUNCH OF HTML --> [/code] Portfolio.php: (URL = domain/index.php?page=portfolio) [code] session_start(); if($_GET['view'] == 0){ // URL would be domain/index.php?page=portfolio&view=0 $_SESSION['catImages'] = array(); $_SESSION['catImages'][0] = …

Member Avatar for Shanti C
0
118
Member Avatar for pakunoda

hello to all. can you give me a code for enabling the submit button after checking the checkbox. i want to disable the submit button and if they don't check the checkbox it will not enable. can you help me with this guys.. thanks in advance. happy new year..

Member Avatar for Shanti C
0
95
Member Avatar for bjeffries

Im not even sure if these are called variables. But I am trying to call information from the database a different way than I usually do. This is what is not working: [CODE]$id = mysql_real_escape_string($_GET['id'], $con); /* once the file is imported, the variables set above will become available to …

Member Avatar for diafol
0
110
Member Avatar for dennishall

Hi All: I have 2 php files feeding one MySql record. I have an INSERT query in file1.php working fine, it then sends me to a highly animated form file2.php that calls a processor.php file. The processor.php file needs to update the mySql record. I have [U]tested[/U] the processor file …

Member Avatar for dennishall
0
321
Member Avatar for h20

Hi, I am not sure if my problem belong to this forum. However I am using PHP and hence I will post it here. I have a secondary database that is MS Access.Curently I have managed to export it to another database of mine in which I can delete and …

Member Avatar for chrishea
0
92
Member Avatar for Feabionsu

Hi there, I am trying to have a PHP variable in my link, so that my final link would look like: example.com/eformat/[B]variable-goes-here[/B].rtf I've managed to get example.com/variable-goes-here but no more than that. I really don't know PHP very well, so help would be greatly appreciated. Please excuse my beginner level. …

Member Avatar for Feabionsu
0
168
Member Avatar for terrirenner

Hello I am a asp newbie trying to send an notification email and update an access database at the same time. My database is being updated but the email portion is not working- the email portion is in php- Can I call it from my asp page and if so …

Member Avatar for ArtistScope
0
517
Member Avatar for bbinais

1. i cant login my login page while i use the encrypted password using md5(). 2. session is not working in my pages. 3. logout button is not working. Main_Login.php --------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Expires" content="Wed, …

Member Avatar for Ezzaral
0
246
Member Avatar for mr_scooby

Hey guys, I need to be able to get a certain value out of the following. [code] Job# : 442254 Contact : TO BE ADVISED Model : BZ500 50GN02630 Purchase Order/Your Reference : Contract Type: C3 CopyPlan - Contract Minimum Job Type: H Audit, Admin, Housekeeping Fault/Problem(s) reported: CHECK SENTINEL …

Member Avatar for mr_scooby
0
140
Member Avatar for aals

Problem when i am using $webRoot / $srvRoot as a value for a variable or in defining a constant Code & problem is below: [CODE]<?php ini_set('display_errors', 'On'); error_reporting(E_ALL); $thisFile = str_replace('\','/', __FILE__); $docRoot = $_SERVER['DOCUMENT_ROOT']; $webRoot = str_replace(array($docRoot, 'testing.php'), '', $thisFile); $srvRoot = str_replace('testing.php', '', $thisFile); define('WEB_ROOT', $webRoot); //error on this line …

Member Avatar for aals
0
335
Member Avatar for Cool&Awesome

Hi guys, Alright, I think it takes a guru to solve this, visited every single tutorial and htaccess generator out there... I'm trying to use mod_rewrite to get pretty urls. As long as I pass just 1 variable, it's cool, but when I try to pass 2 variables,like this [url]www.example.com/firstone/second[/url] …

Member Avatar for pritaeas
0
93
Member Avatar for roeyy

hello, i'm a newbie in database and php. I'm having a difficulty of retrieving images that have been uploaded to my database. Actually I'm wondering if the image is been saved on the database, help me! [icode]while($row = mysql_fetch_array( $result2 )) { // Print out the contents of each row …

Member Avatar for theonly
0
103
Member Avatar for nishafav

can any1 plz help me write this code... i want to print the valu of variable z. there are three variables x, y and z x is initialized some where else... y=x z=z+y first call of function x=10 y=10 z=10 second call x=20 y =20 z=20+10 third call x=30 y= …

Member Avatar for Shanti C
0
72

The End.