
omardavinci
Members-
Posts
32 -
Joined
-
Last visited
Everything posted by omardavinci
-
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.
-
Thanks a lot for your help. I am very thankful. You helped me a lot . Merci.
-
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.
-
solved i am dump i was sending other path
-
ok
-
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
-
Sorry was solved i need to bind parameter // statement $statement->bindValue(':fname', $fname); after use prepare
-
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.
-
Fatal error: Call to a member function fetchALL()
omardavinci replied to omardavinci's topic in PHP Coding Help
the best guide http://php.net/manual/ -
Fatal error: Call to a member function fetchALL()
omardavinci replied to omardavinci's topic in PHP Coding Help
I forgot to ask can someone recommend me some guide updated of PHP and mysql thanks for all -
Fatal error: Call to a member function fetchALL()
omardavinci replied to omardavinci's topic in PHP Coding Help
thx: I will learn more the basic things. -
Fatal error: Call to a member function fetchALL()
omardavinci replied to omardavinci's topic in PHP Coding Help
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. -
Fatal error: Call to a member function fetchALL()
omardavinci replied to omardavinci's topic in PHP Coding Help
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 -
Fatal error: Call to a member function fetchALL()
omardavinci replied to omardavinci's topic in PHP Coding Help
Ok sir i will take your advice thx a lot -
Fatal error: Call to a member function fetchALL()
omardavinci replied to omardavinci's topic in PHP Coding Help
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 -
Fatal error: Call to a member function fetchALL()
omardavinci replied to omardavinci's topic in PHP Coding Help
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 -
Fatal error: Call to a member function fetchALL()
omardavinci replied to omardavinci's topic in PHP Coding Help
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 -
Fatal error: Call to a member function fetchALL()
omardavinci replied to omardavinci's topic in PHP Coding Help
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. -
Fatal error: Call to a member function fetchALL()
omardavinci replied to omardavinci's topic in PHP Coding Help
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 -
Fatal error: Call to a member function fetchALL()
omardavinci replied to omardavinci's topic in PHP Coding Help
A sorry you are right i did since databases.php But why doesnt show me the elements of the table?? -
Fatal error: Call to a member function fetchALL()
omardavinci replied to omardavinci's topic in PHP Coding Help
sir i tried to call again fetchall and take me error: -
Fatal error: Call to a member function fetchALL()
omardavinci replied to omardavinci's topic in PHP Coding Help
Thx a lot SIR you are very good person thx -
Hi i get the follow error. Fatal error: Call to a member function fetchALL()Code:
-
page php, how include input and type to search in my table
omardavinci replied to omardavinci's topic in PHP Coding Help
all it is ok thx