
hno
Members-
Posts
255 -
Joined
-
Last visited
Everything posted by hno
-
the foreach is for the rows that fetched and run in the while and i need it .
-
NO it's not possible .I should be in the while to extract some values from each row
-
HI I have a while and there is a forrach in that loop and it's something like this: while($row=mysqli_fetch_assoc($r)){ //some codes foreach($row['cat'] as $key=>$val){ //some codes } } But the while loop run just one time and i'm sure it should run more than one time .I know my problem is with foreach because when i remove the foreach loop the while work well.How should solve this problem/ Thanks
-
HI I have two page .The address of one of them is this in local: "localhost/shop/login.php" and the other one is this: "localhost/shop/index.php" but if I set a session in the first page it doesn't recognize in the second page.How should solve this problem? Thanks
-
HI I have a index page that is full of images and it makes the site too long to load .How can reduce the quality and the size of the images when they are desplayed to make it faster to load the page? Quality isn't important. Thanks
-
HI I need a input control like something that is for sending new thread in the forums that get text from the user and you can change the color and ... with text and then store it and when you show it ,The text has that styles.I need a control like that .How can I find it? Thanks
-
HI I have designed a template and it has problem with IE and I know it's from percentage but what I want to do is that if the user's browser was IE then a sertain div run else another div execute. I find a code but it doesn't have else and if I use IE to enter the site it make two div but I want to make certain div for IE and other browser another div. How can I do so?
-
HI i want to make a web site which it can make a web site map. how can I do so ? thanks
-
HI Unfortunately my web server doesn't support auto backing up from databases. How can I write a page that run regular and get back up from my database ? by the way ,the web server support cron job thanks
-
I want to run a query that has two order by statment(order by star desc and order by random).I have a column in my table that is the number of stars that begin from 6 to 1 . I want to show all rows sorted by star and when for example the star=6 then show them random and after that show star=5 random.How can do so? thanks
-
HI I want to show some information in my first page and I want to show them random and not sorted.The data come from the result of a select query. How can do so? Thanks
-
HI I want to make a multiplay online game web site . I know php /mysql / java script / ajax and some othe things . is there any script for making the site and running the games ? where I can find more information about these sites ? for example what type of games Ican install ? thanks
-
HI I want when the user submit the form and the query execute successfully the information in the $_POST delete and unset because if the user refresh the page the query execute once again and make another similar row in the database so I want when the query execute the information delete.I user unset($_POST) but it doesn't make doofrence.How can i fix this problem? Thanks
-
HI I want to change the time zone of the server to another country.How can do that? Thanks
-
How can I find crontab file?
-
Yes , I want a system like sphider ,But I don't want use it because it has a bug. So ,anybody has a system like sphider? Thanks
-
HI In my cpanel of my host there is no cron tab for making cron jobs.I heard it's possible to make them with files But I don't know how to do that.Please help me ,I want to execute a page daily How can I do that? Thanks
-
no , i'm not using google adsense but i want to have google search results in my site tnx
-
What is the name of this api , I think you got wrong , I want when somebody search in google for every thing ,some serach results shown in my site and my site can be a search engine like google TNX
-
HI I have see many sites that when I have a search in google that sites shows the result of google in their page and when you open that site and click on the results it shows the result in it own page and it’s make the site has more visitors .How can make that ? I want do something that when people search in google the result of that search shows in my site? Thanks
-
HI I have a image upload size.I want when the users upload images it's automatically change the size of the file to a specific amount and save it on that image.How should I do that? Thanks
-
HI How can open a new windows when somebody visit my site . I use this code but it blocks as popup window window.open ("") TNX
-
Yes ,It's installed with xamp But how can install it on server?
-
Windows does have a terminal of sorts. Go to start->run type cmd and hit enter. Can you explain it more? I need a step by step tutorial. Thanks
-
HI I use xamp for running my php scripts.I want to use pear package but I don’t know how can use it with xamp because all I saw was with command line.How can use it with xamp? thanks