No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
24 Posted Topics
hi all; can anyone tell me where can i find a good example for this; i have this whole code [CODE]<?php $name = $_POST['name']; $sender = $_POST['e_mail']; $phone = $_POST['phone']; $subject = $_POST['subject']; $message = $_POST['message']; $email = $_POST['email']; // Insert data into hotelinfo table $sql="INSERT INTO mailRecord(name, sender, phone, … | |
hi all; im looking a good example of 3 selector like for region province and city. if select form the list of region the province would have a list of province belong to region and the city well provide a list of cities belong to the region. and if province … | |
hi all; im looking a good example of 3 selector like for region province and city. if select form the list of region the province would have a list of province belong to region and the city well provide a list of cities belong to the region. and if province … | |
hi to all; Please tell me where to find a good example of multi dropdown list. I need a dropdown list menu for state, country and state which are the state country and city are retrieve from the databse. and if state is selected the country well coordinate and together … | |
hello to all; I'am newbie to PHP and needed to all php master, Please help me to make this code funtionally working, her is my code that i mean to <form id="myProvince" method="get" action="index.php"> <select name="select" style="width:200px" onchange="myProvince()"> <option value="all">Province</option> <?php $ByProvinceToShow=province::getByProvince($select); if (!isError($ByProvinceToShow)) { foreach ($ByProvinceToShow as $element => … | |
hi all; Sory for disturbanced, Im just newbie in PHP really needed your help Smiley, basically i have created three dropdown list. but I got a problem to display the value on selected category. here is my problem, I create a three dropdown list which is passing each parameter, when … | |
hi to all; does anyone can tell me if where can i find a sample code of php that woul look like a tree menu, well my is. I want to make a update menu which is if i click the update menu the form well be display, here is … | |
[QUOTE]hi; please help to check this code. i have a fucntion name to use in my select dropdown list, and I problem in calling the the function name; here is the whole code of my function.[/QUOTE] [ICODE]function getAllR($Region_id) { //returns an array with city info $query="SELECT * FROM cityinfo where … | |
hi all; i have a problem on my code, it does not display the city after I click the selected city. intead i got an error. please check the line of my code. this code works fine. [table]echo '<td><a href="index.php?menu=hotel&select='.$value->id.'">'.str_replace("&","&",$value->name).'</a></td>';[/table] but this part of code here is the the problem. … | |
hi all; what is wrong with in this code, please correct it thanks [code] <?php $value=""; $city=""; echo $result=city::getDisplayName($value->id==$city); ?>[/code] | |
hi all; i was creating a function to tell the php to set into Utf-8, but i got a problem wiht it. Im looking for a good resource of code that tell the php to set only a Utf-8, here is sample code. if (!mb_internal_encoding("UTF-8")) die("Cannot set encoding to UTF-8 … | |
[QUOTE]hi all; suposed to be this question has been solve, perhaps sory if i need to ask again. I found a code of send and email using with php classes; but there is something wrong with it. here is the whole code. [/QUOTE] [ICODE]class request { var $email; var $senderName; … ![]() | |
hi all; [QUOTE]I apreciate all the replies i had been read, but seems i got problem in sending an email, well this is my problem. I could not display the proper format after i send the email. [/QUOTE] [QUOTE]Im looking into this kind of format after i send the email. … ![]() | |
Re: try this code; gope this can help you, that's power only i got. im newbie in php to <?php include ('connect.php'); ?> <form name="form1" method="post" action="dogstore.php"> Dog's Name: <input name="dogname" type="text"> <br> Dog's Breed: <select name="dogbreed"> <option value="breed1">Breed</option> <option value="breed2">Breed</option> <option value="breed3">Breed</option> <option value="breed4">Breed</option> <option value="breed5">Breed</option> <option value="breed6">Breed</option> <option value="breed7">Breed</option> … | |
hi all; I create a php classes to insert my data into database, but it doest work, please help me with this. here is my whole code. [CODE]<?php require_once('connect.php'); class email { var $mail_id; // hotel id in emailRecord Auto_increment. var $name; // hotel name in emailRecord. var $email; // … | |
Re: hey; I had been using the include and require if i want to have a continue execution. but i also use the include_once and require_once if I want the execution once only. hope this help you. | |
hi all; i have found a code that would generate a time and date, this works fine, my main goal is i want to change the date and time format. here is the code that i found, [CODE]mysql_query("INSERT INTO mailrecord set date=CURDATE(), time=CURTIME()");[/CODE] this format will output [CODE]CURTIME() : 14:13:32 … | |
hi all; i have a code that would send in two person, after submmited the form, only one person recieve the email here is my code; [code=php] <?php $name = $_POST['name']; $sender = $_POST['e-mail']; $phone = $_POST['phone']; $subject = $_POST['subject']; $message = $_POST['message']; $email = $_POST['email']; $sendTo = $email; $return_to … | |
hi all; I have code that proform the dropdown list of the country. then after submmitted, it show the ouput, but the country i select from my drop down list, did not display. here is my whole code of drop down list. [CODE]<?php echo '<input name="country" type="hidden" id="country" size="30" maxlength="75">'; … | |
Hi, guys. I've got a simple request form that is submitting a request to a company email address. However, now when the form is submitted, I need the data to be sent in an email to the site's admin. and prompt the company some message... Anybody can give me a … | |
hi all; I' am using the encoding type utf8- and its works on the firefox. but when i run my index on the IE 6 and IE 7 it does not detect the utf8. what seems to the problem of this? Can put the type of encoding so that my … | |
hi all; I have a problem in diplaying the city name. pleas cheack the line of this code. [QUOTE][CODE]$result=city::getDisplayName('$id'); echo $result;[/CODE][/QUOTE] | |
hi all; I have a recursive function the read the file, but its doesn work properly so It a big problem for me as a newbie in php, i need help to someone, here is my function that read the file and returning the line of file as array of … | |
hi all, well sory for my bad question, its my bad. by the way thanks for your replied but it seems still have a problem. my only main goal is creat a function read a file. and I have this function to read the file. but I got an error … |
The End.