php - remember POST value when change the URL -


How can I remember postal charges when changing the URL

$ _ POST ["a1"] to b.php? ... pass in the second parameter of ? URL so that it can be accessed later in BPH's $ _ GET lookup.

It may be a cut-paste error, but this:

  href = "b.php? Id =". $ Line ["url"]. "Goal =" _ self " 

There is no point, you feel like trying to use double quotes inside double-quoted strings Also, you can use your output to HTML -Confirmation is changing, resulting in XSS security holes, and you will also need URL-indicative content that you are keeping in the URL parameter.

  & lt ;; Php $ url = 'b.php? Id = '. Urlencode ($ line ['url']). & Amp; A1 = '. Urlencode ($ _ POST ['a1']); ? & Gt; & Lt; A href = "& lt ;? Php HP HP HP HTML Specialty Charts ($ url) ;? & gt;" & Gt; & Lt ;? Php HQ HTML Specialtors ($ line ['title']); ? & Gt; & Lt; / A & gt;  

then

  & lt; Li & gt; & Lt ;? Php HQ HTML Specialties ($ line ['name']); ? & Gt; (& Lt ;? php echo htmlspecialchars ($ _GET ['id']) ;;>, & lt ;? php HKLS specialtors ($ _GET ['a1']) ;? & gt; & lt; / Li & gt;  

(You can define a helpful function with the short name like h () echo htmlspecialchars () to avoid typing So much for.)


Comments