39,402 Topics

Member Avatar for
Member Avatar for desiguru

I have a table that is something like this: (table name: sites) ID----FileName-----FileAddress----About 1----website1-------google.com----Seach engine How can I make a code in such a way that it can be like: Display all of the FileName in an alphabetical order on file.php that links to their further information page. i.e FileName=[COLOR="red"]website1 …

Member Avatar for =IceBurn=
0
335
Member Avatar for Aamit

In my variable $time=2008-12-19 14:12:10 [COLOR="Green"] this value is in database [/COLOR] and duration to find next date is 21157 in seconds $event_length=21157 [COLOR="Red"]Suppose today's date is 2008-12-21[/COLOR] How to find [COLOR="Red"]next date by using $time value[/COLOR]?? [code] $timestamp = strtotime("$time"); $etime = strtotime("+$event_length seconds", $timestamp); $next_time = date('Y:m:d H:i:s', …

Member Avatar for PomonaGrange
0
99
Member Avatar for PomonaGrange

hey folks, I have a question. I have several mysql tables and I'd like to fetch data from a few of them to create a <select> <option> list. How could this be done. I can get the info from one table, but don't know how to get the data from …

Member Avatar for PomonaGrange
0
305
Member Avatar for blackbox2342

I'm wanting to start a page on my video game site where users can view games out this week. It'd be cool if they could look ahead to games coming out in the future and maybe even a way of archiving. I guess similar to imdb ( I can't find …

Member Avatar for blackbox2342
0
117
Member Avatar for ripper1510

I have made a script that gets only friday and puts them in a drop down but now i dont want to upload it into the datbase as a string i need it as timestamp so i can filter and order for current day and such. here is the form …

Member Avatar for ripper1510
0
125
Member Avatar for designingamy

Hello, I am wanting to take an uploaded picture from one page, put it into a session and carry it to another page. Once I get to that page and the client accepts it, then store it in the database. I'm starting to get confused on how this would work …

Member Avatar for sikka_varun
0
336
Member Avatar for mustafaneguib

hey guys as u all might know that i have been working on a cms system for quite some time. what i want to know is that as potential users what would you like to see in a content management system? what are the features that you want to see …

0
69
Member Avatar for michael123

I am planing to write a php script which can display time schedule bar, based on start/end date, and each project(see attached image, start/end date and project name are saved in database), the length of time bar should be flexible upon start/end date, I have no idea how to implement …

Member Avatar for Miss84
0
141
Member Avatar for elbuhleini

Hi, I have a site with free games, etc.. I want to do this: when a user clicks on a game to play, he is redirected to the landing page, where a script checks, if he has our toolbar installed; if yes, then he can play the game - if …

0
86
Member Avatar for pedramphp

Dear folk , I have some Data which I want to send it with PHP the thing I need is this : $to="email@test.com"; $CC="email@test.com"; $data = "these Information is going to be attached to an Email I tring to send them by PHP to those addrest ses and also make …

Member Avatar for nikesh.yadav
0
139
Member Avatar for Aamit

suppose in database check_date 2008-12-19 18:12:48 //change time [code=php]$sql=mysql_query("select * from table where check_date=now() ")or die("Error: ".mysql_error()); $row = mysql_num_rows($sql); if($row>0) echo $row; { echo"Hello"; //Execute some query }[/code] But there is no change in database...... how to do that?? or [COLOR="Green"]how to check time continuously? [/COLOR] for condition

Member Avatar for Aamit
0
76
Member Avatar for starsunited

i have a question. my function works in a way that once user clicks the link, the open save dialog box will pop out then the user have a option to choose whether to open or save the mp3 file. The problem is the save function can wrk meaning if …

Member Avatar for vibhutewary
0
235
Member Avatar for ripper1510

I am really stuck with any idea on how to do this. It is really confusing. Is there any way in PHP that i can select only one day of the week. My scenario is that people are only allowed to make reservations on a Friday. Is there any way …

Member Avatar for ripper1510
0
204
Member Avatar for OmniX

Is this possible? Under the head tag to change title, meta, etc whilst in the body (but i doubt this would be SEO oriented). Refer to [url]http://www.daniweb.com/forums/post759748.html#post759748[/url] Thanks, Regards X

Member Avatar for somedude3488
0
75
Member Avatar for yasmena

HI, i have integrated the cross-browser RTE editor into my Site But whenever i try to use any of its features like uploading or adding hyperlinks it opens a popup telling me that Page Not Found HTML/*.html not found !! i dont know where is that folder and it wasnt …

0
95
Member Avatar for DragonMistress

Ok, I'm having a hell of a time with this script(s)...probably just too tired to think straight but need to get it done ASAP...so perhaps someone can give me some assistance, or atleast point me in the right direction. 1. First page will be a multi-select checkbox with about 200 …

Member Avatar for sikka_varun
0
81
Member Avatar for rajesh.bl

Hi All, I am new to tikiwiki can anyone help me to know the architecture of tikiwiki. Where i can find the architecture... Advance thanx.....

0
52
Member Avatar for vijaysoft1

In my MYSQL databse there is field named [B]' show' [/B] type [B]' bit '[/B] . When i am inserting record to database for varchar fields i select the Textbox , but for checkbox which one i will choose ( there is two options submit as Y/N or 1,0 ). …

Member Avatar for peter_budo
0
57
Member Avatar for vijaysoft1

How to print GMT 5:30 time in a TextBox using PHP . Please .... i found many scripts that are not working . i want to print this format eg: 18-12-2008 1:06 AM . Please

Member Avatar for buddylee17
0
58
Member Avatar for djthekid

I need some help here please. I have a form that has a javascript slider bar to give one field's percentage. Unfortunately I can't get the value to pass to the hidden input. Here's the code: [code=php]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Slider test</title> <script type="text/javascript" …

0
71
Member Avatar for cloverlu

Do you want to know how many visitors surfed on your website? I guess your answer is yes. But how to do and which tool can create such a counter? Now, I will solve all the problems and show you the steps to create a counter. Here, I will make …

0
41
Member Avatar for php2sheik

hai, i integrate my php pages with java pages in website. i want to get data from that java pages..but not using url's...how to get data from java pages without using url's..

Member Avatar for buddylee17
0
67
Member Avatar for freeonlinedatin

This is my code can you expllain how the user may activate or inactivate with check box.... [code=php]<?php mysql_connect("localhost","root","rootwdp"); mysql_select_db("rams"); if(isset($_REQUEST['submit'])) { $arr=$_REQUEST['chk']; foreach($arr as $key => $value) { $sql=mysql_query("update ram set status=1 where emp_id=$value"); } $sql1="select * from ram where status=1"; $res1=mysql_query($sql1); ?> <form action="" method="post" name="form"> <table border="1"><th>Username</th><th>Empid</th><th>Designation</th><th>Check …

Member Avatar for sikka_varun
0
3K
Member Avatar for techbongo

I need a script that performs this task: I want a script in PHP/MySQL or AJAX, that reads the Ad Block of Google Adsense and finds out link, so that they can be used in another portion of the page. Read Details if not clear. [COLOR="Red"]I have a site, for …

Member Avatar for ithelp
0
173
Member Avatar for squarkman

Hi, This is a tough one! Is there a way to prevent someone from typing in a url to get to a page YET that page IS accessible from a LINK on some other webpage. Thx

Member Avatar for Fungus1487
0
154
Member Avatar for lotpb

I cant get the List/menu to remember the list choice when i reload the form [ICODE] <script type="text/javascript"> function reload(form) { var val=form.SelectDate.options[form.SelectDate.options.selectedIndex].value ; self.location='Snapshot.php?SelectDate=' + val ; <?php $SelectDate=$_GET['SelectDate']; switch($SelectDate) { case "1" : $Datefrom = date('Y-01-01'); $Dateto = date('Y-12-31'); $aa ="selected"; break; case "2" : $Datefrom = date('Y-01-01'); …

0
45
Member Avatar for vijaysoft1

I trying to make small personal website in PHP + MYSQL . In my database there is a table named ' tblUsers ' . I am using this table for users Login .I displayed the username of the user after the login . But how to track the userID of …

Member Avatar for flagbarton
0
155
Member Avatar for spokie

hey Guys I'm was wondering whether anyone can help me, i have finished with the development of my PHP enabled website and i was wondering whether you guys can advise me on testing strategies that i can undertake?? Please me!

Member Avatar for sikka_varun
0
73
Member Avatar for designingamy

Hello everyone! I am new to JavaScript and have been using PHP, but needed to use a dynamic form for information about County/State. Here is part of the code (keep in mind I did all 50 states this way-that's well over 3000 counties): [code] <script language="JavaScript" type="text/javascript"> <!-- //first combo …

Member Avatar for designingamy
0
186
Member Avatar for squarkman

Happy Holidays! I have a one field form. Upon submission with the submit button, I wish to drive this field value into my SQL database table called MEMBERS and field called NAMES, thus adding a new record. Can this be done with an OnSubmit() call to a function, in the …

Member Avatar for Aamit
0
378
Member Avatar for pocnib

I am trying to insert a date into a mysql table field using [CODE] <?php $date=date(Y-m-d); mysql_query("INSERT INTO table VALUES('$date')"); ?> [/CODE] but when I open up mysql and run SELECT * FROM table; it returns a date value of 0000-00-00 instead of the current date at time of insert. …

Member Avatar for danishbacker
0
141
Member Avatar for nil_gh_80

Hello All, Anyone here who can help me in word press MU..... If yes plzzzzz reply.. Thanx..

0
85
Member Avatar for rakeshkn123

Hello friends Iam KNR i require code fopr adding check boxes in the database can u please help me Thanks in advance Bye KNR

Member Avatar for rakeshkn123
0
73
Member Avatar for 83apple

Problem: I installed an sms script at earthbane.com/sms. the script sends the sms as it should but when it gets to my cellphone the from sections says [email]atmail@server1.earthbane.com[/email]. Is there anyway that I can change this so that it says something other than [email]atmail@server1.earthbane.com[/email]. I appreciate any help you can …

Member Avatar for 83apple
0
68
Member Avatar for veledrom

Hi, I have downloaded Drupal but i have some questions. 1. I have read the installation but didn't get it. I need help to install it. I run WIN XP with WAMP server. 2. Can i use it in my local compuer with WAMP for test purposes. I just need …

Member Avatar for sikka_varun
0
161
Member Avatar for xarz

Is there anyway to get metadata of an mp3 file using php? Even just the track length. Thanks.

Member Avatar for xarz
0
168
Member Avatar for mikeabe

Hi (In my php form, i'm getting a bunch of data to Mysql, all of which is working correctly except id and name. id and name are fed from Mysql to the form.) Here's the problem area: I'm getting an id AND name from a dropdown menu using EXPLODE. With …

Member Avatar for mikeabe
0
124
Member Avatar for finance-blogs

I've downloaded some of my site, to transfer it to a new site, however when I upload it to the new site, I've found that if I zip it all up, it complains that the headers have already been written when I view the site, however if I just straight …

Member Avatar for sDJh
0
65
Member Avatar for daveg8

I have a website where most pages will load on Macs but a few of the pages will not. All of the pages will load on PCs. Any ideas why? -Dave

Member Avatar for sDJh
0
102
Member Avatar for JayJ

I'm trying to grab a value from a mySQL database and put that value on the end of a url path e.g. http://url.com/$valuefromdb Is there any tutorials to how to do this or can anybody recommend how to tackle this? Kind Regards JayJ

Member Avatar for sikka_varun
0
112
Member Avatar for virspy

Hi friends iam new to PHP can any one help me in the code for add category please iam not getting exact things please Viru bye

Member Avatar for sikka_varun
0
70
Member Avatar for ina_rizoaica

Hi, hope you can help me. I am working with a database (mysql) already created, pictures were stored in a longblob field, but this is the only field related to pictures (so I have no info about their size). I manage to extract and display the pictures - using a …

Member Avatar for ina_rizoaica
0
102
Member Avatar for mcx76

Hi, I am insearch of script which can add/remove products without shopping cart. I want Add/Remove Product Add/Remove Product Picture More information link to next new page open with large picture and description. Something similar to [URL="http://www.winbodigital.com/Products.asp?BigClassName=CCD%20Cameras"]this website script[/URL]. (its asp. I am insearch for php) please suggest any script.I …

0
68
Member Avatar for Jhon100

I'm looking for a script written in php directory. Somebody knows any interesting? Thanks

Member Avatar for compdoc
0
96
Member Avatar for veledrom

Hi, I created a XML file and trying to write into it. It does write but, without the values from database. For example code below writes only <Title></Title> without the value. It should be <Title>My name</Title>. I do echo and the variable is full. Value [code] ........ $xmlFileName="test.xml"; $process=fopen($xmlFileName, 'w'); …

Member Avatar for veledrom
0
81
Member Avatar for php2sheik

hi i developed some webpages in php. before it i use http://<my path>, but now i want to use https://<my path>.. i use https://<mypath> . it displays the page cannot be found.. how to avoid it..

Member Avatar for cwarn23
0
147
Member Avatar for xty

how can i make : [code=php]header("Location: cppassemail.php?user=$this->pSession->whoAmI('username');&pass=$password&quota=5");[/code] work? somebody told me to make it like this: [code=php]$user = $this->pSession->whoAmI('username'); $pass = $password; $quot = 5; header("Location: cppassemail.php?user=".$user."&pass=".$pass."&quota=".$quot); exit;[/code] but it dosen't work. it results just a blank page, no errors, no redirecting.. nothing. thank you! ps: please tell me the …

Member Avatar for Anamika1
0
330
Member Avatar for EddieX

hi, i'm trying to create a form generator from mysql database, i'm already made database and table selector now im trying to generate form elements based on generated fields, so in short : select database > select table > list fields >> in list field, people can choose what form …

0
60
Member Avatar for sikka_varun

Hi.. Does any one have any idea how to refer our webpages without their extensions... Im not typically asking like http://abc.com/pagename Im basically asking about the blog sites, sites having archived newsletter... They have a url like http://abc.com/archives/2008/10/2/building-websites-with-html And the page opens with the same title as url but without …

Member Avatar for somedude3488
0
83
Member Avatar for veledrom

Hi, This (DOM) display the data stored in XML formatted with a XSL file. Ik works fine. [code] $xslDoc = new DOMDocument(); $xslDoc->load("bookstore.xsl"); $xmlDoc = new DOMDocument(); $xmlDoc->load("bookstore.xml"); $proc = new XSLTProcessor(); $proc->importStylesheet($xslDoc); echo $proc->transformToXML($xmlDoc); [/code] I want to do it with (simplexml) with also including XSL. Code below displays …

0
62

The End.