Jump to content

omardavinci

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by omardavinci

  1. Nowadays, it seems that frameworks are a best environement for advanced developers. On the other hand, it could be argued that they really are not necessary when you develop some website in php. However, this environements speed up a lot the appearing of many projects. So my question is: You recomend some novice developer to use frameworks? Any suggestions or dissapointments are good received. Thanks in advance.
  2. Thanks a lot for your help. I am very thankful. You helped me a lot . Merci.
  3. At first i create the form very easy with php: Obviously since if(isset[$_POST]) i did the query like this: But in my case i want to update $articles ($articles are the articles ordered by pages), i mean this: In conclusion, my question is very short. how i can update $articles when someone use filter to filter the table. In other words, i am trying to search some way to update $articles and i am little lost. Thanks in advance.
  4. solved i am dump i was sending other path
  5. Hi i am trying to do a simple pagination in php but when i try for example go to some page like localhost/page=1 i get this result:The requested URL /www/page=2 was not found on this server. Obviously this is because i did some mistake in the code. I share with members the php and html file for if someone has some suggestion. Thanks in advance: html: php: any suggestion, dissapointment is good received
  6. Sorry was solved i need to bind parameter // statement $statement->bindValue(':fname', $fname); after use prepare
  7. Hi sorry but i tried to use of many ways and i use prepare etc, But i cant create one without vars. But when i use one form and check the post method to save this new row. It is empty. Code: I am trying to do easy things. Like insert,update,delete,search but with a form.
  8. I forgot to ask can someone recommend me some guide updated of PHP and mysql thanks for all
  9. i know that this iterate one array and output to the client but it is not my question. Anyways i will take your advice. I am newbie yes but no one born knowing perfectly php and all. So i wait one new opportunity in my other questions thx.
  10. My question is only that: I cant include this code in $content var when i have content of my page: This was only my question. But i will take your advice thx
  11. Ok sorry i will learn more. Sorry again. But my question is very short sir: I did one content var in php because i want to do my webpage in php only and there i include my html content. So i couldn't include my querys since there? This is my question nothing more. Maybe i dont know nothing about php and mysql but this is not my question. Anyways thx for your help
  12. Sorry for the mistake i created the rows with insert into, i was confused sorry again. I confused rows with columns; I fixed this mistake now: My question is very short, some way to include rows since content php, I could only do outside of my template like this: Some way to include in content of php? Or some way that show me the table inside of my template thxx
  13. when i do: i get this message: But it is strange because i created one table called tabla and it have content. And when i select one column like Nombre: And the table i created since database of users, since phpmyadmin, all is right. So maybe i did something wrong. The table exists like you can see in this image: https://i.imgsafe.org/5391e48b22.png the code of tabla for you need to check: Sorry again for all
  14. sorry for users but maybe i forgot to change it. But anyways when i use this, i get the same: Yes you are right i took many mistakes with source code so i need to take more care the next time.
  15. ok sorry so when i do this: $users = $database_connection->query('SELECT * FROM users')->fetchAll(); <?php foreach($users as $users): ?> <tr> <td><?php echo $user['id']?></td> </tr> <?php endforeach;?> i included this for showing the tables but not show me nothing i will check more tutorials thx The code finally: Any suggestion is good received, dissapointments too
  16. A sorry you are right i did since databases.php But why doesnt show me the elements of the table??
  17. Hi i get the follow error. Fatal error: Call to a member function fetchALL()Code:
  18. Hi i am using notepad++, i tried netbeans but it takes me some problems like: Object not-found or i put the source to open and create one project. And when i did updates, they are not updated, etc etc. So please if you have some good editor or you prefer netbeans which do you prefer?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.