Jump to content

codydaig

New Members
  • Posts

    9
  • Joined

  • Last visited

codydaig's Achievements

Newbie

Newbie (1/5)

2

Reputation

  1. C# and C++ are going to be your friend. (C# is a lot easier to program a visual program in versus lines of text showing up in a command prompt window which is great with C++)
  2. Depending on the Database you are using and how much javascript your willing to write could depend on how you might want to go about this. If it were me, and the site was small I would stick with MySql, and furthermore, you may just want to make the script so everytime a certain bid is accessed, the bid information is updated. So, if I were to place a bid at 15:00 and the bid would run out after 1 hour, then if someone accessed that bid before then it would show the time remaining, once someone accessed the bid after it expired at 16:00 then it would show the bid has completed and not allow any more bids, thus showing a winner. But What you do also depends on what happens after the time has expired and someone won. So....more details is always great.
  3. I am building an application with PHP and want to switch from MySql to Cassandra. My application is getting too large and its not even in beta yet. I am looking into different drivers for PHP and Cassandra and haven't been able to find a good one. Anyone on here have any good suggestions? Thanks!! (Please don't just respond with "Google Search is your Friend"!! I know its my friend and I've done it and continue to search but the results are less than promising.)
  4. What specifically isn't working? What's the error message? Could you include more details? Thanks!!
  5. I don't have much time to completely go through your code, and I don't see exactly where the user can "edit" a file. What I would do is just store a variable when the user logs in (store a variable or in a session cookie) whether they are a "user" or "administrator" then in your output page, when you have content that is admin only, just check to see if user is administrator.
  6. You have a mixture of trying to handle multiple rows returned, a single row returned, and only god knows what. So.... I would recommend: mysql_result($query, $x, "ID"); include 'php/opendb.php'; echo $skuid; echo $dbrow; mysql_select_db("brownells_api_data") or die(mysql_error()); $query = "SELECT * FROM Ammunition WHERE $dbrow = $skuid" or die(mysql_error()); $sql = mysql_query($query); // You Do Not Need this row // $row = mysql_fetch_array($sql); $prodimg = mysql_result($query, $x, "Thumbnail Image"); echo mysql_result($query, $x, "Thumbnail Image"); echo "<div class=toparea>"; echo "<div class=imgarea>"; echo "$prodimg"; echo "</div>"; echo "</div>"; echo mysql_result($query, $x, "Description"); echo 'hello';
  7. Are you set on using these exact pieces of software or are you possibly looking into exploring other options? I work a lot with multisite integration with PHP and would be willing to look into this more and figure out a solution if possible. Go ahead and shoot me an email at cody@daig.me and we can figure something out.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.