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!

Recent content by DaSe

  1. DaSe

    Cookie doesn't set on the server

    Hi Phil, Sorted. The issue is about the time o the server and my location which is about a 4h difference. That's why a cookie set for 1h didn't work. So I need to re-set to a longer expiration date...hope it'll solve the problem. Thanks a lot.
  2. DaSe

    Cookie doesn't set on the server

    Hi Phil, ok - I get no errors on error_reporting(E_ALL). Secondly, the code works perfectly locally. When uploaded on the server it doesn't set the cookie for some reason. For now I replaced the cookies with setting $_SESSION instead - but that is only for as long as the browser on of course...
  3. DaSe

    Cookie doesn't set on the server

    Hello to all. Yesterday I came across an issue where I can't execute a cookie for some reason on the server. It works locally though without no problems. The domain's path is "/tmp" for session_path. Here's the code. Thanks for comments: if (!isset($_COOKIE['TestCookie'])) { $vote_com2 =...
  4. DaSe

    Text under row of images

    Ok...thanks, I try to correct it first then..
  5. DaSe

    Text under row of images

    Hey guys...a bit of feedback of course. Thanks for suggestions but sometimes I get impression whether you're a bit confused as well. First of all - in your 2 posts above - you mention that I placed css / style code without putting it into external folders ( or referring to them ) - can't you see...
  6. DaSe

    Text under row of images

    This is true actually - I see now...yes, there are 2 html pages included into the main index.php page within the html tags. I need to strip unecessary html tags from them. Still, this is another issue ( that I'm grateful for making me realise that ) than floating the text under the video clips...
  7. DaSe

    Text under row of images

    Here's html and css from index page. They are all neat: //HTML <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>...</title> <link rel="stylesheet"...
  8. DaSe

    Text under row of images

    Hey - no - it's the source code that shows the multiple body / html tags. All the page is neat and the extra javascript and php codes are placed in different folders. But the source shows / packs everything into one source code. I'll sort it out for you...
  9. DaSe

    Text under row of images

    I see, the source as you asked is : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>...</title> <link rel="stylesheet" type="text/css"...
  10. DaSe

    Text under row of images

    No - there is enough to resolve the issue - sorry..simply, because there is no other HTML code left..I on the other hand managed to workaround it only by using a table position. I cannot understand what else you're asking for..
  11. DaSe

    Text under row of images

    I have modified the code already - but as far as I remember it was like that: //PHP //Video $video_data = mysqli_query($connect,"SELECT * FROM videos ORDER BY videos_id DESC "); //Tube loop while ($tube_row = mysqli_fetch_assoc($video_data)) { $url[] .= $tube_row['videos_link']; $tube_txt[]...
  12. DaSe

    Text under row of images

    Oh I see - no, I haven't put a single div into each link. The links are inserted ino mysql in order by an admin. The PHP code queries the links and renders them into embedded objects in id order. Hence the piece of code: '$tube_display .= (...)'. So that is absolutely fine. The next thing was to...
  13. DaSe

    Text under row of images

    Thanks guys....what do you mean by saying the same id's ? None of my id's are the same..where do you see the same ids ? One is 'tube_layout' and the other 'tube_table' the other 'titles'. Still the problem was to layout them in a div. You see - tube_display lays out videos in a row and that's...
  14. DaSe

    Text under row of images

    Hey guys - here's more of what I meant: //PHP $tube_display .= '<div id="tube_layout"><object width="232" height="167"><param name="movie" value="http://www.youtube.com/v/{idt}&hl=en_US&fs=1&amp;rel=0&amp;color1=0x000000&amp;color2=0x550000&autohide=1&showinfo=0"></param><param...
  15. DaSe

    Text under row of images

    Thanks, the option that worked for me was to place the links into a single table row and float them left. Whereas the text is embedded into the object area. All the layout is done in PHP variable ( from queries ) that's why it takes a bit more work. The working solution seems to be a div in...

Part and Inventory Search

Back
Top