If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > PHP > can i get some basic about php ...

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-31-09, 13:31
picdome picdome is offline
Registered User
 
Join Date: May 2009
Posts: 1
can i get some basic about php ...

i had did some editing in .. phpbb and other php scripts .. but dont knw .. how to make one myself .. i just want to create a small form submitted the data shd be stored in a Mysql database cpanel .. and then .. the admin can login and can query that .. based on conditions .. so pls help me how to start .. .or give me the concept .. i knw something about html and made some websites .. dont knw much about php...
Reply With Quote
  #2 (permalink)  
Old 06-04-09, 13:08
loquin loquin is offline
Super Moderator
 
Join Date: Jun 2004
Location: Arizona, USA
Posts: 1,775
Start by taking a look in the php Dealing with Forms tutorial at php.net

Then, after you see what's going on with the form interface, take a look at the PHP documentation, particularly the database documentation for MySql at php.net. The MySQL example code demonstrates connecting to a MySQL database, performing a query, then displaying the results. In your case, you would be issuing a SQL INSERT statement, rather than a SELECT statement.

Now, as far as the cpanel side of it, I have no idea as to where the data is being stored, or whether it's even available to you for direct manipulation.
__________________
Lou
使大吃一惊
"Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
"I have my standards. They may be low, but I have them!" - Bette Middler
"It's a book about a Spanish guy named Manual. You should read it." - Dilbert


Last edited by loquin; 06-04-09 at 13:12.
Reply With Quote
  #3 (permalink)  
Old 06-04-09, 14:09
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 8,768
w3schools also has some good stuff on PHP

fwiw this site is more about helping people develop 'stuff' with databases, in ths case using PHP. its not about learning PHP.. there are better resources out there, some come in book form
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #4 (permalink)  
Old 06-26-09, 03:18
arslan220 arslan220 is offline
Banned
 
Join Date: Apr 2009
Posts: 1
i think you must see w3schools.com it,s a great website.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On