Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. WilliamMute007

    Quick Redirect syntax help please?

    Hi, Sorry, I know this may be easy enough for most guru's on here, can anyone please help me? I only want a simple re-direct from a link stored within a variable. Please see below attempt which didnt work header('Location: '$destination''); I appreciate your help please. Thank you
  2. WilliamMute007

    Foolish php update db error

    Can anybody please help my foolishness pls? For the life of me, I cant really spot why my DB is not updating. <?php //turn on error tracking ini_set('display_errors', true); error_reporting(E_ALL); //get connection variables require_once('connection.php'); //connect to database server...
  3. WilliamMute007

    Session help please?

    Hi All, Any chance I can get help with this code please? Am not sure what I am doing wrong but I cant seem to figure out why its not working as it should. I want this verification page to check if a stored session value is say for example 'Director' if so, then navigate them to whatever page...
  4. WilliamMute007

    Help with Advance Image upload &amp; Resizing

    Hi All, I have a script which basically uploades an image to folder (unique folder) each time. I wanted to extend this script so that when it uploads the image, it should ALSO create a small thumbnail of it so I'll have the original and a small version. I want to store the two images in the...
  5. WilliamMute007

    mysql_fetch_row Error, pls Help

    Hello again, Am back again with help need :) Can anybody please point me to what is wrong with the code below? mysql_select_db($database_Connection, $Connection); $sql = "Select count(*) as cnt FROM directors"; $result = mysql_query($sql); $row = mysql_fetch_row($result); $numrows =...
  6. WilliamMute007

    Image upload and Create Thumbnail

    Hi Guys, I have a bit of problem here. I have a page which basically uploads a set of info together with an image. Now I now tried to implement image resizing to the image being uploaded so i can have a thumbnail but here comes disaster! Help Please.. It works without the image resizing...
  7. WilliamMute007

    Query Results in Column

    Can anyone please help if you can? Really appreciate it. I have this prblem and its doing my head in. I have an SQL query which simply syuppose to return the result of a query in two columns using DIVs one on the left and one on the right. Please see code: while ($row =...
  8. WilliamMute007

    Calender date picker - PHP

    Hi, I am trying to implement a calender feature on a website which allows user to pick a date on the calender and the DB is queried. I am lost for direction, can any please help with some directions? I've searched google and I get a lot of junks but nothing meaningful really... Any help...
  9. WilliamMute007

    Limit Query by date

    Hi Geniuses (if there such a word) :) I am extremely clueless as to how to even start this much less get it working hence I will appreciate help please. I have a staff rota which alternates. I want to display the next two record closest to today's date. i.e Today is sunday 11th January 2009...
  10. WilliamMute007

    Sending Value of Calender input in HTML Form

    Hi Everyone, I have just read through a calender script http://www.tek-tips.com/viewthread.cfm?qid=1157824&page=1 This was a brilliant example and everything works fine except, How can I then get the value of the selected date within my HTML form and send it? I am using php & Mysql to capture...
  11. WilliamMute007

    ALTER TABLE

    Hi am back again with my troubles guys, not sure how to go about this, I want to check if a name exist in a DB table if not, then insert a name into the DB prior to further updating it. i.e [CODE] Select star from tablename; if { tablename.username = 'vee' DO something } else { Insert...
  12. WilliamMute007

    DB Insert Dilema

    Hi Guys, I dont know if am running insane or there's actually something wrong with my insert query that am just not seeing. Any help will be much appreciated.. thanks in advance "INSERT INTO `nrawardsc1`.`votes` (`id` , `restaurant_name` , `atmosphere` , `buka` , `business_lunch` , `chef` ...
  13. WilliamMute007

    Assign a Session value to a variable

    Hi guys, I've this little dilema. I have been trying for hours now to assign my session value to a variable but no luck. Can anyone please help if possible? <input type="hidden" name="item_name_$i" value=".$_SESSION['name']."/> Option two $restaurant = . $_SESSION['name']; Both...
  14. WilliamMute007

    Increment DB Column Value using HTML Form

    Hi, Me again.. :( can anyone please advice how I can increment the value in my DB table. Say for example, increase the number of users in a DB table by 2 so if number of user was 100 before, it will now be 102. (using a HTML form) CODE ("UPDATE tablename SET column = column ++ 2 WHERE column...
  15. WilliamMute007

    Increment DB Column Value using HTML Form

    Hi, Me again.. :( can anyone please advice how I can increment the value in my DB table. Say for example, Add 2 to the number of user so if number of user was 100 before, it will now be 102. (using a HTML form) ("UPDATE tablename SET column = column ++ 2 WHERE column ID = $var"); ??? And...
  16. WilliamMute007

    Uploading Image and update DB at Once

    Hi all, am really really baffled about this script which seems correct to me but for some reason doesnt do what its suppose to. Any help is MUCH appreciated The code is suppose to take info from a form username, name, surname AND a thumbnail image of the user and store the details in the DB...
  17. WilliamMute007

    Session Not Unique md5(uniqid(rand())

    Hi all, I wonder if anyone can render a bit of help please. I have a piece of Session code that I have been using for a while now. It seems to work fine on windows sever but on Apache I seem to be having problem. I have the following code if(!isset($HTTP_COOKIE_VARS['cart_id'])) {...
  18. WilliamMute007

    Live Video Streaming

    Hi, I have just being asked about a possible of streaming a live seminar over a given website. I have not done anything like this before and was wondering if anybody can point me in the right direction on how to go about this. What I would need to consider and if its possible. Thank you for...
  19. WilliamMute007

    XML feeding flash page dynamically

    Can some please try to assist me or point me in some sort of direction. I have about 5 different asp pages. Each one of the pages have a top banner (flash) with about 3-4 images in the flash movie just transiting from one image to another to match the current page the user is on. i.e say I am...
  20. WilliamMute007

    Dynamic loading of Images Flash/xml

    Can some please try to assist me or point me in some sort of direction. I have about 5 different asp pages. Each one of the pages have a top banner (flash) with about 3-4 images in the flash movie just transiting from one image to another to match the current page the user is on. i.e say I am...

Part and Inventory Search

Back
Top