
watthehell
Members-
Posts
143 -
Joined
-
Last visited
Never
Everything posted by watthehell
-
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="78"> <table style="width: 100%;"> <tr> <td style="text-align: left; background-image: url('rep.jpg'):repeat-x;"> <img src="banner.jpg" height ="100%"> </td> </tr> </table> what is the size of your rep.jpg image ???
-
Thanks man, i will try it too.. but bad luck.. pips now use FF more than IE... anyway i will try so TOPIC SOLVED
-
where is the while loop to fetch all the data ??? ??? ??? ???
-
hello to u Mr. freak... can we exchange nick's just kidding ;D ;D
-
you should save the file in wamp/www directory and also while saving from notepad you should type the extension File name : 'myfile.php' // better u keep the single quote Save as Type :All Files and try...
-
*bump*
-
sorry i haven't uploaded it (don't have webspace, searching for a really good one) can this be achieved by lil' variation of this <a href="reservation.php?nextmonth=<?=$currmonth+1;?>" class="cal_font_month">>></a>
-
hi all back again ; it goes like this : I need to compare the two dates <?php $user_sel_date=$_REQUEST['myseldate']; // this is the date user selects from the calendar.... $mycurrentdate=$_SESSION['mycurrdate']; // this is the current date ?> What i did was compared the two dates like this if ($mycurrentdate<$user_sel_date) { echo "You cannot register"; } It is not working, any solution will be most welcome Extremely sorry there was a carelessness in my part it should have been if ($user_sel_date<$mycurrentdate) { echo "You cannot register"; } I am closing this topic...
-
hi all; i have a reservation page where i included a php calendar, now i want to navigate to next month by pressing next link <a href="reservation.php?nextmonth=<?=$currmonth+1;?>" class="cal_font_month">>></a> here when i keep calendar.php in href only the calendar opens, so i kept the link to reservation.php but how to get the month and date values, lil confused in that here's my code to show the calendar <?php echo @$_SESSION['mycurrdate']; ?></td> <td width="35" align="center" valign="middle" bgcolor="#EB208C" class="cal_font_month" style="background-image:url(images/navigationbg.jpg);"><a href="#" class="cal_font_month">>></a></td> </tr> <tr> <td height="226" colspan="2" valign="top" bgcolor="#EB208C"><? $id=1; $month=date("n"); $year=date("Y"); DisplayCalender($id,$month,$year); ob_end_flush(); ?>
-
Thanks a lot [redarrow] now it is working... And this one for you kireol... SEE THE DIFFERENCE OF BEING A GURU AND A NEWBIE ;) ha ha ha ha....
-
same error :( it says session is already started ....
-
OOPS... is that so.. I had seen a CSS using other font .mymember{ font-family: "28 Days Later"; font-size:18px; color:#0081E5; } it works in mine, i dont have the font "28 days later" in my pc... totally ... confused... ??? ??? ???
-
thanks for ur reply.. but when i keep session start <?php session_start(); require_once("config.php"); require_once("user_info.class.php");?> i get a error Notice: A session had already been started - ignoring session_start() in c:\wamp\www\pankopat\calendar.php on line 1
-
hi all... my code goes like this : I have a function <?php function DisplayCalender($id,$month,$year) { // other stuffs are here... it is long so i didnt post // I have this part in this function if($i==$date && $year_curr==$year && $month_curr==$month) { // save the curr date in session $_SESSION['mycurrdate']=$i.'-'.$month_curr.'-'.$year_curr; $_SESSION['myselecteddate']=$month_curr.'-'.$year_curr; $class_bg="cal_current_bg"; $date_class="cal_font_current"; $symbol1="car_curr"; $symbol2="curr_sym"; } // end of function }?> here in the function I have stored the current date in SESSION $_SESSION['mycurrdate']=$i.'-'.$month_curr.'-'.$year_curr; and in the html code <table width="247" border="0" cellpadding="0" cellspacing="0" bgcolor="#AA0F61"> <!--DWLayoutTable--> <tr> <td width="212" height="35" align="center" valign="middle" bgcolor="#EB208C" class="cal_font_month" style="background-image:url(images/navigationbg.jpg);"><?php echo @$_SESSION['mycurrdate']; ?></td> <td width="35" align="center" valign="middle" bgcolor="#EB208C" class="cal_font_month" style="background-image:url(images/navigationbg.jpg);"><a href="#" class="cal_font_month">>></a></td> </tr> <tr> <td height="226" colspan="2" valign="top" bgcolor="#EB208C"><? $id=1; $month=date("n"); $year=date("Y"); DisplayCalender($id,$month,$year); ?></td> </tr> </table> I echo-ed the session value, but when the page loads it comes blanks and when i refresh the page the date value comes... Any idea why this happens.. Thanks..
-
Making the menu on the left of the page smaller?
watthehell replied to Solarpitch's topic in CSS Help
Yes you can, you need to define a CSS yourcssname{ font-family:Arial; // here font family (name) font-size:11px; // here u specify your font size font-weight:bold; color:#C5035A; // here color } and use this in a <TD class="yourcssname">Your content</TD> where u keep your links cheers... -
hi all Can we use other fonts apart from the fonts that comes in windows for our webpage ... Can we use it online. IF yes, then where we have to keep the font in the server. ? Can we specify a font folder and keep the fonts there ? Thnks...
-
hiding passed variable in the Address bar
watthehell replied to watthehell's topic in PHP Coding Help
thnks i will try that -
hiding passed variable in the Address bar
watthehell replied to watthehell's topic in PHP Coding Help
thnks for your reply.... I havent passed this variables from form, i am passing this through normal link like this <?php <a href=\"reservation.php?myseldate=1".'-'.$month_curr.'-'.$year_curr."\" onMouseOver=\"ajax_showTooltip('view_reservation.php?myseldate=1".'-'.$month_curr.'-'.$year_curr."',this);return false\" onmouseout=\"ajax_hideTooltip();\" class=".$date_class.">1</a>?> i just want to know can i hide that variable name in the address bar or not.. thnks -
hi all.... when i pass values from the link like this <a href=\"reservation.php?myseldate=1".'-'.$month_curr.'-'.$year_curr."\">Click here</a> then in the address bar it shows http://localhost/pankopat/reservation.php?myseldate=1-9-2007 if the user alters the value of date and change 1-9-2007 to 2-9-2007 (or any other thing) then that value gets saved in the database.. Is it possible to hide this value in the address bar or make it uneditable.. thanks a lot..
-
hope this works <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> <title>Westnblue Networks</title> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <body bgcolor="#333333"> <table width="796" height="83" border="0" align="center" cellPadding="0" bgColor="#FFFFFF" style="FONT-SIZE: 10pt; BORDER-BOTTOM-COLOR: #FFFFFF; FONT-FAMILY: Verdana, Tahoma, Arial; BORDER-COLLAPSE: collapse; TEXT-ALIGN: left; BORDER-RIGHT-COLOR: #FFFFFF"> <tr> <td style="TEXT-ALIGN: center; " vAlign="top" width="50" height="21"> <img border="0" src="http://www.westnblue.com/images/LHTOPGREY.jpg" width="50" height="50"></td> <td style="TEXT-ALIGN: center; " height="21" colspan="4"> <img border="0" src="images/westnbluelogo.jpg" width="419" height="71" align="center"></td> <td style="TEXT-ALIGN: center; " vAlign="top" width="53" height="21"> <img border="0" src="http://www.westnblue.com/images/RHTOPGREY.jpg" width="50" height="50"></td> </tr> <tr> <td style="TEXT-ALIGN: center; " vAlign="top" height="18" colspan="6"> </td> </tr> <tr> <td style="TEXT-ALIGN: center; " vAlign="top" height="18" colspan="6"> A diverse range of resource and entertainment sites is what were all about<ul> <li> <p style="text-align: left">Investors</li> <li> <p style="text-align: left">Partnerships</li> <li> <p style="text-align: left">Trades</li> <li> <p style="text-align: left">Advertisement</li> <li> <p style="text-align: left">2257 Records</li> </ul> <p>Coming soon..<p> <a target="_self" href="javascript:window.external.AddFavorite('http://www.westnblue.com','Westnblue Network.');"> BOOKMARK</a></td> </tr> <tr> <td style="TEXT-ALIGN: center; " vAlign="top" height="18" colspan="2"> <img border="0" src="http://www.westnblue.com/images/LHBOTGREY.jpg" width="50" height="50"></td> <td style="TEXT-ALIGN: center; " vAlign="top" width="520" height="18"> </td> <td style="TEXT-ALIGN: center; " vAlign="top" width="155" height="18"> </td> <td style="TEXT-ALIGN: center; " vAlign="top" height="18" colspan="2"> <img border="0" src="http://www.westnblue.com/images/RHBOTGREY.jpg" width="50" height="50"></td> </tr> </table> </font> <p align="center"><font size="2" color="#FFFFFF">Westnblue Network Copywrite 2007</font></p> </body> </html>
-
it is damn true... it will take me 13 years.. :(.... Will PHP live that long ??? I'm worried....
-
try this hope it works Select u.firstname, u.lastname, AVG(c.scores) from users u, completed c WHERE u.UserID=" . $_SESSION['userid'] ." AND u.USERID = c.ActivityID GROUP BY u.firstname;
-
write this SQL SELECT first_name, last_name, AVG(ScoreAvg) FROM TABLE GROUP BY first_name;
-
Keep this below the Remove button <input type="hidden" name="deleteme" value="deleteme"> and from php check if it is set or not (it will be set when u press the remove button) , then write your Delete query inside the if.. statement ... cheers...
-
Hai...doubt regarding printing php errors
watthehell replied to leela's topic in PHPFreaks.com Website Feedback
Actually what u are asking for help or a code ????? ??? ??? ??? ??? ???