I've been looking for a whole day of information.

Source: Internet
Author: User
Tags php and mysql php books
Rookie in the rookie Ah, just into the company let's do the project AH
The simplest will not ah, Baidu has not found a way to a half-day


Want to ask now want to do a user Management module additions and deletions, what should be done?
Receive First, select * from user output how to output AH
Also, after each output, add a two button to modify the delete
Well, how do you do that?


Reply to discussion (solution)

Please refer to PHP books, this is the most basic, basically what the book has, it is recommended to see "PHP and MySQL Web development"

It's basic, but it's not!!!!!.

I don't know how the company wants you.
Just don't need to learn

Moderator, can you answer my question?

I am learning every night, progress is slow AH. Can you tell me how this function is done, in a hurry?

This thing is a little hard.

I am also just an internship, it is recommended that you start from the Add, after all, add a relatively simple point

I stick to the source code you refer to.

 
 
  
 <title>Change of hospital information</title>
 
  
 

123

Limit} "; $result = mysql_query ($sql) or Die (Mysql_error ()); $info = Mysql_fetch_array ($result);d o {?>
Modify Hospital Information
Hospital name location Total Demand Number whether gender-divided Demand Male Demand Women Operation Operation
"> Change "Onclick=" return confirm (' Are you sure to delete it? ') ' > Delete

Thank you so much for the upstairs.

LZ you need a MySQL class, 7 floor This code does not out of 3 days your home server re-install the system

I don't know how you need to find a day's information on the Internet.

That's more than I'm going to admire.

Landlord or summary of ideas, ideas are not clear, do not know how to write.

I stick to the source code you refer to. PHP code? 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364

The Landlord Mo Impatient, maintains a good study mentality, only then the mentality is good, can do the thing well. If the mentality is not adjusted well, it is estimated that everything is difficult to do.

 "", "prev" = "page_up", "Next" = "Page_down", "First" = "First_page", "Last" and "Last_page");p rivate $ listnum=8;/* * $total * $listRows */public function __construct ($total, $listRows =10, $pa = "") {$this->total= $total; $ this->listrows= $listRows; $this->uri= $this->geturi ($PA); $this->page=!empty ($_get["page"])? $_get["Page"]: 1; $this->pagenum=ceil ($this->total/$this->listrows); $this->limit= $this->setlimit ( );} Private Function Setlimit () {return ' Limit '. $this->page-1) * $this->listrows. ", {$this->listrows}";} Private Function GetURI ($PA) {$url =$_server["Request_uri"]. ( Strpos ($_server["Request_uri"], '? ')? ': '? '). $pa, $parse =parse_url ($url), if (Isset ($parse ["Query"]) {parse_str ($parse [' query '], $params), unset ($params ["page"] ); $url = $parse [' path ']. '? '. Http_build_query ($params);} return $url;} Private Function __get ($args) {if ($args = = "Limit") return $this->limit;elsereturn null;} Private Function Start () {if ($this->total==0) return 0;elsereturn ($this,PAGE-1) * $this->listrows+1;} Private Function End () {return min ($this->page* $this->listrows, $this->total);} Private Function First () {if ($this->page==1) $html. = '; else$html.= "uri}&page=1 ' >{$this->config[" first "]}"; return $html;} Private Function prev () {if ($this->page==1) $html. = "; else$html.=" uri}&page= ". ($this->page-1). "' >{$this->config["prev"} "; return $html;} Private Function PageList () {$linkPage = ""; $inum =floor ($this-&GT;LISTNUM/2); for ($i = $inum; $i >=1; $i-) {$page =$ this->page-$i, if ($page <1) continue; $linkPage. = "uri}&page={$page} ' >{$page}";} $linkPage. = "{$this->page}"; for ($i = 1; $i <= $inum; $i + +) {$page = $this->page+ $i, if ($page <= $this->pagenum) $linkPage. = "uri}&page={$page} ' >{$page}"; Elsebreak;} return $linkPage;} Private function Next () {if ($this->page== $this->pagenum) $html. = "; else$html.=" uri}&page= ". ($this->page+1). "' >{$this->config["Next"} "; return $html;} Private Function Last () {if ($this->page== $this->pagenum) $html. = "; else$html.=" uri}&page= ". ($this->pagenum). "' >{$this->config["Last"} "; return $html;}   Private Function Gopage () {return '';} function Fpage ($display =array (0,1,2,3,4,5,6,7,8)) {$html [0]= '; $html [1]= '; $html [2]=]{$this->page}/{$this->pagenum}"; $html [3]= $this->first (); $html [4]= $this->prev (); $html [5]= $this->pagelist (); $html [6]= $this->next () ; $html [7]= $this->last (); $html [8]= $this->gopage (); $fpage = '; foreach ($display as $index) {$fpage. = $html [$ index];} return $fpage;}}

These are very simple, slowly to get a few down on the OK.

You can take a look at the tutorial

LZ still find some simple examples to make a change.

Does the company have no one to control you? I'm just giving you a job to make you do it? At night, I have nothing to learn, I also in the study, many will not, can at any time exchange ~

Does the company have no one to control you? I'm just giving you a job to make you do it? At night, I have nothing to learn, I also in the study, a lot of will not, can communicate at any time ~ your penguin is what

LZ and I just entered a type of company.

Can you find a job here? The moment gave me a little confidence

Baidu why, decisive Google

Seriously agree upstairs, Google is the best search choice

This is the degree to find a job. Too urgent, it will only lead to more embarrassment, but since already on the job to cherish it, although hard points but progress will be very fast, because it is in practice.

But I do not advocate this degree on the job, the company is really difficult to understand. Is it e-commerce, lack of programmer kind of small company?

Lou Zhu insisted on living Oh, no words also not afraid, the time to practice a few months to fight again.

Learn from the basics PHP and MySQL web development

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.