Hello , How can i run a php script using vba macro ?

Member Avatar
Member Avatar
+0 forum 1

Hello , I'm trying to split a string using preg_split() ( since split ) is deprected... I'm trying to split it using '=' sign and to get the GETS variable from a url but I'm getting the error : "Warning: preg_split() [function.preg-split]: No ending delimiter '=' found in C:" The code is : <?php $request_url = $_SERVER['QUERY_STRING']; //parse the page request and get variables $parsed_url = explode('&',$request_url ); $page_is = array_shift($parsed_url ); $getVars = array(); foreach($parsed_url as $argument) { //split GET vars along '=' symbol to separate variables and values list($variable,$value) = preg_split("=",$argument); $getVars[$variable] = $value; } //this is a …

Member Avatar
Member Avatar
+0 forum 2

Hello, I have a website for musicians where all users can post their ads for free. I need a script that send an email for a member user when his ad is going to be expired (let say after 30 days). Any ideas ? Sammy.

Member Avatar
Member Avatar
+0 forum 4

Hello, I'm trying to get mysql_num_rows from 4 tables where user id is being selected as session . My question is very simple : Is this sql is correct : ""SELECT * FROM users_tbl,events_tbl,players_tbl,sales_tbl,teachers_tbl WHERE events_tbl.user_id & players_tbl.user_id & sales_tbl.user_id & teachers_tbl.user_id = '$whois_id'"; ? user_id - The user id $whois_id - check who is currently logged in (session) . Please help ...

Member Avatar
Member Avatar
+0 forum 1

Hello , I'm trying to set 3 different tables using url variable from a differnt page. When a certain var is selected , the page should display a certain table. each table is differed by name and im using an IF statement. My issue is that only the first echo'd table is being displayed.... As you see in my code , I'm trying to get the 'catagory' variable from the URL and using it to display the right table. The .... is the rest of the table so its not relevant to show it here.. Any suggestions ?[code]update_ads.php //the page …

Member Avatar
Member Avatar
+0 forum 5

Hello. I have a Javascript that generates 2 conditional select tags. If condition in 1st is being selected , the 2nd select shows different options. Here is an example : case "events" : document.formname.subcategory.options[0]=new Option("להקות והרכבים",""); document.formname.subcategory.options[1]=new Option("רביעיות כלי מיתר",""); document.formname.subcategory.options[2]=new Option("מעגלי מתופפים",""); document.formname.subcategory.options[3]=new Option("תקליטנים",""); document.formname.subcategory.options[4]=new Option("רקדנים ומופעי בידור",""); document.formname.subcategory.options[5]=new Option("קומיקאים",""); My quetsion is how do I pass each option in this select to a PHP $GET or POST variable ? Thanks.

Member Avatar
Member Avatar
+0 forum 1

Hello . I'm not sure what is wrong in my code. I'm trying to expand table row to see more details from mysql query . The idea is to click 'show / hide ' link and on that onclick event the row below need to be expanded.Here is my code : <?php while ($row = mysql_fetch_assoc($get)) { $customer = $row['customer_id']; //get data $the_user = $row['username']; $the_team = $row['team']; $name = $row['customer_name']; $phone =$row['customer_phone']; $email = $row['customer_email']; $product = $row['customer_product']; $comment = $row['customer_comment']; $date = $row['date']; $show_date = date("H:i d/M/Y",$date); $i = $i +3; if($i % 2 ) { $bg_color = …

Member Avatar
Member Avatar
+0 forum 6

The End.