Javascript - Array Into A JavaScript Array

Javascript - Array Into A JavaScript Array

I need to transfer the values from a PHP array into a JavaScript array so that it can be used in my application, I have managed to get up to this: var Descriptions = array(<?php [code]....
Use An Array Value In Javascript?

Use An Array Value In Javascript?

it was always a question for me that how can i use an array value in javascript while that array is defined in my php scripts For example consider reading some values from a file and use it in javascript. what's ur plan to do so ?
Getting Error When Try To Access Script ?

Getting Error When Try To Access Script ?

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/johndoe/public_html/members_list.php on line 38Warning: include(http://xyz.net/display_members_info.php) [function.include]: failed to open stream
Get Swf On Facebook?

Get Swf On Facebook?

I created a facebook app and the login loads but once it does that I get a blank screen. Its seems like my swf is not loading at all. This is my index.php file: [Code]...
ASP Equivilant Of PHP&#39;s Phpinfo() Function..

ASP Equivilant Of PHP&#39;s Phpinfo() Function..

Im sure someone here knows about PHP's phpinfo() function. Is there any way I can see server/platform information in an ASP script?
Parse Error: Expecting `NUM_STRING&#039;

Parse Error: Expecting `NUM_STRING&#039;

I have one problem with fwrite() I have one script to get width and height from javascript and echo it with PHP. echo "Screen width is: ". $_GET['width'] ."<br /> [code...] it would be even better if I don't have to print the values b
Db Connect And Calling A Function

Db Connect And Calling A Function

I have database connect script at the beginning of my PHP page which sets the dbconnection. when I run a query in the script it works fine I have decided that rather than use the default error catch like this: $result=mysql_query($query,$db_connect)
Php Array To Javascript

Php Array To Javascript

The code below has the array $data I would like to pass to js. The code may not be perfect but it is echoing the values. <?php $filename = "linksfile.txt"; $page[0] = "index.html"; $page[1] = "about.htm"; $page[2] = "
Resize An Image From A String

Resize An Image From A String

What I need to be able to do is scan a string for tags. Inside the tags will be a link to an image. What I want to be able to do is take that link and proportionally resize that image link to fit nicely within the borders so it doesn't stretch the bo
&quot;[faultcode] =&gt; Ns2:Server&quot; Errors Comes From The String ?

&quot;[faultcode] =&gt; Ns2:Server&quot; Errors Comes From The String ?

see this error when calling soap wsdl : [faultcode] => ns2:Server i tested my code on another wsdl link and it work fine , so i think the errors comes from the string I'm sending : here is what the wsdl expects : Function :: Array ( [0] => doRequest
Script To Search Database

Script To Search Database

Can anyone point me to a good script to search a database? I've googled it... those found either don't work very well, or won't work if someone inputs more than one word in the search box.
Array Without Using More Than 1 Query

Array Without Using More Than 1 Query

I have an array and i'd like to make a query that gets all the records if the id is in this array WITHOUT using more than 1 query. basically this SELECT * FROM table_name WHERE episode_id IS IN_ARRAY('$array') i know the above code is wrong but its t
Use An Array In An Sql Query ?

Use An Array In An Sql Query ?

I am trying to execute a mysql query for selecting * rows from the table where user name = [one of the usernames stored in an array]. Now I have an array naming $users[]. I want to select all the users listed in $users[] from a mysql table.
Put An Array Into A Query?

Put An Array Into A Query?

Is it possible to put an array into a query to achieve something like this: SELECT * FROM mytable WHERE id IN (11, 2, 5)  Perhaps using prepared statements: $query = "SELECT * FROM mytable WHERE id IN ?"; $stmt = $mysqli->prepare($query); $st
Using Array In Sql Query?

Using Array In Sql Query?

I have the following that grabs all the categories under a parent category: <?php $childrows = array(); $result2 = mysql_query("SELECT * FROM categories WHERE category_parent_id='$cid'"); while ($row = mysql_fetch_array($result2)){ $childrows
Array Into New Query

Array Into New Query

In $array the relevant ids (userid) are stored successfully. now i try to use the values from $array in a new query (in another db): foreach ($array as $value) { $query="SELECT * FROM table WHERE subject=". $value['userid']"; $result=mysql_
Help With A Array Query

Help With A Array Query

Basically what I have is a price field where prices of properties have been entered. At the moment in the min and max fields it has all the prices that have been entered and I am trying to tidy this up by having a query that will pull out properties
Change Next Autoindex

Change Next Autoindex

I have a primary key in a table that is set to autoincrement. I deleted the data in preparation to import new up to date data. The primary key field shows in PHPAdmin that the next value will be 1232: Quote: Next Autoindex 1,232 How can you change th
Using Get With A Link Not A Form

Using Get With A Link Not A Form

I am trying to send variables using get with a link not a form and i have no idea if that's possible basicaly i want to send the path to a picture from my gallery so i have $path and i want to send it to display.php so i can display the right picture
Feeding Posts From Sufolder Not Allowed?

Feeding Posts From Sufolder Not Allowed?

This php script is driving me insane. This is a simple script which pulls wordpress titles from news directory. It works if I put this code on homepage file.But if I launch this script in a file that is in a sub folder then I get an error even though
« Prev 1 2 3 4 5 6 ... 10 Next »