Thursday, 15 May 2014

php - 2 Pdo Selects are they working? -


That's why I asked for a traffic exchange website from here a few months ago, the user who visited other user websites Earn coins and get coins On my surf page I catch a random user, there was more than 1 number of coins, then use one to use one of the websites there. I'm just wondering if both my PDO selections are related ?? Do I want to choose another username from the first time?

  $ stmt9 = $ db- & gt; Prepare ('Choose from where the coins and gt; = ORAND RAND (LIMIT 1'); $ Stmt9- & gt; Execute (array ('1')); $ Line = $ stmt9- & gt; Fetch (); $ Stmt212 = $ db- & gt; Prepare (websites with 'Select' where WW in (selection u.username user URL uk. & gt; =?) Order rrd (1) '1); $ Stmt212- & gt; Execute (Array ($ line ['username'])); $ Line 212 = $ stmt212- & gt; Fetch ();  

The variables are messy I know.


No comments:

Post a Comment