Jump to content

suzie

Members
  • Content Count

    82
  • Joined

  • Last visited

Everything posted by suzie

  1. suzie

    photo gallery

    Dear Friends,I need good steps to create a jquery photo gallery that reads photos from a specific folder.thank you
  2. suzie

    Photo Album

    Dear Friends,I need good steps to create a jquery photo gallery that reads photos from a specific folder. thank you
  3. yes the id I want to use is popup8, but please can you tell what is this method to open this popupwindow, from the function Submit_voting after success: function(data) { alert (data); please I need it
  4. Dear I have a form, with an <input> <input type="submit" value="submit" onclick='Submit_voting();' /> this form contains 2 radio button..on submit "Submit_voting();" is called to do the calculation upon the checked radio button...till now no problem, when javascript finishm and return data, I want that this javascript open a popup window. this popupwindow can be opened by: <a class="lightbox-opener" href='#popup8' id='link_content' >Sample Popup</a> <div class="lightbox-news lightbox-window" id="popup1" style="height:500px"> </div> but what I nee
  5. I have a playlist on youtube that contains 12 videos, and everyday the playlist chenge, because we delete one and we add a new one to it.Now on our website we need to make a page called video, to show on it the 12 current video from the playlist...each one near the other ( Nb: I have the playlist embedded in my website, but it shows only the 1st video)Please I need Help on How to retrieve all the videos on the playlist and show them in a web pageLanguage used PHPPlease please need help, thank you??
  6. I have a playlist on youtube that contains 12 videos, and everyday the playlist chenge, because we delete one and we add a new one to it. Now on our website we need to make a page called video, to show on it the 12 current video from the playlist... each one near the other ( Nb: I have the playlist embedded in my website, but it shows only the 1st video)Please I need Help on How to retrieve all the videos on the playlist and show them in a web page Language used PHP Please need help, thank you??
  7. Dear Friends, am building a new website, where readers can print the article the want.upon click on "print" a popup window appears. using window.print(); the main window(window behind the popup) and the popup window are printed. I want only the popup to be printed.here is the div of the popup window: <div class="window" id="popup3"> <header> <div class="row"> <input type="submit" class="submit" value="print" onclick='send_toprint();' /></div> <div class="section"><strong class="logo-print"><a href="#"><img src="" alt="image description
  8. suzie

    Share An Article

    Dear Friends,Please I need help I added the facebook share icon to our website ( a newspaper) so that users can share the article they want. I added title and the description in the meta tag.. but when trying to share an article, the title and description that appear on share window are not the present but for a previous article.... Please any idea on how to do a share icon for facebook without trouble Thank you
  9. suzie

    Language Problem

    Dear Friends,I created a database using MSSQL server.Arabic data in the tables appears normally and readable. types are Unicode (ntext, nchar,..)when retreiving the Arabic data using PHP files with(charset="utf-8") it appears as questions mark ?????????????????. <!DOCTYPE html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><?php$qry = "SELECT priority ,title_first FROM main where priority=1"; if($r=odbc_exec($sqlconnect, $qry)) while($row=odbc_fetch_row($r)) { $title = odbc_result($r,"title_first"); echo $title;
  10. suzie

    Double Quote

    am not using htmlspecialchars(),but in the table it appears as ", now if i want to retreive it to the site I want it to appear as " how it can be done...
  11. suzie

    Double Quote

    Dear friends, if a string contains double quote ", when retreiving it from the database using php it appears " please any help to appear "..
  12. suzie

    Encoding problem

    Thanks a lot for your reply, the html page(frontpage.php, charset-utf8) is done in html, that contains arabic data coming from another page called "newslist.php"I set the header in newslist.php " header("Content-type: text/html; charset=utf-8"); " still the arabic data appears as questions mark,when I set it to: "header("Content-type: text/html; charset=windows-1256");" it works well...Is it a mtter if the transaction between the pages is done in windows-1256, and the frontpage is in UTF-8??because we need that the site be in UTF-8...How can I check if the server is sending the encoding in t
  13. suzie

    mysql and mssql

    like that:$sqlconnect=odbc_connect($db,$username,$password,CharacterSet=UTF-8);
  14. suzie

    mysql and mssql

    do not know where to put it exactly "CharacterSet=UTF-8"please can u give me more detailsand what about PDO, it works..I'd never use it
  15. suzie

    mysql and mssql

    am using ODBC connection$sqlconnect=odbc_connect($db,$username,$password);
  16. suzie

    mysql and mssql

    Thank you for your reply, am usind the types, nchar, ntext, etc... but when retreiving data they appear as questions marks..am using php, and the charset of the page is utf8,any help please????
  17. suzie

    mysql and mssql

    Dear, in Mysql database with collation utf8, I inserted arabic data, after retreiving them using php with charset=utf-8I used mysql_query("set names utf8"); the problem is solvedis there an alternative for this query if we are reading from mssql..thank you
  18. suzie

    Encoding problem

    Dear Friends,I created a database using MSSQL server with collation name:SQL_latin1_Genaral_CP1_CI_AS, and the tables with data types starting with n (ex: ntext, nvarchar...) because the data in the table is in Arabic. the arabic is appearing normally and readable in the tables.but when retreiving the Arabic using PHP with html header:<meta http-equiv="Content-Type" content="text/html; charset=utf-8">the arabic data it appears as questions mark ?????????????????.Please any suggestions,I need Help....Thanks a lot and Regards
  19. suzie

    write to a file

    yes, I need to use utf8_encode, before saving...any help please
  20. suzie

    write to a file

    Dear,through my php file, I am opening an xml file and write Arabic data to it then close it, with utf-8 encoding,but when opening the .xml file, the arabic data will not be foundhere is the code: $text_header ="<?xml version=\"1.0\" encoding=\"utf-8\"?> <?xml-stylesheet type=\"text/css\" href=\"itemcontent.css\"?> <?xml-stylesheet type=\"text/xsl\" href=\"rss2full.xsl\"?>"; $text_header1 = "<rss version=\"2.0\"> <language>ar-lb</language> <channel> <title>arabic data</title> <link>http://www.xxx.com/rss/rssMai
  21. suzie

    PHP mailer

    Dear, we have a page in our website that contains a form to be filled by visitor and send to us via phpmailer....the function is working very well : "function send_email($to, $subject, $message, $from, $name) require("includes/class.phpmailer.php");"But now I want to send with the email an attachment ( the attachment is a .jpg image entered by the user)Is it possible? and how i can add that??any help please....Regards,
  22. suzie

    Scroll-bar

    Dear friends,am working on a page that contains an iframe with a scroll bar that appears on the right sideIs it possible for me to switch the scrollbar from the right side ofthe iFrame to the left side????Please any Help
  23. suzie

    Facebook Share

    Thanks a lot for your replythe way am using to look about the slash and separate the URL is :if (!empty($_SERVER['QUERY_STRING']) ) { $q = $_SERVER['QUERY_STRING']; $pairs = explode ('/', $q); $len = count($pairs); for ($i = 0; $i < $len; ++$i) { list($a, $ = explode('/', $pairs[$i]); $_GET[$a] = $b; }} $table = $pairs[1]; $type = $pairs[2]; $priority = $pairs[0];So please, is there a way to let it explode for the slash and the %2F at the same time??thanks a lot
  24. suzie

    Facebook Share

    Ok, but in this way with this URL:http://www.annahar.com/new-website/content...#036;type%2Fdaythe page will not be displayed.....But only in this way the page will be displayed:http://www.annahar.com/new-website/content.../$type/dayso what to do if I don't want this character to be encoded??thanks a lot
×
×
  • Create New...