The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
View As User
#21
I just can't get my head gripped around the differences, like for example, I would use:
Code:
$query = "SELECT * FROM
orders
Code:
WHERE
user_id
Code:
='$uid'
Code:
$result = mysqli($connect,$query)
Code:
$connect
is grabbed from the
Code:
db.php
file

How do I translate something like that to PDO?

And like how do you do inserts and deletions. I just don't get it lol.
  Reply


Messages In This Thread
View As User - by Brandin - 11-10-2016, 09:03 PM
View As User - by mudmin - 11-11-2016, 09:44 PM
View As User - by Brandin - 11-11-2016, 10:16 PM
View As User - by Brandin - 11-12-2016, 12:24 AM
View As User - by mudmin - 11-14-2016, 04:27 PM
View As User - by Brandin - 11-14-2016, 05:52 PM
View As User - by mudmin - 11-14-2016, 06:30 PM
View As User - by Brandin - 11-14-2016, 08:03 PM
View As User - by mudmin - 11-14-2016, 08:06 PM
View As User - by Brandin - 11-22-2016, 11:18 PM
View As User - by mudmin - 11-23-2016, 12:19 AM
View As User - by Brandin - 11-24-2016, 02:52 AM
View As User - by mudmin - 11-24-2016, 03:46 PM
View As User - by Brandin - 11-24-2016, 04:23 PM
View As User - by Brandin - 11-24-2016, 04:50 PM
View As User - by mudmin - 11-24-2016, 04:50 PM
View As User - by mudmin - 11-24-2016, 05:28 PM
View As User - by Brandin - 11-24-2016, 07:55 PM
View As User - by mudmin - 11-24-2016, 08:28 PM
View As User - by mudmin - 11-24-2016, 08:28 PM
View As User - by Brandin - 11-24-2016, 08:52 PM
View As User - by dan - 11-24-2016, 09:03 PM
View As User - by Brandin - 11-24-2016, 09:44 PM
View As User - by mudmin - 11-24-2016, 10:49 PM
View As User - by Brandin - 11-25-2016, 03:09 PM
View As User - by mudmin - 11-25-2016, 03:31 PM
View As User - by Brandin - 11-25-2016, 04:00 PM
View As User - by Brandin - 01-12-2017, 10:52 PM
View As User - by Brandin - 01-12-2017, 10:53 PM
View As User - by Brandin - 03-19-2017, 11:46 PM
View As User - by mudmin - 03-20-2017, 11:24 AM
View As User - by Brandin - 03-20-2017, 11:28 AM
View As User - by mudmin - 03-23-2017, 10:05 AM
View As User - by Brandin - 03-23-2017, 11:24 AM
View As User - by mudmin - 03-23-2017, 11:30 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)