TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Advanced PHP Programming (http://www.talkphp.com/advanced-php-programming/)
-   -   Need Help in PHP and MySQL (http://www.talkphp.com/advanced-php-programming/9409-need-help-php-mysql.html)

yusufsaifi 02-14-2013 11:36 AM

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

anis2505 02-14-2013 02:02 PM

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

yusufsaifi 02-14-2013 06:29 PM

Thank you anis2505
 
Thank you anis2505 for reply

sunnyfun7285 02-18-2013 12:32 PM

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

Website Development Australia

OldManRiver 02-20-2013 07:37 PM

Quote:

Originally Posted by yusufsaifi (Post 37352)
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

HitechExport 02-22-2013 03:01 PM

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

yusufsaifi 02-23-2013 06:18 AM

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

kevinloyed 03-04-2013 05:33 AM

This link will defiantly help you www. php.net/manual/en/function.mysql-list-tables.php

OldManRiver 03-25-2013 03:33 AM

Html
 
Quote:

Originally Posted by yusufsaifi (Post 37549)
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

programmingservices 05-09-2013 11:54 AM

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.


All times are GMT. The time now is 05:01 AM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0