girl
Members-
Posts
26 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by girl
-
Hi all.Can you please suggest me a good way to make pagination in php or a good tutorial about it?Thanks
-
How do I embed video using php?I want to copy-paste youtube link and get embed link.Thanks
-
Should I use regular expressions here?
-
Yeah, thanks...But there is a problem... I try with iframe.When I enter this link: http://www.youtube.com/embed/XGSy3_Czz8k; it plays normally, but when I try other links, it doesn't. What is the problem??? The /embed/ part of link?
-
Hello everybody :)Can you please help me. I want to insert video in my page using its youtube URL. How can I do it?Thanks
-
Hi all.I have a question. I want to upload an image using php and insert it into mysql table. I think I can do it with move_uploaded_file, but I don know how to write the destination to mysql table.Thanks.
-
Hello.I have a question.I have created a converter. I have table in Mysql, where I bring exchange rates from. But I don wanna update that rates everyday by hand. Is there any way to get that data updated from internet?Thanks
-
Yah, I got my mistake that it is not image.... but can't understand to what give that opacity???
-
Yes, I got.So how I can give "opacity" to background???
-
Hello everyone.I need your help people.Here I have a code: in html<div class="word-box"> <table><tr><td colspan="2"><h1>title</h1></td></tr> <tr><td style="width:150px";><p>some text </p></td> <td><p>some text </p></td></tr></table></div> in css.word-box{margin-top:-255px; margin-left:0px;width:300px; height:350px; border-width:2px; border-style: solid; border-color: #5492D9; background-image:url('images/61.jpg');} .word-box img{opacity:0.4;} BUt image doesn't display transparent.What is wrong in my code?Thanks
-
OK, here t is:menu.php <form action="page.php" method="get"> <?php include ("connect-db.php"); session_start(); mysql_select_db("db-name", $con); $id=mysql_query("SELECT * FROM tour_programs") or die($id."<br/><br/>".mysql_error() ); $row= mysql_fetch_array($id); echo '<a href="page.php?id='. $row['id'] .'">'.$row['tour_name'].'</a>'; echo "</br>"; ?> </form> page.php <?phpinclude ("connect-db.php");mysql_select_db("db-name", $con); $var=mysql_query("SELECT * FROM tour_programs where id='".$_GET["id"]."' ");$row= mysql_fetch_array($var);if($var === FALSE) { die(mysql_error()); // TODO: better error handling}echo '<p>'.$row['tour_name'].'<br/>';echo '<p>'.$row['description'].'<br/>'; ?>
-
Hello people.Happy New Year.I started new year with learning php, but there is something I need, but still don know. I have a table in database with records, and I want to have links in a page: link 1link 2...link n when I click on link 1, it selects and outputs the record with id1, link 2-with id 2 and so on.Will you please advice me a way to do it.Thanks for advance.
-
Hello ppl.I want to make a clock in my site, but it must show time in a different timezone.How can I do that?THanks
-
Hello ppl. I have a question.I want to have usual menu... but when I click on menu item, body background-image is changed. It is like a:hover a:activethe background image is different.. Is it possible with css.Thanks
-
Hello people.I need help. I making web page when there is logo. It must be in center. But in different computer, means with different screen resolutions, it looks in different places. I did position=relative, i thought it will solve the problem, but no. What to do??
-
Hi ppl...I have a question I wanna echo letter a,b,c,d...z When I do for ($i = 'a'; $i < 'z'; $i++)it echoes a-y, without z.... when : for ($i = 'a'; $i<= 'z'; $i++) it echoes: a b c d e f g h i j k l m n o p q r s t u v w x y z aa ab ac.....yv yw yx yy yz So how to do?
-
Compare to what??? When I insert image without z-index. it looks normal, whne i add Z-index... becomes not so bright, shadowy. Code is very simple: in html file<img src="images/homapage.jpg" class="homeimage"> in css file .homeimage {width:920; height:420; position:absolute; top:10px; border-radius:30px; -moz-border-radius:30px;-webkit-border-radius:30px; z-index:-1;}
-
Hi people. I wanna make links, that are unclickable after first click(first time u click, after it becomes unclickable).I tried with css:a:visited { pointer-events: none; cursor: default; }But doesn't work.Any suggestions? Thanks
-
THanks for r eply...I better copy code I think <?php echo "letter: ".$_GET['var']. "</br>"; $word=array("h", "o", "u", "s", "e");echo $word[0].$word[1].$word[2].$word[3].$word[4]."</br>"; $code=array("t", "a", "b", "l", "e");echo $code[0].$code[1].$code[2].$code[3].$code[4]."</br>";$code_string=implode(" ",$code);$count=count($code);echo "Count= ".$count."</br>"; $i;for($i='a'; $i<'z'; $i++){echo "<a href=\"new.php?var=".$i."\">".$i." "."</a>";} //check if there is th letterif (in_array($_GET['var'], $word)){echo "</br> Matches </br>"; //find the position of the letter in $word$position=array_search($_GET['var'],$word);echo $position."</br>"; /*echo $code[$position] ."->".$_GET['var']."</br>";*/ //replace in $code $replace=str_replace($code[$position], $_GET['var'], $code);echo $replace[0].$replace[1].$replace[2].$replace[3].$replace[4]."</br>"; }else {echo "</br> Does not match </br> ";echo $code[0].$code[1].$code[2].$code[3].$code[4]."</br>";} ?> it's this... i don know how to continue next steps...