/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// name: evAddParamURL // version: v0.1 // description: agrega (o reemplaza si existe) un parametro en una URL function evAddParamURL( $url, $key, $value ) { return ( $url . '?' . $key . '=' . $value ); } else { return ( $url . '&' . $key . '=' . $value ); } }