546 Posted Topics

Member Avatar for jaycastr
Member Avatar for chriselectrix
Member Avatar for migcosta
0
113
Member Avatar for calebcook

[CODE]$query = "SELECT * FROM my_table WHERE email_id = $email_id";[/CODE] This should work if you built the specific email id in the same table.

Member Avatar for ko ko
0
215
Member Avatar for sha1023012

You can escape HTML from the PHP delimiter and echo the value in their specific '<td>'. Example below: [code] <? php /* Shuawna Norris June 13, 2011 Part two Working with money */ $balance=55.75; $newShirtCost=15.75; $earns=20.00; $bar=.55; ?> <body> <h1>Balance</h1> <TABLE border=’1’>”; <tr><td colspan="3">Starting balancebalance</td></tr> <tr> <td>Purchase: Clothing Store:<?php echo …

Member Avatar for karthik_ppts
0
143
Member Avatar for iamthwee

That's not enough info. Post the code you're using or link to the site where you're using. You can do rounded corner simply in CSS, most of the modern browsers and IE9 support this feature except IE-8 and older. Example shows [URL="http://www.css3.info/preview/rounded-border/"]here[/URL].

Member Avatar for iamthwee
0
145
Member Avatar for newbie14
Member Avatar for lyrico

If you want to process in the same page, use form. Otherwise you can use link. But you can't retrieve the data with '$_POST[]' by pass with the link, whether the form can be retrieve both '$_POST' and '$_GET'. Here is example below: With the anchor link: [code] <a href="page.php?param1=blabla&param2=blabla">Go …

Member Avatar for lyrico
0
131
Member Avatar for Joe34

Please mark this thread as Solved if your problem was solved. It will make use clear that there is no need to answer in this thread.

Member Avatar for ko ko
0
4K
Member Avatar for lsvife
Member Avatar for IWDesigns

Perhaps, you should ask in Facebook developer forum. [URL="http://forum.developers.facebook.net/"]http://forum.developers.facebook.net/[/URL]

Member Avatar for ko ko
0
67
Member Avatar for raghujosh

Fill the background-color for demo. [code] <div style="margin: 50px 100px; background-color: red;"> [/code] Check that the layer is staying where it should be.

Member Avatar for Airshow
0
1K
Member Avatar for ivanichi

<script type="text/javascript"> var myform=new formtowizard({ formid: 'fslide', persistsection: true, revealfx: ['slide', 500] }) </script> `formid: 'fslide',` Can you change this instead ? `formid: 'formID',`

Member Avatar for ko ko
0
121
Member Avatar for silvercats

Your post is unclear. What do you want to do ? Change the active image for the current page ? Be more precise will be appreciate for us.

Member Avatar for silvercats
-1
71
Member Avatar for lyrico
Member Avatar for GuruMS

It means that 'UsersController::header()' is missing in the file '/home/tsiplanm/public_html/secure/cake/libs/controller/controller.php'. I never used CakePHP before and I don't know anything about that framework. Perhaps, the file is corrupted and some codes missed when you're downloading. Try to download the new one and install again or find the documentation on the …

Member Avatar for ko ko
0
88
Member Avatar for klemme

What does the code returns ? Is any errors or what ? Echo the value pass via form first and ensure that the data are correct. Need more clear detail.

Member Avatar for ko ko
0
184
Member Avatar for dyingatmidnight

[QUOTE]$title = $_GET['q']; $_SESSION['title'] = $title;[/QUOTE] Where does the '$title' pass from ? Via form or url ? This statement may encounter the problem if there is no request for '$_GET['q']'. Set the default value if there is no request for '$title'. [code] $title = (isset($_GET['q'])) ? $_GET['q'] : 'default_value'; …

Member Avatar for dyingatmidnight
0
111
Member Avatar for raghujosh

Attach event handler. [code] <input type = "text" name = "somename" value = "" onkeydown="document.getElementById('myID').value=this.value" /> [/code]

Member Avatar for twiss
0
104
Member Avatar for MavrickIT

Post your code where the 'session_start()' was used. 'session_start()' normally should write at the top of the PHP file before processing any PHP codes.

Member Avatar for diafol
0
160
Member Avatar for riahc3

[icode]$_POST['textfield'][/icode] for post method and [icode]$_GET['textfield'][/icode] for get method. Isn't what you want ?

Member Avatar for ko ko
0
91
Member Avatar for didi00

Put the correct host of MySql database. Not just one, ( host, username, password ) all must be correct input.

Member Avatar for didi00
0
607
Member Avatar for Spyzker
Member Avatar for geoamins2

@ardav is right. You need to ask your hosting provider to increase the upload size. You may need to recharge for that.

Member Avatar for ko ko
0
214
Member Avatar for xxgrplayer

Greek unicode collation was already supported in MySql. Change the unicode collation for your table that is using Greek language. Go to your phpMyadmin, and select your database, go to Operations tab and select the appropriate unicode in Collation options. Hope this help.

Member Avatar for xxgrplayer
0
2K
Member Avatar for razgrizz25

You have not already defined the variable '$no'. Define this variable outside of the loop before starting the loop. Like below. [code] $no=0; while($dataTampil=mysql_fetch_array($qryTampil)) { $no++; ?> <tr bgcolor="#FFFFFF"> <td> <?php echo $no; ?> </td> <td> <?php echo $dataTampil['pertanyaan']; ?> </td> <td> <?php echo $dataTampil['hasil1']; ?> </td> <td> <?php echo …

Member Avatar for ko ko
0
179
Member Avatar for Emeryl

What IDE did you use for coding PHP? This may relate with the format how you save this file. Open your PHP file with text editor, notepad is the best in this case. Click 'file' and choose 'Save as'. Then select 'UTF-8' in the Encoding option, and then click OK. …

Member Avatar for almostbob
0
1K
Member Avatar for seblake

[QUOTE]<div id="setTestiRow" >[/QUOTE] 'id' is unique id for CSS selector and you must identified only one element in one document. [QUOTE]<div id="setTestiRow" align="center" >[/QUOTE] Remove 'align="center"'.

Member Avatar for seblake
0
173
Member Avatar for imtired

Maybe, it is only one reason, your file does not allow to read and this file has no permission to the users. It may encounter when the file was developed in the local and upload to the server. Check your php file permission and set it to '755'.

Member Avatar for ifiok.idiang
0
5K
Member Avatar for NuGG

Note that "ereg_replace" is deprecated. Use "preg_replace" instead of "ereg_replace".

Member Avatar for ko ko
0
1K
Member Avatar for vanpersie

[QUOTE]<input type="text" value="n1text">[/QUOTE] Replace above with below one: [code] <input type="text" name="n1text"> [/code]

Member Avatar for ko ko
0
373
Member Avatar for nats01282

Go step by step. You should start with those comments in another php file and check all are properly work. Then, hook via ajax in another.

Member Avatar for ko ko
0
191
Member Avatar for Number1awa

[QUOTE]onclick="getId(id)"[/QUOTE] Missing argument. Put the value of id that was identified to accept the ajax result. Like this one: [code] onclick="getId('your_div_id')" [/code]

Member Avatar for diafol
0
121
Member Avatar for Violet_82
Member Avatar for Airshow
0
173
Member Avatar for mangel.murti

[CODE]if(preg_match_all('/<img\s[^>]+>/', $content, $images)){ var_dump($images); }[/CODE] It may help you or maybe I'm wrong.

Member Avatar for ko ko
0
64
Member Avatar for rayidi

Maybe, your need is this one. [CODE]<script language="javascript"> function toggle(ele){ var msgbox = document.getElementByID(ele.id); if(msgbox.style.display == "block") { msgbox.style.display = "none"; ele.innerHTML = "Reply"; } else { msgbox.style.display = "block"; ele.innerHTML = "Hide"; } } </script>[/CODE] Hope this help.

Member Avatar for ko ko
0
2K
Member Avatar for abusive

[QUOTE]foreach($lines as $line){ $parts = preg_split("/:([^\/|^\\])/", $line); $output .= "<tr>{$parts[0]}<td></td><td>{$parts[1]}</td></tr>"; }[/QUOTE] Use below instead of above: [code] foreach($lines as $line){ $parts = preg_split('!\s*+[:]{1}\s!', $line); $output .= "<tr>{$parts[0]}:<td></td><td>{$parts[1]}</td></tr>"; } [/code] It should work. Hope this help.

Member Avatar for diafol
0
292
Member Avatar for Buppy

Maybe, 'setAttribute' and 'getAttribute' method you are meaning. These methods won't work on older IE version. Maybe, I'm wrong.

Member Avatar for stbuchok
0
105
Member Avatar for BlueCharge
Member Avatar for eduardc

Attach the screen-shot of your PhpMyadmin or show the structure of your table. For example: [code] -------------------------------------------------- | id | serial_no | price | description | quantity | -------------------------------------------------- | 1 | 1234567890 | 10$ | Loram ipsum | 3 | [/code] P.S: Please wrap your code in code tags. …

Member Avatar for karthik_ppts
0
584
Member Avatar for tycoonz
Member Avatar for weblexie

What can be done with your post ? The PHP statement cannot work inside the JS function. Javascript only work on browser (client), PHP work on server (web-server). You should make a function that collect the data and send this data to the php file that you want to process.

Member Avatar for ko ko
0
109
Member Avatar for abhi10kumar

You can use function and attach this function with 'click' event to that button you want to do this process. Post your codes is more appreciate to us.

Member Avatar for ko ko
0
98
Member Avatar for Dannis86

Every programming languages have their own taste and own pretty structures. With my opinion, there is only two options. 1,) Programming for the windows application, 2.) Programming for the web application. The number 1 is related with software engineering. You can choose many languages such C, C++, C#, Java, and …

Member Avatar for Stefano Mtangoo
0
289
Member Avatar for azegurb
Member Avatar for azegurb
0
358
Member Avatar for dhru1
Member Avatar for mangel.murti

Maybe, file permission. Set the permission for that file '755'. Hope this help.

Member Avatar for almostbob
0
83
Member Avatar for OldDeveloper01

[QUOTE]mysql_query("SELECT * FROM products WHERE `category` = "$POST['category']" ORDER BY dateadded DESC");[/QUOTE] I am not sure that you have category id or name in the product table. The category table and product must be related with each other like foreign key in one table and another in primary.

Member Avatar for ko ko
0
135
Member Avatar for MavrickIT

[QUOTE]$mark = mysql_query("select * from product order by product_id DESC"); [/QUOTE] Make ensure that the field names are correct (`product`, `product_id`). Recommend to do as hielo's way.

Member Avatar for ko ko
0
195
Member Avatar for think360studio

You can use ':hover' CSS pseudo class for making the affect when the user mouse-over on that selector(s). You can use both [code]img:hover {statement}[/code] or [code]a:hover img {statement}[/code]. For the second case, the HTML image tag must be child of the HTML anchor tag, and it will be apply the …

Member Avatar for twiss
0
146
Member Avatar for GGomez

Try that: [code] HTML: <div class="column">Column 1</div> <div class="column">Column 2</div> <div class="column">Column 3</div> CSS: .column { float: left; /* set the direction right/left you want to */ width: 100px; /* Give the width for each column. Float needs static width, if not, it will cause many problems with the layout …

Member Avatar for ko ko
-1
58

The End.