Re: [OT] PHP Developer wanted for small job
Try change mysql_ to mysqli_ . It works for me. Antti ti 22. kesäk. 2021 klo 23.47 JeeJeeStudio via use-livecode ( use-livecode@lists.runrev.com) kirjoitti: > a very very very very very good one is https://phpdelusions.net > > Try to switch over to use PDO for database connections and query's, it > supports almost all types of databases, and prevent injections. > > You can also check this to have an idea: > https://forums.livecode.com/viewtopic.php?f=12&t=27521 > > > Op 22-6-2021 om 21:36 schreef Paul Dupuis via use-livecode: > > Um, NEVER MIND. > > > > I just did a quick Google search and found this > > https://www.w3schools.com/php/php_mysql_insert.asp > > > > Easy enough for me to tackle. Sorry. > > > > > > > > On 6/22/2021 3:32 PM, Paul Dupuis via use-livecode wrote: > >> I am looking for a PHP developer familiar with current releases of > >> PHP (7.4 specifically) > >> > >> I have two PHP scripts, one @ 150 lines (including comments) and one > >> @ 192 lines (including comments), written for PHP 5.6 and earlier. > >> > >> Both basically get some posted parameters. One inserts the posted > >> data into a mySQL database and returns OK or an error. The other uses > >> a different set of posted data to look up a record in a mySQL > >> database and return a value from the matching record or an error. > >> > >> My problem is my hosting provider is moving everything to PHP 7.4 and > >> the scripts use PHP 5.6 mySQL functions (like $dblink = > >> mysql_connect(...); or $result = mysql_query ($SQLstmt); which are > >> deprecated in newer versions of PHP, so I need to update them. My PHP > >> skills ended when PHP when object oriented. > >> > >> I could do this (by teaching myself the new SQL calls), but it would > >> probably take me longer than for someone more familiar with current > >> PHP syntax. > >> > >> If you have the current PHP knowledge and are interested, contact me > >> directly, off-list. > >> > >> > >> ___ > >> use-livecode mailing list > >> use-livecode@lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > ___ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] PHP Developer wanted for small job
a very very very very very good one is https://phpdelusions.net Try to switch over to use PDO for database connections and query's, it supports almost all types of databases, and prevent injections. You can also check this to have an idea: https://forums.livecode.com/viewtopic.php?f=12&t=27521 Op 22-6-2021 om 21:36 schreef Paul Dupuis via use-livecode: Um, NEVER MIND. I just did a quick Google search and found this https://www.w3schools.com/php/php_mysql_insert.asp Easy enough for me to tackle. Sorry. On 6/22/2021 3:32 PM, Paul Dupuis via use-livecode wrote: I am looking for a PHP developer familiar with current releases of PHP (7.4 specifically) I have two PHP scripts, one @ 150 lines (including comments) and one @ 192 lines (including comments), written for PHP 5.6 and earlier. Both basically get some posted parameters. One inserts the posted data into a mySQL database and returns OK or an error. The other uses a different set of posted data to look up a record in a mySQL database and return a value from the matching record or an error. My problem is my hosting provider is moving everything to PHP 7.4 and the scripts use PHP 5.6 mySQL functions (like $dblink = mysql_connect(...); or $result = mysql_query ($SQLstmt); which are deprecated in newer versions of PHP, so I need to update them. My PHP skills ended when PHP when object oriented. I could do this (by teaching myself the new SQL calls), but it would probably take me longer than for someone more familiar with current PHP syntax. If you have the current PHP knowledge and are interested, contact me directly, off-list. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] PHP Developer wanted for small job
Um, NEVER MIND. I just did a quick Google search and found this https://www.w3schools.com/php/php_mysql_insert.asp Easy enough for me to tackle. Sorry. On 6/22/2021 3:32 PM, Paul Dupuis via use-livecode wrote: I am looking for a PHP developer familiar with current releases of PHP (7.4 specifically) I have two PHP scripts, one @ 150 lines (including comments) and one @ 192 lines (including comments), written for PHP 5.6 and earlier. Both basically get some posted parameters. One inserts the posted data into a mySQL database and returns OK or an error. The other uses a different set of posted data to look up a record in a mySQL database and return a value from the matching record or an error. My problem is my hosting provider is moving everything to PHP 7.4 and the scripts use PHP 5.6 mySQL functions (like $dblink = mysql_connect(...); or $result = mysql_query ($SQLstmt); which are deprecated in newer versions of PHP, so I need to update them. My PHP skills ended when PHP when object oriented. I could do this (by teaching myself the new SQL calls), but it would probably take me longer than for someone more familiar with current PHP syntax. If you have the current PHP knowledge and are interested, contact me directly, off-list. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
[OT] PHP Developer wanted for small job
I am looking for a PHP developer familiar with current releases of PHP (7.4 specifically) I have two PHP scripts, one @ 150 lines (including comments) and one @ 192 lines (including comments), written for PHP 5.6 and earlier. Both basically get some posted parameters. One inserts the posted data into a mySQL database and returns OK or an error. The other uses a different set of posted data to look up a record in a mySQL database and return a value from the matching record or an error. My problem is my hosting provider is moving everything to PHP 7.4 and the scripts use PHP 5.6 mySQL functions (like $dblink = mysql_connect(...); or $result = mysql_query ($SQLstmt); which are deprecated in newer versions of PHP, so I need to update them. My PHP skills ended when PHP when object oriented. I could do this (by teaching myself the new SQL calls), but it would probably take me longer than for someone more familiar with current PHP syntax. If you have the current PHP knowledge and are interested, contact me directly, off-list. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode