TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 02-14-2013, 11:36 AM   #1 (permalink)
The Visitor
 
Join Date: Feb 2013
Posts: 3
Thanks: 0
yusufsaifi is on a distinguished road
Confused Need Help in PHP and MySQL

Greetings,
Hope you all doing good,
I need a PHP code that, insert a new menu in MySQL database and link that menu to a page via Admin Panel.

Thanks in Advance
SAIFI
yusufsaifi is offline  
Reply With Quote
Old 02-14-2013, 02:02 PM   #2 (permalink)
The Visitor
 
Join Date: Feb 2013
Posts: 4
Thanks: 0
anis2505 is on a distinguished road
Default

Hi,
take a look at this book:
http://www.packtpub.com/cms-design-u...nd-jquery/book

Chapter 5.
I don't have the code now sorry.
regards
anis2505 is offline  
Reply With Quote
Old 02-14-2013, 06:29 PM   #3 (permalink)
The Visitor
 
Join Date: Feb 2013
Posts: 3
Thanks: 0
yusufsaifi is on a distinguished road
Smile Thank you anis2505

Thank you anis2505 for reply
yusufsaifi is offline  
Reply With Quote
Old 02-18-2013, 12:32 PM   #4 (permalink)
The Visitor
 
Join Date: Feb 2013
Location: Sydney,Australia
Posts: 1
Thanks: 0
sunnyfun7285 is on a distinguished road
Default

You may visit W3schools.com or you may visit some programming Forum Site. you may get instant solution of your query.

Website Development Australia
sunnyfun7285 is offline  
Reply With Quote
Old 02-20-2013, 07:37 PM   #5 (permalink)
The Wanderer
 
OldManRiver's Avatar
 
Join Date: Feb 2013
Posts: 7
Thanks: 0
OldManRiver is on a distinguished road
Default

Quote:
Originally Posted by yusufsaifi View Post
Greetings,
Hope you all doing good,
I need a PHP code that, insert a new menu in MySQL database and link that menu to a page via Admin Panel.

Thanks in Advance
SAIFI
SAIFI,

You mention an Admin Panel. What app have you installed and are using?

A simple "insert new menu" or "insert menu item" will not work in some apps!

Let us know what you are working with!

Thanks!

OMR
OldManRiver is offline  
Reply With Quote
Old 02-22-2013, 03:01 PM   #6 (permalink)
The Visitor
 
HitechExport's Avatar
 
Join Date: Jan 2013
Posts: 2
Thanks: 0
HitechExport is on a distinguished road
Default

As per my idea, Simply if you can easily learn php language so, you can join classis of programming or developing and if you want to work hard so, you can learn more own by google search engine.

Outsourcing Services India | Outsourcing Data Entry Services | Outsourcing Engineering Services
HitechExport is offline  
Reply With Quote
Old 02-23-2013, 06:18 AM   #7 (permalink)
The Visitor
 
Join Date: Feb 2013
Posts: 3
Thanks: 0
yusufsaifi is on a distinguished road
Default

Thanks for reply every one,
I solved my problem, but now I have a new question:
How I can show all registered users in my website from MySQL database in a table like this:


Thank you for support
yusufsaifi is offline  
Reply With Quote
Old 03-04-2013, 05:33 AM   #8 (permalink)
The Wanderer
 
Join Date: Feb 2013
Posts: 18
Thanks: 0
kevinloyed is on a distinguished road
Default

This link will defiantly help you www. php.net/manual/en/function.mysql-list-tables.php
kevinloyed is offline  
Reply With Quote
Old 03-25-2013, 03:33 AM   #9 (permalink)
The Wanderer
 
OldManRiver's Avatar
 
Join Date: Feb 2013
Posts: 7
Thanks: 0
OldManRiver is on a distinguished road
Application Error Html

Quote:
Originally Posted by yusufsaifi View Post
Thanks for reply every one,
I solved my problem, but now I have a new question:
How I can show all registered users in my website from MySQL database in a table like this:


Thank you for support
Y,

I can tell you have not got the basics of PHP down. PHP is server side processing that renders HTML, which is the only thing passible to the user, which is why even though you can not see PHP in the browser, it passed the "All code must be inspectable" requirement of the 2 year old "Secure Mode Mandate" as it only yields HTML and has no "client side" processing, making it the only "Secure" internet processing platform.

That said you have to process to a var/vars which is then display via the browser in the following manner:
Code:
<?php
  $tbl_hdr = "<table>";
  $tbl_row = "";
  foreach ($row = mysql_{row}) {
      $tbl_row .= "<tr>".
                  "<td>$row[0]</td>".
                  "<td>$row[1]</td>".
                  ....
                  "</tr>";
  }  // end foreach
  $tbl_ftr = "</table>";
?>

<html>
   <?php echo $tbl_hdr.$tblrow.$tbl_ftr; ?>
</html>
Where {row} is one of the many ways to pull the row of data from mysql. Google "PHP HOWTO mysql" to get the manual with the list of possible commands.

Cheers!

OMR
OldManRiver is offline  
Reply With Quote
Old 05-09-2013, 11:54 AM   #10 (permalink)
The Wanderer
 
programmingservices's Avatar
 
Join Date: Dec 2012
Posts: 10
Thanks: 0
programmingservices is on a distinguished road
Default

I agree like that all these basic concepts were covered very efficiently for PHP and mySQL tutorial at here so; Great post; I would like to thanks for sharing that.
programmingservices is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Beginner Guide #1 Hershey Absolute Beginners 1 11-07-2011 10:42 PM
Updating MySql database table with PHP dalelandrydotcom MySQL & Databases 0 07-12-2010 10:55 PM
Help on PHP MYSQL Forms Input deesudesu Absolute Beginners 1 03-20-2009 10:50 AM
how to call mysql procedures in php??? gptArun Absolute Beginners 7 06-05-2008 08:13 PM
Error in connecting to MySQL via PHP EyeDentify MySQL & Databases 0 01-03-2008 01:06 PM


All times are GMT. The time now is 06:25 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design