suzzane2020
Members-
Posts
233 -
Joined
-
Last visited
Never
Everything posted by suzzane2020
-
hi, Thanx n yes i got an idea . Struggled a bit but got it to work.
-
hey thnx sanzeeb. It sure was a serious query
-
Hi, Iam working on drag and drop html control script. Here i have a list of html elements which can be dragged and dropped onto a dropable area. so far so good. But i need to position these elements when i drop them ie. I need to place them wherever i want in the dropable area. hw can i do tht using the div tag. Any help wud be appreciated Thank You
-
How do i change the local timezone in phpini settings. The prob mentioned above has nt been solved yet. the time function gives me a time 5 hrs back. the time on my system is correct I have tried the same function at my workplace and it gives me the rite time. But when i use it at home on xampp it gives te wrong time plz help
-
my computer time is set with the server and it denotes the correct time. but the time function gets me another one
-
Hi, I have a script to generate the local time. My local time here is ISD 6:50pm. This is the script $timestamp = time() ; $hr=time(); echo $hr; $current_time=strftime("%I:%M %p",$timestamp) ; but i get a time as 1:10pm aand so .not the rite time. is there anythn wrong? plz help
-
Pretty nice. A simple but elegant layout.
-
call this javascript on the click event of the submit button function MM_callJS() { document.form1.chkIds.value=document.form1.links.value for (i=0; i<document.form1.links.length; i++){ if (document.form1.links[i].checked==true) { document.form1.chkIds.value=document.form1.chkIds.value+","+document.form1.links[i].value } } return true; } In this example te checkbox has a name 'links' and a hidden field named chkIds. on form submit the values of the selected boxes are passed to the hidden field. This value neds to be exploded with ','
-
Hi, where do i get a good tutorial or script on dragging and dropping html controls using ajax? thanx
-
You cud call the function on the form submit event in the first page.So the alert wud pop up before goin to the delete command page
-
Insert this header function just after the script to post the topic. header("location:samepage") The header will redirect the user to the same page.and i guess the post data wud be wiped off
-
Call this java script on the link for delete.Pass the relevant id's as the parameters eg: if the user clicks cancel the the link wud be the same page $p=same page if the user clicks yes, the page wud be delete.php $d=delete.php function Alert(d,p) {varp=p; var d=d; var where_to= confirm("Do you really want to delete this job posting??"); if (where_to== true) { window.location=d; } else { window.location=p; } }
-
Wow..So there are functions for these . Cud u give me a link for such functions?
-
yup exactly if($profile_info["level"] > 0) careful about the usage of quotes
-
foreach($battle as $key=>$value) { echo $key . " =>" .$value; }
-
action="<? php echo SERVER['PHP_SELF']; ?>
suzzane2020 replied to franknu's topic in PHP Coding Help
Which is line 24? -
I tried that but it gives no rows this time
-
???
-
HI, Iam stuck on a problem here and hope someone wud help I have a table with each row having 3 columns . And these rows are populated from a database. how do i get the values of each row using javascript? this is the javascript i have been using: function get_order() { var x = document.getElementById("rowid"); var items = x.getElementsByTagName("td"); var itemsString = ""; for (var i = 0; i < items.length; i++) { if (itemsString.length > 0) itemsString += ":"; itemsString += items[i].innerHTML; } } The prob here is that i only get the first row from the database . Plz help Thnk You
-
its str_replace("string to be replaced" , "string to replace" , original string) str_replace("y",<img>,$str
-
[SOLVED] Hiding Direct Download Links -- Browser freezes!!!!!!!!!
suzzane2020 replied to validkeys's topic in PHP Coding Help
have 2 options try gettin the content by concatenation $data=$data . fread($fp) or change the size parameter to $fp, filesize($fp)) -
[SOLVED] Hiding Direct Download Links -- Browser freezes!!!!!!!!!
suzzane2020 replied to validkeys's topic in PHP Coding Help
this cud happen if ur file function syntax is not correct, i'd say try commenting parts of the script and executing ..helps u pinpoint the error causing section -
so use the str_replace for both the strings separately and give diff images for each
-
diff answers as in the 2 strings? $a1[LakeWaterfront] $a1[NearPark] ?
-
hmm..i dont think there is a limit function for the number of letters in a string..in php..havent come across one its generaly used for the number records in a database