39,316 Topics

Member Avatar for
Member Avatar for jamojo

Array ( [TIMESTAMP] => 2012%2d05%2d01T17%3a19%3a07Z [CORRELATIONID] => 3aeb192ad6388 [ACK] => Failure [VERSION] => 51%2e0 [BUILD] => 2764190 [L_ERRORCODE0] => 10527 [L_SHORTMESSAGE0] => Invalid%20Data [L_LONGMESSAGE0] => This%20transaction%20cannot%20be%20processed%2e%20Please%20enter%20a%20valid%20credit%20card%20number%20and%20type%2e [L_SEVERITYCODE0] => Error [AMT] => 10%2e00 [CURRENCYCODE] => GBP ) Hello everyone, Can you please suggest on how to parse responses? It is the …

Member Avatar for diafol
0
208
Member Avatar for sammry

Basically, am creating a mailer system to send a mail to my inactive members to do activities in their account if they have not logged in since 30 days. My previous login date stores in my database in unixtimestamp hence i coded as below. select email from myusers where WHERE …

Member Avatar for vibhaJ
0
164
Member Avatar for whitecoder

Ok I am not getting any other errors in php or mysql but I keep getting returned Query was empty in my table. Any help is appreciated, if anybody needs more info on the code just let me know. This is basically a multi search tool for a huge database …

Member Avatar for smantscheff
0
2K
Member Avatar for sowh4t

So my cookies look like so Name: lang Content: et and Name: lang Content: en and Name: lang Content: fi every language select deletes old and replaces with new one I need to get my script working with every cookie content different text $array = array(); $array[] = 'blabla 1'; …

Member Avatar for Biiim
0
95
Member Avatar for mangel.murti

i want to generate this array from mysql data base result set?? $nav = Array ( Array ( 'id' => 27, 'name' => 'home', 'link' => 'home.html', 'parent' => 0 ), Array ( 'id' => 30, 'name' => 'about', 'link' => 'about.html', 'parent' => 27 ) );

Member Avatar for vibhaJ
0
118
Member Avatar for LastMitch

Hi I am trying to understand how to write a **If and Else** statement correctly regarding **sale tax or tax exemptions** on certain items for example fruits. For example: Here is a demo check out: * QTY--items - Price - Total * 6 ***apple*** - $0.89 (each) = $5.34 * …

Member Avatar for Biiim
3
970
Member Avatar for Kniggles

Hi All, Can anyone see why this line dos not produce real links if they have "http://" add to them when added to the data base ? //---------------------------------------------- $result = mysql_query("SELECT * FROM track ORDER BY rand()");while($row = mysql_fetch_array($result)) { echo '<td> <a class="mylink" target=_parent href="http://', $row['car'],'">',$row['tag'] . "<br>"; } …

Member Avatar for Kniggles
0
136
Member Avatar for dyingatmidnight

Hi all, so I'm using mod_rewrite with .htaccess to rewrite my urls. RewriteEngine on Options -Indexes RewriteBase / # Disable rewrite for specific directories RewriteCond %{REQUEST_URI} !^/admin/ # If the request is not for a valid directory RewriteCond %{REQUEST_FILENAME} !-d # If the request is not for a valid file …

Member Avatar for vibhaJ
0
92
Member Avatar for aaloo

i am inserting two pragraphs from an input text field and saving it in a *$post* variable i.e. **Almost all search engines give results in the form of links to web pages which they have indexed. These results depend on the keywords written on the search bar . For example …

Member Avatar for diafol
0
111
Member Avatar for gilgil2

Hi, this is part of a script used to verify paypal payments and update a mysql database if the payment is verified. I had it working in a separate mysql table but I have now changed the table and it doesn't seem to be working. When the verification from paypal …

Member Avatar for diafol
0
216
Member Avatar for sowh4t

So i'm trying to make a script that reads from forum last post first word and displays it on my site vBulletin forum http://www.forum.com/showthread.php?85788&goto=newpost it uses javascript, so I can't get any info :S My script so far <?php header("content-type: text/plain"); $myurl = 'http://www.forum.com/showthread.php?85788&goto=newpost'; $curl_handle = curl_init(); curl_setopt ($curl_handle, CURLOPT_URL, …

Member Avatar for mschroeder
0
122
Member Avatar for Tko_1

Ok im a little new to php so please bare with me. this is the code i have been using to Transfer Variables from and to. What i want to do is to keep the variables in page2 untill further notice even after submited. Concept of this for customer to …

Member Avatar for Biiim
0
200
Member Avatar for mangel.murti

![chil_table](/attachments/large/0/chil_table.JPG "chil_table") ![main_table2](/attachments/large/0/main_table2.JPG "main_table2") i have two tables which i attached. user can add N level question answers. i am using CI. i am using this code for generating ul li. and my array which fetch result set is like this.... but not working ... for working ul li function …

Member Avatar for Biiim
0
283
Member Avatar for hamedx

Hello guys my question is asked more than 1000 times on internet by peoples but i cannot follow any of them (everything is correct but not worked) , i have a simple login system and after that there is a simple field (Email) and a submit button, its connected to …

Member Avatar for Biiim
0
79
Member Avatar for anita_86

Hi! I have a php form and I am using it to update,delete and insert data.I use a drop down to display customer names and when the customer is selected, the form should be submitted with document.frm1.submit(); so that I can get company id of that customer. Problem is, when …

Member Avatar for Biiim
0
355
Member Avatar for decade

Can anyone teach me how to print "Hello World" 100 times without using the loop such as do, for, while, and foreach. Thanks...

Member Avatar for blocblue
0
1K
Member Avatar for realworldmedia

I am trying to echo information into a slider , but, it keeps repeating the entire slider instead of jus inserting the fields aloone. i know it is the closing tag but i dont know how else to do it..any ideas? i just want to post like address 1 address …

Member Avatar for vibhaJ
0
232
Member Avatar for ak47carbon

am inserting data into base it is not inserting data which i want to insert the following data into *p1_n_dis* field of table Usman Raza, who completed his MS majoring in Computer Science at LUMS with an National Management Foundation (NMF) Gold medal, has been awarded a prestigious Mark Weiser …

Member Avatar for vibhaJ
0
222
Member Avatar for DaveyMoyes

Hi everyone, I have a login form working great, until I found this strange error. If a user enters the username as user name (with a space) the login script fails. So I have tried using $username = str_replace(' ', '', strtolower($username)); I thought the above would remove any spaces …

Member Avatar for vibhaJ
0
279
Member Avatar for Tko_1

I just spent some time tryin to figure this out and found out how, so thought i would share. (hope this is the right section for this.) <?php ob_start(); include('index.php'); $content = ob_get_clean(); ?> then insert where ever you want it to show up. <?php echo $content;?> Hope this helps …

Member Avatar for Tko_1
0
142
Member Avatar for Xephis

Hi all, I'm trying to display the average of each row displayed in my table but am having a bit of trouble, any assitance would be appreciated. Basically the table displays the name, the score you gave them, and their average score. Here is my code below (example, names modified. …

Member Avatar for Xephis
0
166
Member Avatar for breakzzzz20

hello all,,i added a pagination in my table,,before that,all the button is working,but now after i add a pagination,the image button is not now working....is any problem in my codes,this is my comple codes: hope someone help me out again.. <?php if(!isset($_COOKIE['POGI'])) { header("location:index.php"); } ?> <?php include('config2.php'); ?> <?php …

Member Avatar for breakzzzz20
0
353
Member Avatar for freemancomputer

I just added a .show for a div to a page where users can rate movies, works just fine as it is. I would like to change it up a bit by showing an image for the number rating that they gave it, 1-5. I have something like it set …

Member Avatar for urtrivedi
0
203
Member Avatar for lewis92

Hi I populate a drop down menu like this: <select name="mySelect"> <?php $result= mysql_query('SELECT DISTINCT Year FROM MonthlySales'); ?> <?php while($row= mysql_fetch_assoc($result)) { ?> <option value="<?php echo htmlspecialchars($row['Year']);?>"> <?php echo htmlspecialchars($row['Year']); ?> </option> <?php } ?> </select> Then build a HTML table like this: <?php while( $row = mysql_fetch_row($results) ) …

Member Avatar for diafol
0
1K
Member Avatar for gilgil2

Hi, I am trying to create a page where depending on which one of three radio buttons is selected something different happens. The context is that users have already registered and so the 'gigname' is taken from url (which seems to work now). The original url looks like example.com/listtype.php?name=gigname (with …

Member Avatar for gilgil2
0
178
Member Avatar for don't give up

hello please how can import just one SCROLLING for all page same this ![how](/attachments/large/3/how.png "how") <html> <frameset NORESIZE SCROLLING=yes rows="33%,60%"> <frame SCROLLING=no NORESIZE src="bannar.php" name="up"> <frameset FRAMEBORDER=NO cols="10%,80%,10%"> <frame NORESIZE src="" > <frame SCROLLING=no NORESIZE src="home.php" name="down" > <frame NORESIZE src="accounts_page.php" name="account" > </frameset> </frameset> </html> please help me

Member Avatar for diafol
0
107
Member Avatar for don't give up

hello i want if enter account save in database :) this is my code , but it's not save anything in database :"( i don't know why ! i have database "accounts" have "2 row name & account" <html> <body> <?php $con=mysql_connect("localhost","root",""); if(!$con) { die('can not connect'.mysql_error()); } mysql_select_db("scms", $con …

Member Avatar for don't give up
0
177
Member Avatar for CarterLangley

Hi all, Here is all my code for processing a form. Having trouble with the last else statement. The error is saying it is not expecting that last else!! Sorry for all the code, but I thought I would put it all in here. Could somebody please let me know …

Member Avatar for CarterLangley
0
202
Member Avatar for patk570

I am trying to append the code to display the results of the database by including a link, I got the link to work, but it will not display the results when clicked. Below is the code, If you can help me that would be great! Thanks <?php //if we …

Member Avatar for patk570
0
157
Member Avatar for lastone1

Hello allheres what im trying to do scrape a page for data between two words ,reformat it as a link and then follow that link to get the final info i want ..all works fine till the second part comes into play--following the link here is my script which produces …

Member Avatar for diafol
0
59

The End.