TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 14 of 14
Search took 0.01 seconds.
Search: Posts Made By: fairytale89
Forum: MySQL & Databases 04-03-2010, 08:25 AM
Replies: 0
Views: 585
Posted By fairytale89
How to cahnge fiels status automatically?

Hi everybody. right now i'm doing a hotel reservation system using php and phpmyadmin. The process involved

1) user inputs check-in and check-out dates (to check what rooms are available during the...
Forum: MySQL & Databases 04-02-2010, 02:08 AM
Replies: 3
Views: 606
Posted By fairytale89
yeah..it did really work. I already tried it...

yeah..it did really work. I already tried it ...
thanks:)
Forum: MySQL & Databases 03-29-2010, 06:40 PM
Replies: 3
Views: 606
Posted By fairytale89
How to get random number based on the condition.

i have two table in my database which is the room table and roomtype table.i'm using phpmyadmin.

room table
room_no
r_roomtypeID


roomtype table
roomtypeID
roomtype
Forum: Absolute Beginners 03-29-2010, 06:30 PM
Replies: 3
Views: 912
Posted By fairytale89
i do know that right now i'm passing the raw data...

i do know that right now i'm passing the raw data into the database, but this is just the basic for me to see whether the form inserting will function or not.

i'm planning to make the form...
Forum: Absolute Beginners 03-29-2010, 12:02 PM
Replies: 3
Views: 912
Posted By fairytale89
No data inserted into database. Am I wrongdoing it?

I have a form named:"RegistrationForm.php". when i click the "submit button", there's a data inserted in the database (the prove is, there a new row in the database),
but there's no value from user...
Forum: MySQL & Databases 03-27-2010, 11:55 PM
Replies: 4
Views: 1,130
Posted By fairytale89
isn't that primary key that referring to another...

isn't that primary key that referring to another primary key in another table is called as 'composite key'?
i'm not not really agree when you said that i'm actually wanted to declare is a unique ID....
Forum: MySQL & Databases 03-27-2010, 06:16 PM
Replies: 4
Views: 1,130
Posted By fairytale89
composite key syntax. How can I fix this?

i wanted to create a table name booking that have 3 composite key where 2
of the composite key is referring to each another table named customer and room.

however when i wanted to create the table,...
Forum: MySQL & Databases 03-25-2010, 08:36 AM
Replies: 1
Views: 1,103
Posted By fairytale89
is this database relationship looks good? anybody can comment

i have created a database for a room reservation. for this database i'm using mysql phpmyadmin.

Right now it's just have the simple basic data that needed in the database. I hope someone can...
Forum: MySQL & Databases 03-24-2010, 09:35 AM
Replies: 3
Views: 729
Posted By fairytale89
thanks for delayedinsanity for the reply... i...

thanks for delayedinsanity for the reply...

i finally manage to get the query that produce the result that i wanted:
here it is .

SELECT rt.roomtype, rt.roomprice
FROM roomtype rt
INNER JOIN rooms...
Forum: MySQL & Databases 03-24-2010, 01:22 AM
Replies: 3
Views: 729
Posted By fairytale89
it wasn't the typo error though. maybe it was the...

it wasn't the typo error though. maybe it was the unfunctionality of my own query as i'm still new and maybe there's no logic in that query. hope someone can be able to help to get some sense into...
Forum: MySQL & Databases 03-23-2010, 08:48 PM
Replies: 3
Views: 729
Posted By fairytale89
room availability not functioning...someone please give guidance..

i have just create 4 tables like below :

CREATE TABLE customer(
customerID INT NOT NULL AUTO_INCREMENT ,
name VARCHAR( 30 ) ,
address VARCHAR( 30 ) ,
tel_no INT( 15 ) ,
email VARCHAR( 30 ) ,
PRIMARY...
Forum: Absolute Beginners 03-21-2010, 12:25 AM
Replies: 0
Views: 840
Posted By fairytale89
can i insert value from another page into next page query

i have 2 forms here.
1) DisplayDetails.php
2) RegistrationForm.php

when user click to the link 'Next' at the DisplayDetails.php page it will bring
all the session value to the RegistrationForm.php...
Forum: Absolute Beginners 03-20-2010, 11:18 PM
Replies: 2
Views: 890
Posted By fairytale89
thanks delayedinsanity for the reply.I really...

thanks delayedinsanity for the reply.I really appreciate the efforts to help me and assist me with some solutions.

I did actuall go through my code again and managed to fix the code.The prob is...
Forum: Absolute Beginners 03-20-2010, 08:44 AM
Replies: 2
Views: 890
Posted By fairytale89
Am i passing the session wrong way? can someone check.

i have page findroom.php that will redirect to the page DisplayDetails.php.

i wanted the DisplayDetails.php page to display data from the query in the page findroom.php. The data that i wanted to...
Showing results 1 to 14 of 14

 

All times are GMT. The time now is 12:34 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design