Click here to Skip to main content
15,897,226 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Dera all
I want a code for admin page which is: when admin from the admin panel add one record to Mysql, after that immediately create new page in website automatically .
Posted
Updated 15-Apr-13 23:15pm
v2
Comments
Member 9762654 16-Apr-13 5:24am    
new page for what?
Mohammad Ali_7 16-Apr-13 5:30am    
for example this is the photography website, now when the admin post one image, the image and title appear in index, now I want the code that able read database whenever admin add recorde create separate page for that record
Sudhakar Shinde 16-Apr-13 5:33am    
Please try goggle to find out code required by you is available readily.Otherwise try yourself and come up with coding related issues. I do not think someone can put efforts to do coding required by you.
Mohammad Ali_7 16-Apr-13 5:35am    
Obviously I dont want exactly the code from people here I just want some tips, because of that all people post question here !!
Member 9762654 16-Apr-13 5:46am    
for this just a single image box is enough know to view. for example if admin add two images means you need to create two new php page or its enough to view image alone?

1 solution

ok you have record id in table where admin insert image and the field should be auto incremented so when admin enters one record you select using max(record id) and using the file name display the image in a picture box.
 
Share this answer
 
Comments
Mohammad Ali_7 16-Apr-13 6:01am    
Thank you, but I think you didnt get my point, this system is exactly like User registration system, when new user register in system, the user profile immediately create new page (profile.php) for new user . I want some thing like this . anyway thank you for helping ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900