Jump to content

marker5a

Members
  • Posts

    30
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

marker5a's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. i personally got a kick out of it... its a good forum to post it.
  2. Yea, what happened is... he was swimming near a stingray and I guess the stingray was somewhat cornered by Steve and the cameraman and felt intimitated.  He reacted by thrusting his tail into his chest and heart, causing the cardiac arrest.  Enough said...
  3. No matter how ridiculous this guy seemed on TV... Steve Irwin was truly close to nature and appreciated the things that other people would be scared of and un-hesitant to kill.  Steve Irwin was a true man of nature and will be missed.  RIP and god bless Steve Irwin and his family...
  4. Sorry, since you are limiting to 1 row, go with what extrovertive said, but be sure to check out MySQL's page for help on that kinda stuff, they are very in depth with it.
  5. Ahhhhhhh, yes...  place this after your order by statement in the query... [code] LIMIT OFFSET offest_row [/code] http://dev.mysql.com/doc/refman/5.0/en/select.html
  6. Yea, I understand what you are saying now... instead of these links on the left changing the page  (corpo_mission.php, corpo_history.php, etc...) you want to only change the text. This cannot all be done with PHP.  You will need to change the hyperlinks to call a javscript function that changes the text in that box.  However, within this Javascript function you create, you will need to use PHP to pull the data from the DB. I cannot help you easily with the javascript aspect... I would post this in the Javascript help forum.
  7. I was faced with this dilemna a long time ago... put in an 'id' field in MySQL (assuming you meant you want to only pull a row from MySQL DB) Call the query [code] $query = mysql_query( "SELECT * FROM `table_name` WHERE id = 'some id'" ); [/code] Let us know if that helps
  8. Looks about as simple as it can get... cant you just change the timeout time in the ini file?
  9. It sounds like to me you are talking about implementing Javascript... but your question is not quite to clear.  COuld explain in clearer terms what you want... Thanks
  10. I believe that the path you are going to upload it to has to include also the file name. [code] // Where the file is going to be placed $target_path = "images/image_name.jpg"; [/code] Hope it helps
  11. The first step is to get the websites html code and read that into a string.  I would imagine Dell would have some kind of template the follow per product page, so you could weed through the unneccessary code and find the exact text in the page you want.  All of this is done using the preg_match() function.  Thats the basic synopsis... if you are unfamiliar with patterns in PHP, I would read up on it... I wouldnt mind helping you out with it.  Anyways, let me know if this helps you out at all.
  12. Well If you incorprate sessions into your login.php, it would work the same exact way as htaccess would work, except htaccess has that stupid popup window.  With login.php using sessions, you can customize your login page as well. Marker5a
  13. Whenever I do an admin script, I create a login.php script that authorizes a user.  I use login.php so I can distinguish between user's and their access levels as admins.  Some admins will have more control over the admin section than others.  This is helpful if you have several admins on your website, but you want to limit them to what they can do.  The way to implement this is to include the login script in every file in the admin folder and the admin/templates folder as well.  Also, you can just place htaccess files in the admin directories, giving a simpler way of restricting access.  PM me if you would like help developing a login.php script, I would be more than happy to help you out. Marker5a
  14. print_r($array) works great for me or... You could also do foreach($array as $value) { echo "$value, "; }
  15. OK I think I have an idea, but pay close attention its sort of complicated. Setup an auto_increment field, not to tell what number row it is, but just to serve as a unique value to the row. Then, when you pull a row from the database, to find out what row it is, you would find out how many rows there are up to that record. So, you would run another query as follows $number_record=mysql_num_rows(mysql_query("SELECT * FROM `table` WHERE id<=$row_id")); the id field is the auto_increment, andthe $row_id variable needs to be populated with the id from the row you are pulling. Hope this helps you Chris
×
×
  • 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.