Jump to content

edoplaza

Member
  • Posts

    139
  • Joined

  • Last visited

Everything posted by edoplaza

  1. Yes, you are right too. I already fixed it. How do you like the pop up image effects? and the gallery? aren't they too flashy? The site is meant to be quite formal (not extremely, but quite) By the way I'm using the php add/delete/update form you wrote. It's in the administration section and it works perfectly. The upcoming events and the events section display data from the DB, which is to be populated by the client... Thanks again for that. Cheers Eduardo
  2. Thanks Thelma, I fixed the "CD's" problem. You are right that's a common mistake. Anyway, I'm glad you liked the site. The client did too... Anyone else? I want some critics
  3. Hello everybody, This is my last work. It's a small site for a cello player here in Venezuela. I still have to work on the video section and add more photos to the gallery. I've tried to validate every page as much as possible. Please tell me your critics so I can improve my skills. Link: ww w.germ anma racano.com Best regards, Eduardo
  4. Just one last question, What would be the best way to link all this to a css style sheet? I notice that in the view.php tables are not shown as a html format but inside a php code. Thanks Eduardo
  5. I already uploaded the files to my server and it works: http://ww w.puntabahareque.com/otrabd/view.php Thank you again Eduardo
  6. Benjamin, Thank you very much, this is exactly what I was looking for. I promise I'll try to LEARN php and won't ask for pieces of code anymore... Best regards, Eduardo
  7. Hello Benjamin, You are right; you see a lot of Dreamweaver because I am a complete newbie in php. I used to know a lot of Action Script but I haven't had the time to learn php correctly. Now, my ignorance is giving me a hard time and I'm paying for it... and I know it's very amateurish of me to ask for big pieces of code in this forum, so I apologize for that. When you start using a software like Dreamweaver you think the built-in features are going to do everything for you (spry, wizards, etc.), but then, when you need to code an email form, or other more complicated things, you are lost. I think next month I'll start learning php in the correct way (I already bought some books) so I won't have to ask for help every time. Now, I really need to make this work, for I have to build a web site very soon. Thank you, Eduardo N.B. Not an excuse, but I am not a professional programmer, I am a professional musician who loves computers?
  8. Thanks bishwadeep, I copied and pasted your code, but I still get blank results Could you point me to a insert/update record tutorial?? I just need this: a) A simple for where I can insert data A page with all data displayed c) A form where I can update the data for each record I already have a) and I just need c) Thanks Eduardo
  9. I'm still struggling with this code. I've tried this: $value= $_GET['id']; $query_Recordset1 ="SELECT * FROM colores WHERE id='value'"; and all I get is blank results: Id: Color: Cosa: Numero: I guess the id value is not passing correctly from the detail.php to update.php. It shouldn't be that hard, though.... It's a simple insert/update record form Eduardo
  10. Thanks for your response, I'll take a look Regards, Eduardo
  11. color <?php echo $row_Recordset1['color']; ?> <?php if ($pageNum_Recordset1 > 0) { // Show if not first page ?> ">First <?php } // Show if not first page ?> <?php if ($pageNum_Recordset1 > 0) { // Show if not first page ?> ">Previous <?php } // Show if not first page ?> <?php if ($pageNum_Recordset1 < $totalPages_Recordset1) { // Show if not last page ?> ">Next <?php } // Show if not last page ?> <?php if ($pageNum_Recordset1 < $totalPages_Recordset1) { // Show if not last page ?> ">Last <?php } // Show if not last page ?> Records <?php echo ($startRow_Recordset1 + 1) ?> to <?php echo min($startRow_Recordset1 + $maxRows_Recordset1, $totalRows_Recordset1) ?> of <?php echo $totalRows_Recordset1 ?>
  12. I think I found it, it's something called mootools
  13. Thanks for your answers! Also, I am looking for a tutorial on how to create the accordion effect shown in this page (upcoming events, right side): http://ww w.mus.cmich.edu/ Is that JS? CSS? Also, once I have the accordion, is it possible to add and update information inside using php? Thank you very much, Eduardo
  14. Hello, I use Dreamweaver, and most of the time, I work with template pages. However, when inserting some php and other scripts (a Flash video, for instance), the template page code gives me a hard time. Do you recommend the use of template pages or not? Is there another safe way to build sites with repeating codes? I feel more and more that these Dreamweaver ?useful? features are not that useful... Regards, Eduardo
  15. Hi bishwadeep, I only use two files, and I fully posted them in my previous message. The first one is called contacto9.php the sencond one is called process_mail.inc.php. There is nothing more. If you need me to send you the files, I will. I changed what you suggested but it didn't work. I changed one field, just to try: where it says: $expected = array('name', 'telefono', 'email','checkindate', 'checkintime', 'checkoutdate', 'checkouttime','adults', 'under4', 'between4and10','comments'); I changed it to: $expected = array('name', 'telefono', 'email','checkindate', 'checkintime', 'checkoutdate', 'checkouttime','adults', 'under4', 'between 4 and 10 years','comments'); On the mail message I get: between 4 and 10 years: not selected. Notice this variable on the code: p> Ni?os entre 4 y 10 a?os 0 1 2 3 4 5 6 7 8 9 10 The variable "between4and10" is written several times and I think it has to match the variable in the array. Maybe, there is a way to convert each variable of the "expected" array into strings. Greetings, Eduardo
  16. <?php if ($_POST && isset($missing) && !empty($missing)) { ?> Por favor, complete la informaci?n requerida. <?php } elseif ($_POST && !$mailSent) { ?> Disculpe, su mensaje no pudo ser enviado. Por favor int?ntelo m?s tarde. <?php } elseif ($_POST && $mailSent) { ?> Su mensaje fue enviado con ?xito. Gracias por contactarnos. <?php } ?> Datos personales Nombre y apellido: <?php if (isset($missing)) { echo 'value="'.htmlentities($_POST['name']).'"'; } ?> /> <?php if (isset($missing) && in_array('name', $missing)) { ?> Por favor, escriba su nombre <?php } ?> Tel?fono celular: <?php if (isset($missing)) { echo 'value="'.htmlentities($_POST['telefono']).'"'; } ?> /> <?php if (isset($missing) && in_array('telefono', $missing)) { ?> Por favor, escriba su tel?fono <?php } ?> Correo electr?nico: <?php if (isset($missing) && in_array('email', $missing)) { echo 'value="'.htmlentities($_POST['email']).'"'; } ?> /> <?php if (isset($missing) && in_array('email', $missing)) { ?> Por favor, escriba su correo electr?nico <?php } ?> Fecha de llegada: <?php if (isset($missing) && in_array('checkindate', $missing)) { echo 'value="'.htmlentities($_POST['checkindate']).'"'; } ?> /> <?php if (isset($missing) && in_array('checkindate', $missing)) { ?> Por favor, selecione o escriba la fecha de llegada <?php } ?> Hora de llegada 7:00 8:00 9:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 Fecha de salida <?php if (isset($missing) && in_array('checkoutdate', $missing)) { echo 'value="'.htmlentities($_POST['checkoutdate']).'"'; } ?> /> <?php if (isset($missing) && in_array('checkoutdate', $missing)) { ?> Por favor, seleccione o escriba la fecha de salida <?php } ?> Hora de salida 7:00 8:00 9:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 Adultos 0 1 2 3 4 5 6 7 8 9 10 Ni?os menores de 4 a?os 0 1 2 3 4 5 6 7 8 9 10 Ni?os entre 4 y 10 a?os 0 1 2 3 4 5 6 7 8 9 10 Comentarios <?php if (isset($missing) && in_array('comments', $missing)) { ?> Por favor escriba sus comentarios<?php } ?> <?php if (isset($missing)) { echo htmlentities($_POST['comments']); } ?>
  17. Hello again bishwadeep, Now It is perfect! Thank you very much, you have been very patient... Nepal must be an amazing country, have you seen the Mount Everest already? Best regards, Eduardo
  18. Sorry to bother you one last time. Your code works perfectly, but now, I've lost my little "thank you" page after the user submits the info, and the other one, "oops, there has been an error." How do I integrate a verification code? I used to have this: then, on the sendmail.php I had this: if (!isset($_REQUEST['email'])) { header( "Location: http://www.puntabahareque.com/thankyou.html\" ); etc. (you can see it on the top post) I can see that in your new code you don't have the action="sendmail.php" anymore, but action "". So, where do you put the verification code? You can see what I mean here: http://www.puntabahareque.com/thankyou.html Thanks once again, Eduardo
  19. Hello bishwadeep, Thank you very much for all your help. This is exactly what I wanted. Of course, I'll put all the css in a different file, I just wanted to focus on the js - php part. Thank you very much and greetings from Venezuela. When the site is finished, I'll let you know. Regards, Eduardo
  20. Error Oops, it appears you forgot to enter either your email address or your message. Please press the BACK button in your browser and try again.
  21. Thank you very much for your help!
  22. Thank you very much! Now it works. The only problem is that the feedback page is still showing the first line of the DataBase. I checked on PHPmyAdmin and the information is being updated correctly, I mean, when you enter a new name and last name, they appear on the database but not on the feedback page. Thanks again Eduardo
  23. Hey, thank you very much, now I understand what you mean. However when I test the pages it gives me this: Warning: Cannot modify header information - headers already sent by (output started at /home5/musicaen/public_html/puntabahareque/reservation1.php:4) in /home5/musicaen/public_html/puntabahareque/reservation1.php on line 51 I put 2 new pages with your code: http://www.puntabahareque.com/reservation1.php and http://www.puntabahareque.com/feedback1.php I checked line 51 and it has this code: header(sprintf("Location: %s", $insertGoTo)); I don't know what that means Regards, Eduardo
  24. Put your information here: Name: Lastname:
  25. Also, After the user submits the information, I'd like him to see a feedback page just showing the information he just submitted. How can I tell php to fetch just that specific row?
×
×
  • Create New...