top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

PHP Objects and mysql db with web frontend.

+2 votes
335 views

I know how to use classes and objects in PHP, but it has always been difficult for me to figure out how should I use php Objects with database like mysql.

Specially loading and saving data when there are one-one or one-many relationship.

Can someone guide me with books/blogs where I can get the better idea in this regard?

posted Apr 8, 2014 by Sonu Jindal

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

I have a column called name in a table info
So I want to update that with it's current value, like this name + user_input. I tried with this code but not working

mysql_query("UPDATE info SET name = name + '$user_input' WHERE id='$user_id'");

But It returns 0 and update column to 0....

Any idea how to accomplish this task?

+2 votes

I have moderate level PHP programming skills. I am also interested in merging those skills inside of the WordPress app. With their advanced responsive design themes and many other functions it seems like a good idea. I have tried loading some PHP plug-ins in WP – but I don't seem to get them to do more than basics.

Can anybody help me on how I can get started working with PHP/MySQL inside of the WordPress app?

...