php to python code converter

MRAB python at mrabarnett.plus.com
Thu May 14 08:00:13 EDT 2020


On 2020-05-13 17:53, Palash Bauri wrote:
> That gives a 404 🤷‍♂️, you sure , you pasted the right link ?
> 
> ~Palash Bauri
> 
> On Wed, 13 May 2020, 9:07 pm , <anjulakshmi894 at gmail.com> wrote:
> 
>> On Friday, 8 May 2009 16:08:25 UTC+5:30, bvidinli  wrote:
>> > if anybody needs:
>> > http://code.google.com/p/phppython/
>>
>> $username = "username";
>>         $password = "password";
>>         $hostname = "localhost";
>>
>>         $dbhandle = mysql_connect($hostname, $username, $password) or
>> die("Unable to connect to MySQL");
>>         $selected = mysql_select_db("dropdownvalues", $dbhandle) or
>> die("Could not select examples");
>>         $choice = mysql_real_escape_string($_GET['choice']);
>>
>>         $query = "SELECT * FROM dd_vals WHERE category='$choice'";
>>
>>         $result = mysql_query($query);
>>
>>         while ($row = mysql_fetch_array($result)) {
>>                 echo "<option>" . $row{'dd_val'} . "</option>";
>>         }

Look at the date of the original post. It says "8 May 2009". That's over 
11 years ago!

Since then, Google Code has ceased to exist.


More information about the Python-list mailing list