39,402 Topics

Member Avatar for
Member Avatar for JennyK

Hi, *I need to randomize a multidimensional array so that the order of questions in a questionnaire is different for each participant. I have limited php skills, and am modifying an old script someone else wrote. Currently, questions are presented in the same order that they are listed in the …

Member Avatar for cgi.net
0
3K
Member Avatar for vampshay
Member Avatar for vampshay
0
91
Member Avatar for dwlamb

Good day, I am getting an error on a log-in script: mysql_query(): 4 is not a valid MySQL-Link resource I've done some research on this and followed such advice as: [LIST] [*]ensuring the mysql connection is closed after the results have been returned [*]testing any sql strings I define in …

Member Avatar for Zexsz
0
181
Member Avatar for Zexsz

I have a webpage that builds an html table if there is any data in a mySQL table. That works fine, the html table is populated with data from the mySQL table. My problem is when there is data it populates the html table but lists the first mySQL table …

Member Avatar for Zexsz
0
255
Member Avatar for p627

If someone click on my link 5 times sent success message... can anyone make that script??? [B][U]THX in advance![/U][/B]

Member Avatar for diafol
-1
33
Member Avatar for jorjah

hi, i just want to know if there are codes : 1. that will create list box? please give me sample codes. 2. that will hide the helpful link when you click HOME for example; i just want to appear first the login before the others

Member Avatar for diafol
0
67
Member Avatar for meisjen

Hey guys complete noob/novice here, Looking to join multiple tables identical in structure. It's meant for a search box in my school project. [COLOR="Red"]If I have table 1 and table 2 identical in structure, when the user searches for "keyword" it will search through both table 1 and table 2 …

Member Avatar for diafol
0
183
Member Avatar for gganeriwal

Hi, I am trying to plot some images on the browser. I used CSS div id using the below command: #image { position: absolqute; top: 200px; left: 200px; } Now, this works perfectly fine, but when I try to use right, bottom tags for offset. The offset is still from …

Member Avatar for diafol
0
77
Member Avatar for gganeriwal

Hi, I am currently trying to plan the Explorer layout for adding some GIF images. I am able to query the height and width of the explorer using JS, below commands: [B]HEIGHT:[/B] [CODE]$height = '<script type="text/javascript"> if (window.innerHeight) //if browser supports window.innerWidth document.write(window.innerHeight) else if (document.all) //else if browser supports …

Member Avatar for gganeriwal
0
114
Member Avatar for kaizokupuffball

Hi! I am currently building a "social" website where people can send messages to eachother. When they are on their profile page they have this menu, one of the items are "Inbox". This is where the user can send personal messages to other users by typing the other users name, …

Member Avatar for kaizokupuffball
0
151
Member Avatar for vlowe

Hi, I cant get my around this.. I want to store some config details in config.php like so.. [CODE] $conf['audio'] = "play"; $conf['email'] = "send"; .. .. .. [/CODE] how can i use a form to edit the variables by writing to the file. The form will have the option …

Member Avatar for diafol
0
141
Member Avatar for Aksel

I've got a variable which contains a string which can contain html. I'm trying to find a way to check the string if it contains a <img>-tag, and if so..validate that it has a valid file.exstension. (jpg | png | gif). If an img tag is located and HAS a …

Member Avatar for diafol
0
4K
Member Avatar for vizz

I am not getting how to display stored database in MLM format? I have attached problem and desired answer images Database fields are : id new_id, name I want to display all members under member 1 all or one of that may be having member under itself.

Member Avatar for ravikc
0
163
Member Avatar for ibivobarn

OK, first off let me say that I know that javascript is a client side language and that php is a server side language. I've read that you can't assign javascript variables to php variables too. But I'm still absolutely stumped as to WHY my code below doesn't work. Perhaps …

Member Avatar for ibivobarn
0
388
Member Avatar for Buppy

Hi, I have a binary data (for example, from a jpg image). Is it possible to display the binary data as image without putting it in file? Thanks

Member Avatar for pritaeas
0
45
Member Avatar for vlowe

Im still trying to work this one out but what i would like to do is send an email if an alert is present. but not resend the email on every page refresh where the alert is still present. so i was thinking of using something like $_SESSION['sent_time'] to record …

Member Avatar for karthik_ppts
0
231
Member Avatar for vibhaJ

Hi Friends, I am working on php from builder, where user can add text-box, text-area, chekbox, radio-button etc field using jQuery. Now i am ready with html code of form. Next step is to save each attributes(i.e. name, optionstags, label, title, tooltip, class etc) in mysql database. How can i …

Member Avatar for vibhaJ
0
213
Member Avatar for sevann12

Why the drupal blocks are disappearing after submitting the form? Why the drupal blocks are disappearing after submitting the form?

0
43
Member Avatar for mary_forum

frieds i just want the calculation for dividing money equally for all distributors.the first level distributor will get half of the amount and remaining distributors will divide it equally. i want this calculation in php.. can anyone help me

Member Avatar for urtrivedi
0
231
Member Avatar for klemme

On my site when a link is clicked, the adress bar in the browser shows this URL: [CODE] http://www.enkelt-webdesign.dk/index.php?sid=1&titel=FORSIDE [/CODE] I would lke the URL to appear like this: [B][url]http://www.enkelt-webdesign.dk/Forside[/url][/B] I have this code in my .htacess file which is not working as it is: [CODE] <ifModule mod_rewrite.c> RewriteEngine on …

Member Avatar for tiggsy
0
282
Member Avatar for zulfistyle

hi me is new in web development field.. plz any body told me about the script with the help of which i send image in my email....!!

Member Avatar for vibhaJ
0
97
Member Avatar for vibhaJ

I have one index.php file that is on abc.com server. Here in index file i have frameset and src of that is : 'http://www.xyz.com/login.php' All my php files are on xyz.com. What i am having problem is when user open url : abc.com And they get login page. they are …

Member Avatar for vibhaJ
0
134
Member Avatar for vibhaJ

Hello All, I wand Firefox to remember my password when i login in phpmyadmin. But Firefox doesn't ask me to 'Remember password'. When i inspect phpmyadmin form using developer tool, i done see any trick. Secondly i also want in my website coding that when user log in Firefox don't …

Member Avatar for vibhaJ
0
1K
Member Avatar for vibhaJ

Hi Pals, I am using filezilla and i heard that it causes virus attacks on my website. I am also not saving password in site manager rather using quick connect. From some days m using core FTP. What do you guys think. What is secure way? Regards, Vibha

Member Avatar for vibhaJ
0
322
Member Avatar for decade

can somebody or someone teach me how to deal this warning: Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting …

Member Avatar for decade
0
142
Member Avatar for marloagapay

hello am a newbie sad to say but i got a big problem regarding to the auto increment. i use innoDB for storage but somethinggoes wrong! i dont know why. whenever i input new data (such as name add and tel, member ID should increment by one) there is no …

Member Avatar for decade
0
203
Member Avatar for Pann Ei

My table structure ! [U] tblmodel[/U] -[B]fldmodelid[/B] -fldmodelname [U]tblcardetail[/U] -fldcardetailid -[B]fldmodelid[/B] -flddefaultphoto When I delete fldmodelid,i want to delete automatic tblcardetail.flddefaultphoto.Now i can delete in database.but.. the folder(../upload) that have photos.. i cann't delete that photos.. how to write unlink function!at another page ?

Member Avatar for karthik_ppts
0
53
Member Avatar for aecha

Hi! I am new here. I am new in php too.. Can somebody help me in solve this error? I can go to the page that but cannot call the data from the database. This is my code: [CODE]<?php $con = mysql_connect("localhost","root","root"); if (!$con) { die('Could not connect: ' . …

Member Avatar for karthik_ppts
0
131
Member Avatar for asif49

So I found a small flaw in the comment system I've made. When someone presses enter while typing a comment and puts in a new line, it doesn't show when the comment is gotten from the mysql database. I don't have any "if (new line within comment, add newline to …

Member Avatar for asif49
0
88
Member Avatar for p627

Hello everyone.. if 1 user post with ip: 100.122.312.56 then need to wait 5 minutes to post again. can anyone make that script to wait 5 min. after have click sumbit button? thx in advance!

Member Avatar for MagicMedia
0
88
Member Avatar for cliffcc

I have a search engine in the php, i have pressed search button to do searching. I want to have addition function - just pressing the "Enter" can also do the searching instead of search button. What is the code?

Member Avatar for najanan.nehul
0
96
Member Avatar for Morta

HI members,i'm newer here ,i prepare research about secure data exchanging between client side(JavaScript) and server side(PHP) of the web by implementing RSA Encryption system . I found RSA implementation by JS , i search about server side (php) but i find not useful php scripts ... So ...I need …

Member Avatar for Morta
0
87
Member Avatar for hawx

I have created a recursive function to get parent products of a product. I'm almost sure I'm nearly there, but need help snapping out of recursion. The result I am looking for is something like: Product 1 (id:1, parent:none) --- Product 2 (id:2, parent:1) --- --- Product 3 (id:3, parent:2) …

Member Avatar for Morta
0
112
Member Avatar for jacksantho

hi, [CODE]print "<tr><td><b>click</b></td><td><a href=test.php?id=$id&code=$pcode&name=$pname&section=$psection target=\"_blank\">Click</a></td></tr>"; [/CODE] I am passing all the values to test.php through hyperlink. Problem is: I can able to get only id and code. $pid=$_REQUEST['id']; // values getting $pcode=$_REQUEST['code']; //values getting $pname=$_REQUEST['name']; // values not getting $psection=$_REQUEST['section]; // values not getting I don't know to find what …

Member Avatar for Morta
0
154
Member Avatar for Virangya

hi i want to hide my php code. i don't want any other to view my code and copy it. So is there a way to do this?

Member Avatar for chrishea
0
163
Member Avatar for jenberden

Hello! using php....How to delete records on the database and how to update.? Thanh you....

Member Avatar for diafol
0
72
Member Avatar for 54uydf

I'm pretty new with PHP and I learned how to pass parameters with GET in the beggining and stuck with this way, what I do now is this- <a href="page.php?parameter1=value&parameter2=value"></a> but I'm not comfortable with it. 1. because it makes me uneasy that everyone can see the url and understand …

Member Avatar for MagicMedia
0
149
Member Avatar for lobebe

I am working on a site, i have a component which allows movement but i want to change it to dropdown, how can i achieve that? See attached the files:the default file is the code of the page and jpg is example of the page. I will be very grateful, …

Member Avatar for MagicMedia
0
87
Member Avatar for Virangya

HI CONSTANTS in my customer site are affecting my admin site. i don't know why. also when i browse for admin site and if index.php file is not available home.php file loads. i find this very weird... can anyone please help me? following is some of the errors it generates. …

Member Avatar for diafol
0
396
Member Avatar for Shizuo

lest say I have a inputbox in html and I want to compute the answer to ..hmm lets say 1 + 2 - 1 * 6 + 8 / 2 want is the basic function for this? you can just teach me the basics, or advice something . I'm new …

Member Avatar for diafol
0
530
Member Avatar for shujat132

Hello seniors, How are you? Well I need you help I am new student of php. Now I am trying to make user login system so that user can login through their password and user name. But I’m receiving this error. “ Fatal error: Cannot redeclare loggedin() (previously declared in …

Member Avatar for shujat132
0
226
Member Avatar for manzoor.ilahi77

Please help me on this file upload. [CODE] <form id="form_2" action="files_upload.php" method="post" enctype="multipart/form-data"> <input type="hidden" name="MAX_FILE_SIZE" value="50000000"> File:<input type="file" name="file" class="input" maxlength="350"" /><br /> <input type="submit" name="submit" value="Upload File"> </form> [/CODE] [CODE]<?php if(isset($_POST['submit']) && $_FILES['file']['size'] > 0) { $fileName = $_FILES['file']['name']; $tmpName = $_FILES['file']['tmp_name']; $fileSize = $_FILES['file']['size']; $fileType = $_FILES['file']['type']; …

Member Avatar for sv3tli0
0
553
Member Avatar for joedy

I recently changed scripts on a price comparison site, and the structure is completely different. Under the old script there would be a page with a url like this [CODE]http://www.my-site.com/product/1/22/the-product.html[/CODE] But under the new script the url would be [CODE]http://www.my-site.com/index.php?search=the product[/CODE] A lot of pages are index in google, and …

Member Avatar for pritaeas
0
210
Member Avatar for httpgal

I'm having a little trouble writing an if statement to update a couple of database fields based on matching a student ID between 2 tables. This is a form where I pass the initial Student and Class IDs to the SQL statement (this works just fine, but when I try …

Member Avatar for pritaeas
0
165
Member Avatar for DILO3D

i have a following paragraph. [CODE] ++ a xxx xxxx ++ b yyy yyyy yyyyy ++ c zz zzz [/CODE] i need to delete this line. ++ b yyy yyyy yyyyy What is the regular expression i want to use?

Member Avatar for pritaeas
0
127
Member Avatar for uselessninja

how to graph data from sql using open flash chart or other chart engine? I did some research but it uses array that has a value already like this one ... [CODE]<? # ------- The graph values in the form of associative array $values=array( "Jan" => 110, "Feb" => 130, …

0
66
Member Avatar for rakwel10

Hi! I believe you can help me... I need a code that can check user information. e.g. user fillout the input field with his idnum. Once the user goes to the next field, information from mysql db will appear showing the name of the person. In that way, the idnum …

Member Avatar for rakwel10
0
200
Member Avatar for waqar3

[CODE]<?php mysql_connect("localhost","root",""); mysql_select_db("database_name") ?> <form name="search" action=""> Search: <input name="q" type="text" /><input name="search" type="submit" value="Search" /> </form> <?php if(isset($_GET['q'])){ // include database connection $sql = "SELECT * FROM article WHERE title LIKE '".$_GET['q']."' "; $exe = mysql_query($sql); while($row = mysql_fetch_array($exe)){ } ?> <table> <tr> <td> <a href="article_detail.php?id=<?php echo $row['id'];?>" class="header_menu"> …

Member Avatar for Ezzaral
0
174
Member Avatar for mhaselip

Hi All I would be greatfull if somebody could help me out with this one. ive been scratching my head all day in trying to find a solution. I have a order confirmation page which displays the entire order on a shopping cart. this page inserts a row into table …

Member Avatar for mhaselip
0
242
Member Avatar for tcollins412

i am trying to submit a form in jquery without refreshing it. for my jquery code i have this: [CODE] $(function() { $(".submitbuttonsend").click(function() { var dataString = 'reqtoid=<?php echo $uid; ?>&reqfromid=<?php echo $id; ?>'; $.ajax({ type: "POST", url: "proccess.php", data: dataString, success: function() { $('#freekk').html("<div id='message' style='color: #4f4f4f; font-size: 12px; …

Member Avatar for AleMonteiro
0
122

The End.