
houssam_ballout
-
Content Count
199 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Posts posted by houssam_ballout
-
-
use the command:SHOW TABLES
-
Use Select statment in mysqlI'm re-designing a site for someone and i'm putting in an admin area. I'm used to using PHPMyAdmin but the host doesn't use it. I want to see what is already on the database that exists, how could i do this. I have the user name and password. -
-
I made this,Is there something that I can know what is the server defaults or know more about it?The characters are really disturbing me, nothing is working as for CharactersBy adding<?phpheader('Content-type: text/html;charset=utf-8');?>
At the very top of the document (and save it as a PHP document of course). Using this method is probably the best, unless you have access to the server configuration itself, but you probably don't, so it will be this one.Note that the file should actually be saved with UTF-8 encoding. That is, in Notepad for example, from the Save As menu, to select from the "Encoding" drop down menu "UTF-8".
-
How can I do that?any help would be acceptableThanks in advanceThe webserver itself might be sending a different encoding in the header. I'm not sure which one takes priority, probably the server. Do you have a link that people can check? Can you run PHP on the server? If you can, you can send a header yourself which says the correct encoding. -
hello all,I've an html pages that I put them on the ftp server, while trying to access them, the encoding changesbut in the HTML I'd put:<meta http-equiv="Content-Language" content="en-us"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">but is taking Cyrllic encoding?How can I fix it?I dont want the user to manually put the right encoding?Thanks in advance
-
Hello all,I had the following question:I am building a website (backoffice), when the user clicks on an html link, I want to call a function that updates the sql in the database?Any Help
-
Hello all,I am trying to saving an image to the database through a normal HTTP form, I used the select image from menu, but the result was (DvXorEXr`
tN&nic&Gw''X$Ll |h|ҡ$Т` EYAlJh'NjwYj ++]`,Ax3J]*c(mw.< aD"`/&!Dǭ|`y@ÚK#kBr BJmհ~A%2{S-3CΦfnA9 s֔[~9qkjVCN=nDHN?#e*\ݩOֻJf`},2/H:n;lany help?Thanks
-
Hello all,How can I print all the variables with values in a php page?Thanks in advance
-
Well, I'd a table with ID, title, and contents fieldsI had page name called display.php, and 3 links inside it display1.php?id=1......................=2......................=3For example, if I clicked on first link, I must get the records where ID=1 inthe database, but how can I know via isset which link did the user presses?
-
Hello all,I've built a single page, that retrieves a data from database.For example, on the php page, I've added the link:<a href='test1.php?id=1'>anything </a><a href='test1.php?id=2'>anything </a>when I click on one of it, I want the next page to display the results from sql query, but I don't know how to use it id (like: id=1) from the isset, to use it??Any help
-
thanks, I know that, But I am asking that, I just want to know if there could be way way to do that, Is there something like Msgboard that can be done using javascript?Thanks
-
hello allI am newbie to javascript and I want to create a javascript guestbook, is there some free one ( I want to run it and edit it locally)?THanks in advance
-
I know that, but I mean when the page is scrolling down, when it reaches the end I want to make it go back again....To start at the beginning, the javaScript should be window.scroll(0,0), which will put the browser at x=0 and y=0 (top-left.) -
Hello All,Please can u help me, I've this script it works fine, but what I need is that when the page reaches the end, I want to make it begin from the first and so on Thanks in advance This is the code:<script language="javascript">function pageScroll() { window.scrollBy(0,50); // horizontal and vertical scroll increments scrolldelay = setTimeout('pageScroll()',1000); // scrolls every 100 milliseconds}</script>
-
Hello all, I am customizing a script that is used on rollover for images, but it wont work , can u help me with it? (there is no problem with images)The code is:
<HTML><HEAD><TITLE>Multiple Rollovers</TITLE><script LANGUAGE = "JavaScript"><!--if (document.images) {img1On = new Image();img1On.src = "1.jpg"; // Active Imagesimg2On = new Image();img20n.src = "2.jpg";img1Off = new Image();img1Off.src = "2.jpg"; // Inactive Imagesimg2Off = new Image();img20ff.src = "1.jpg";//img1ad = new Image(); //img1ad.src = "1.jpg"; // Information Images//img2ad = new Image();//img2ad.src = "2.jpg";}// Function to 'activate' images.function imgOn(imgName) {if (document.images) {document[imgName].src = eval(imgName + "on.src");//document["holder"].src = eval(imgName + "ad.src");}} // Function to 'deactivate' images. function imgOff(imgName) {if (document.images) {document[imgName].src = eval(imgName + "off.src");//document["holder"].src = "1.jpg";}}// --></SCRIPT> </HEAD> <BODY BGCOLOR = "#FFFFFF"><!-- 1st Rollover --> <a HREF="jukebox.html" onMouseOver = "imgOn('imgl')" onMouseOut = "imgOff('img1')"> <IMG NAME= "imgl" BORDER="0" HEIGHT="24" WIDTH="100" SRC="1.jpg"></A><!-- 2nd Rollover --> <a HREF="videos.html" onMouseOver = "imgOn('img2')" onMouseOut = "imgOff('img2')"><IMG NAME= "img2" BORDER="0" HEIGHT="24" WIDTH="100" SRC="2.jpg"></A></BODY> </HTML>
-
hello allhow could i export an outlook signature from MS OUtlook 2003?THanks
-
Hello all,Can someone helps me with the following idea:I've a page with input boxes on it,and beside each input box there is a link that will display a small help text, and that help text will be extracted from the xml file according to the id of the text box, so , I need more help on that , How could i extract data in HTML page from an xml page?Thanks
-
it didnt work????????did that work? an .ico is not a image/png -
well yeah they are in the same folder...try this<link rel="SHORTCUT ICON" href="myicon.ico">
The icon id int he same folder as this page right?
-
thats just for testing<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html lang="en-US"><head profile="http://www.w3.org/2005/11/profile"><link rel="shortcut icon" type="image/png" href="myicon.ico">[…]</head>[…]</html>post your code please -
Hello all,I've created a site with favicon in that site, but it is not working in IE7 and it works in FireFox, any suggestion?Thanks
-
Hello all, I am creating a web page and have links on it, near each link I want to include some tips so that when the user puts the mouseover them,it retrieves the data from an xml file and display it, I want some help in retreiving the data from the xml file?Thanks
-
HelloI need to get the page name of the page that I am in using JavaScript , or PHP,I was using $_SERVER['PHP_SELF'], but its returning the url of the link for example its under folder webmin so the result is /webmin/pageName.phpI need to get only pageName.phpany help?Thanks
CheckBox question with php
in PHP
Posted
Hello all,I am building an application (web),and I am designing a form,using HTML, I'd checkboxes , I am using isset to enter the data into the database, how can I know if the user has checked or not the checkbox (using checked property), how would I enter that into database?>I am using the type of that field as binary?is that correctThanks in advance